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

a nearly trivial bug

crowe1@unl_edu

New Member
I found a small bug that might not affect too many users, but it caught me for a little while. The build template for the datm model differs slightly from, for example, the dlnd template in how it copies dims.h. In the datm.buildexe.csh,
the command used is cp $dims dims.h while in dlnd.buildexe.csh the command is cmp -s $dims dims.h || cp $dims dims.h.

This difference became a problem because it forced gmake to want to rebuild advance.F90 from SourceMods. In our cluster, the production nodes do not have access to the fortran compiler (I don't know why, but that's the way it is currently set up), so when the batch job was submitted and gmake thought it should rebuild advance.F90, it failed do to no compiler.

Changing datm.buildexe.csh to include the cmp took care of this.

- Clint
 

njn01

Member
Thank you for reporting this bug and your correction. I have passed this information along to the people responsible for ccsm3 script development, and the bug should be corrected in future releases.
 
Top