Skip to content

Commit 826d238

Browse files
committed
Make config_machines_template.xml closer to working out of the box
For the sake of testing, I wanted to be able to set up a case that uses the machine defined in config_machines_template.xml. There were three problems that I have fixed here: - CHARGE_ACCOUNT cannot be an empty string - GMAKE cannot be an empty string - If BATCH_SYSTEM is not none, then it seems that we need to add an entry for this machine in config_batch.xml With the changes here, I am able to get through the case.setup step (which is how far I want to get), using a command like: ./create_newcase --case test_mymachine_0427b --compset X --res f19_g16 --mach mymachine -n --output-root .
1 parent 370ce1d commit 826d238

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/xml_schemas/config_machines_template.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
the batch script (ex. #PBS -A charge_account). Will default
3838
to PROJECT if not set.
3939
can be overridden in environment or $HOME/.cime/config -->
40-
<CHARGE_ACCOUNT></CHARGE_ACCOUNT>
40+
<CHARGE_ACCOUNT>couldbethis</CHARGE_ACCOUNT>
4141

4242
<!-- SAVE_TIMING_DIR: (Acme only) directory for archiving timing output -->
4343
<SAVE_TIMING_DIR> </SAVE_TIMING_DIR>
@@ -72,14 +72,14 @@
7272
<CCSM_CPRNC>$ENV{CESMDATAROOT}/tools/cime/tools/cprnc/cprnc.cheyenne</CCSM_CPRNC>
7373

7474
<!-- GMAKE: gnu compatible make tool, default is 'gmake' -->
75-
<GMAKE></GMAKE>
75+
<GMAKE>gmake</GMAKE>
7676

7777
<!-- GMAKE_J: optional number of threads to pass to the gmake flag -->
7878
<GMAKE_J>8</GMAKE_J>
7979

8080
<!-- BATCH_SYSTEM: batch system used on this machine,
8181
supported values are: none, cobalt, lsf, pbs, slurm -->
82-
<BATCH_SYSTEM>pbs</BATCH_SYSTEM>
82+
<BATCH_SYSTEM>none</BATCH_SYSTEM>
8383

8484
<!-- SUPPORTED_BY: contact information for support for this system
8585
this field is not used in code -->

0 commit comments

Comments
 (0)