Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

error: cannot open source file "config.inc"

BZhu

New Member
Hi,

I am trying to test the sample case,
./create_newcase --case testI --res f19_g17_gl4 --compset I2000Clm50BgcCrop

The case is built failed as shown below,
ERROR: BUILD FAIL: cism.buildlib failed, cat /BIGDATA2/tyut_bwzhu_1/clm50_case/scratch/testI/bld/glc.bldlog.231121-193249

For the glc.bldlog file, the error is:

/BIGDATA2/tyut_bwzhu_1/clm5.0/components/cism/source_cism/libglimmer/writestats.c(31): catastrophic error: cannot open source file "config.inc"
#include "config.inc"
^
compilation aborted for /BIGDATA2/tyut_bwzhu_1/clm5.0/components/cism/source_cism/libglimmer/writestats.c (code 4)


What's the config.inc file and how to solve it?

Best.
 

slevis

Moderator
Hi @BZhu
I looked for mentions of config.inc in the forums. One reference with a suggestion is this one. I hope it solves the problem:
 
Top