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

building error with costum compset

Hi,
I am trying to create my own compset (1pctCO2 ramp with prescribed SST) with CCSM4.
I created the new compset by coping variables from F_2000 and B_1850_RAMPCO2_CN:






When I build the land component, I got this error:

Fatal compilation error: Out of memory asking for 36864.
compilation aborted for /nethome/jhe/ccsm4_0/models/lnd/clm/src/biogeochem/CNEcosystemDynMod.F90 (code 1)
gmake: *** [CNEcosystemDynMod.o] Error 1

I am suspecting something wrong with CLM_CONFIG_OPTS="-bgc cn". Can someone help me with this?
Thank you.
Jie
 
I just tried with compset B_1850_RAMPCO2_CN and got the same building error:

Fatal compilation error: Out of memory asking for 36864.
compilation aborted for /nethome/jhe/ccsm4_0/models/lnd/clm/src/biogeochem/CNEcosystemDynMod.F90 (code 1)
gmake: *** [CNEcosystemDynMod.o] Error 1



BabykaiHJ said:
Hi,
I am trying to create my own compset (1pctCO2 ramp with prescribed SST) with CCSM4.
I created the new compset by coping variables from F_2000 and B_1850_RAMPCO2_CN:






When I build the land component, I got this error:

Fatal compilation error: Out of memory asking for 36864.
compilation aborted for /nethome/jhe/ccsm4_0/models/lnd/clm/src/biogeochem/CNEcosystemDynMod.F90 (code 1)
gmake: *** [CNEcosystemDynMod.o] Error 1

I am suspecting something wrong with CLM_CONFIG_OPTS="-bgc cn". Can someone help me with this?
Thank you.
Jie
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
Hi Jie

You problem is with building the model not with the new compset setup. I actually recommend that you copy your changes to a new directory, and then discard them in your current directory. Then just try to get the standard model to build for a standard I compset. Try both with and without CN enabled. I'd also recommend starting on a supported machine if you have access to one. If you can get it to work there then you'll have more experience to start on your own machine.

The CESM UG has some guidance on porting to a new machine...

http://www.cesm.ucar.edu/models/cesm1.0/cesm/cesm_doc/c2248.html#port_new

The error given "Out of memory asking for 36864." appears to be from the compiler, although you don't say what compiler you're using. You also need to talk to your system folks for the machine you are working on to find out what the problem might be. The machine may also have other compilers that you can try.

Again, porting to a new machine isn't necessarily easy -- if you can use a supported machine to start with that would likely give you a leg up on getting it going.


Good luck!
 
Top