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

How to solve this configure failure

Hi,
I am trying to set up CESM on my macbook.

Here is what I did

cd $CCSMROOT/scripts
./create_newcase -case test1
-res f45_g37
-compset B_2000
-mach ${MACH_NAME}


Then the directory "test1" was created successfully. Then
cd test1
./configure -case

I got the following errors

Generating resolved namelist, prestage, and build scripts
WARNING: Darwin does not have an option for compiling SPMD.
ERROR: generate_resolved.csh error for atm template
configure error: configure generated error in attempting to created resolved scripts

So I look at the "configure" script, and found that


if (-d $CASEBUILD) then
echo "Namelist configuration for env_case.xml and env_conf.xml has already been done...skipping"
else
./Tools/generate_resolved.csh || set quit = true ******** error was report here!!!!!
if ($?quit) then
echo "configure error: configure generated error in attempting to created resolved scripts"
rm -rf $CASEBUILD
exit -1
endif

cp env_conf.xml LockedFiles/env_conf.xml.locked
echo "Locking file env_conf.xml"
endif

So on c shell, I tried ./Tools/generate_resolved.csh
I got
CASEBUILD: Undefined variable.


So I guess that I need to define CASEBUILD somewhere. But I have no idea where shoud I do this. Please help!

Thanks
 
Top