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

CESM 2.0 beta Porting to Non-NCAR Machine

Hello, I am trying to run the CESM 2.0 beta version on a non-NCAR machine and I noticed that when I try to build a case, option "-mach userdefined" is invalid as "userdefined" is unspecified in config_machines.xml. First, I tried editing the script using code from cesm1-2-2's file of the same name. I am not super familiar with editing .xml files so it was no suprise when this tactic didn't work. The code I used was:         User Defined Machine                                         USERDEFINED_required_macros                                      intel,ibm,pgi,pathscale,gnu,cray,lahey             openmpi,mpich,mpt,mpt,ibm,mpi-serial                        USERDEFINED_required_build                             USERDEFINED_required_build                               USERDEFINED_required_build                             USERDEFINED_required_build                   USERDEFINED_optional_build         FALSE                                                    USERDEFINED_optional_run                       USERDEFINED_optional_run                   USERDEFINED_optional_run                   USERDEFINED_optional_test                        USERDEFINED_optional_run         USERDEFINED_optional_run        USERDEFINED_optional                         1        USERDEFINED_required_build So my question is this: is there a better version of this code that would be better integrated into the new config_machines.xml? Is there another file that needs adding/editing? Am I completely off base? Thanks for any help!Sara
 
Hi Sara,I've been working on porting a version of the CESM (1.5_beta02) to one of our machines here.  This version uses the CIME configuration method found in the CESM v2, although likely not all has been as fully developed as the version you have.the method I used was to copy a block that appeared roughly similar to our machine, from each of config_machines.xml, config_batch.xml, and config_compilers.xml, and copy each block into a file of the same name, located in the .cime directory created in my home directory.  I changed the name in "MACH=name" to match our machine name, and modified the characteristics to match our machine characteristics.trial and error, examining results in my case directory and modifying these three ~/.cime/config_xxx.xml files has so far led me to a spot where I think I have it functioning.when you create a new case, the scripts add the contents of these three files to the ones found in cime/cime_config/cesm/machines/.  Once I fiigure out all the controls, I'll move the blocks in the ~/.cime/ configuration files to those in cime/cime_config/cesm/machines/ and delete the ones in my home directory.good luck,Roy
 
Top