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

Issues setting up a new CESM2 run on perlmutter

ashleyc

Ashley Cornish
New Member
What version of the code are you using?
CESM2.2.2


Have you made any changes to files in the source tree?
No.


Describe every step you took leading up to the problem:
I am attempting to set up a new model run of CESM2 on perlmutter. I am following the standard setup, copying the main github repo into my home directory. The issue begins when I attempt to run the ./manage_externals/checkout_externals prompt, seeing as that folder appears to be removed from the main repo. I have attempted to go back to previous branches, but when I try to build the model from those iterations, I am unable to do so, since perlmutter is not listed as one of the machines.


If this is a port to a new machine: Please attach any files you added or changed for the machine port (e.g., config_compilers.xml, config_machines.xml, and config_batch.xml) and tell us the compiler version you are using on this machine.
Please attach any log files showing error messages or other useful information.


Describe your problem or question:

Is there a new workflow that should be followed when setting up CESM2 for a first time user to that machine? (For context, I am a graduate student attempting to run CESM2 on perlmutter for the first time. I have previously run CESM2 on Cheyenne successfully, but I am still relatively new to running the model on my own :) ) Thank you in advance for any help that can be given!
 

nusbaume

Jesse Nusbaumer
CSEG and Liaisons
Staff member
Hi Ashley,

Are you using the release version of CESM2.2.2, or are you using a development version of CESM? If you aren't sure then you can go to your CESM directory and post the results of git describe here, after which we should be able to tell you.

If you are purposefully using a development version, then manage_externals/checkout_externals has been replaced with bin/git-fleximod. You should be to get all of the externals you need by running the following command:

Code:
bin/git-fleximod update

Of course if that doesn't work either then please let me know.

Thanks, and have a great day!

Jesse
 
Last edited:

ashleyc

Ashley Cornish
New Member
Hi Jesse,

Thank you for your reply! I wish to run CESM2.2.2, but when I enter I "git describe" I get the result "cesm3_0_beta01". This is even after I have apparently switched to the release-cesm2.2.2 branch after running "git checkout -b release-cesm2.2.2".

When cloning the git repo, I run the standard "git clone GitHub - ESCOMP/CESM: The Community Earth System Model my_cesm". Is there something else I should be cloning initially?

Thank you for your help thus far and let me know!

Ashley
 

nusbaume

Jesse Nusbaumer
CSEG and Liaisons
Staff member
Hi Ashley,

I think your git commands aren't quite right (it looks like you are taking the "cesm3_0_beta01" version and creating a new branch from it named "release-cesm2.2.2"). Instead can you try re-cloning it using the following command:

Code:
git clone -b release-cesm2.2.2 https://github.com/ESCOMP/CESM.git my_cesm

Note that you will likely get a warning about being in a "detached HEAD" state, but that is completely normal and can be ignored.

Hope that helps, and if that method doesn't work for you then please let me know.

Thanks, and have a great day!

Jesse
 

ashleyc

Ashley Cornish
New Member
Hi Ashley,

I think your git commands aren't quite right (it looks like you are taking the "cesm3_0_beta01" version and creating a new branch from it named "release-cesm2.2.2"). Instead can you try re-cloning it using the following command:

Code:
git clone -b release-cesm2.2.2 https://github.com/ESCOMP/CESM.git my_cesm

Note that you will likely get a warning about being in a "detached HEAD" state, but that is completely normal and can be ignored.

Hope that helps, and if that method doesn't work for you then please let me know.

Thanks, and have a great day!

Jesse
Hi Jesse,

I realized I was forgetting to include the tag in my initial cloning! Thank you!

It appears that perlmutter is not set up to run any of the release versions of cesm2.2, but I was able to get 2.1.5 set up.

Thank you again for all your help!

Ashley
 
Top