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

Porting CESM3 to a new machine

gjheong

Guangoh Jheong
New Member
Dear all colleagues,

I am trying to port CESM3 to a machine in my institution. Since CESM3 is still under development, it is difficult to have a well-documented information, especially on installation. It seems that CESM3 is quite different from the previous versions, which is the first challenging aspect for me.

What I have done so far is as follows:
I downloaded CESM3_alpha03 from the NCAR's github repository. Then all the components (or submodules) were updated by using ${CESMROOT}/bin/git-fleximod update.
Next, I was going to find the files (e.g., config_machine.xml, config_compilers.xml, and config_batch.xml) in the directory ${CESMROOT}/ccs_config/machine. But a file named config_compilers.xml does not appear to exist anywhere at all. I am now stuck in here. I would like to know what I have to do to successfully port CESM3.

Another thing I noted is that according to the documentation for previous versions of CESM, it tells us to add all the three files mentioned above to ${HOME}/.cime. But I did not see such hidden directory in my home directory on the NCAR HPC, Derecho while I attended 2024 CESM Tutorial. So my curiosity began to arise from this point. Could you please explain to me what brings the difference in an initial setup between the NCAR and the other institutions' machine.

Please provide some useful information on porting CESM3 to a new machine from scratch.

Thank you.
 

Jbuzan

Jonathan R. Buzan
Member
Hi Guangoh Jheong,

I recently ported a CESM3 beta version to Eiger.

For the ${HOME}/.cime, you have to create that directory. This is where you would put changes to those .xml files, if you had different 'default' configurations.

I would check in the ${MODEL}/ccs_config/machines directory for the various config_XXX.xml files.

Cheers,
-Jonathan
 
Top