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

Build a new case after modifying module code in CAM6-CESM2.2

nuvolet

Toni Viudez
Member
Greetings,

I am modifying a module in the CAM6.0 (nudging.F90) and in during the process to build a case I get this message and the case is not completely built.
cat: Srcfiles: No such file or directory
f951: Warning: Nonexistent include directory ‘/$MY_COMPUTER/CESM2.2/cime/output/NAOD_2/bld/gnu/mpich2-1.4/nodebug/nothreads/mct/finclude’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/SourceMods/src.cam’ [-Wmissing-include-dirs]
Somebody knows why this directory is not created?

Thanks in advance
 

fischer

CSEG and Liaisons
Staff member
Hi Toni,

For starters, a warning shouldn't cause the case to fail to build. There might be more error messages later in the log file.
The SourceMods/src.cam is created when you run create_newcase. Did you check to make sure that SourceMod/src.cam
is in you case directory?
But my feeling is your directory path $MY_COMPUTER isn't being set properly. You might want look at your system port to make
sure everything is okay. Have you been able to build any other cases?

Please read the following so that I might be able to assist you better.


Thanks
Chris
 

nuvolet

Toni Viudez
Member
Hi Toni,

For starters, a warning shouldn't cause the case to fail to build. There might be more error messages later in the log file.
The SourceMods/src.cam is created when you run create_newcase. Did you check to make sure that SourceMod/src.cam
is in you case directory?
But my feeling is your directory path $MY_COMPUTER isn't being set properly. You might want look at your system port to make
sure everything is okay. Have you been able to build any other cases?

Please read the following so that I might be able to assist you better.


Thanks
Chris
Hi Chris,

Indeed I got more error afterwards, which I am looking at and step by step solving.
Those errors mainly are about how I have been declaring new variables in the module a need to be cleared by correct use of Fortran.
I am guessing that once those errors are solved, most probably the case would be build successfully, right?
Thanks for your help
Toni
 
Top