Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jul 24, 2024
0 parents commit ea37e6f
Show file tree
Hide file tree
Showing 19 changed files with 2,407 additions and 0 deletions.
44 changes: 44 additions & 0 deletions README.case
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
2024-07-24 10:33:07: ./create_newcase --case foo --compset X --res f19_g17
---------------------------------------------------
2024-07-24 10:33:12: Compset longname is 2000_XATM_XLND_XICE_XOCN_XROF_XGLC_XWAV_SESP
---------------------------------------------------
2024-07-24 10:33:12: Compset specification file is /glade/work/jedwards/sandboxes/cesm3_0_x/components/cmeps/cime_config/config_compsets.xml
---------------------------------------------------
2024-07-24 10:33:12: Pes specification file is /glade/work/jedwards/sandboxes/cesm3_0_x/components/cmeps/cime_config/config_pes.xml
---------------------------------------------------
2024-07-24 10:33:12: Forcing is 1972-2004
---------------------------------------------------
2024-07-24 10:33:12: Using 1 coupler instances
---------------------------------------------------
2024-07-24 10:33:12: Component ATM is Dead atm component
---------------------------------------------------
2024-07-24 10:33:12: ATM_GRID is 1.9x2.5
---------------------------------------------------
2024-07-24 10:33:12: Component LND is Dead land component
---------------------------------------------------
2024-07-24 10:33:12: LND_GRID is 1.9x2.5
---------------------------------------------------
2024-07-24 10:33:12: Component ICE is Dead ice component
---------------------------------------------------
2024-07-24 10:33:12: ICE_GRID is gx1v7
---------------------------------------------------
2024-07-24 10:33:12: Component OCN is Dead ocean component
---------------------------------------------------
2024-07-24 10:33:12: OCN_GRID is gx1v7
---------------------------------------------------
2024-07-24 10:33:12: Component ROF is Dead river component
---------------------------------------------------
2024-07-24 10:33:12: ROF_GRID is r05
---------------------------------------------------
2024-07-24 10:33:12: Component GLC is Dead land-ice component
---------------------------------------------------
2024-07-24 10:33:12: GLC_GRID is gris4
---------------------------------------------------
2024-07-24 10:33:12: Component WAV is Dead wave component
---------------------------------------------------
2024-07-24 10:33:12: WAV_GRID is ww3a
---------------------------------------------------
2024-07-24 10:33:12: Component ESP is Stub external system processing (ESP) component
---------------------------------------------------
2024-07-24 10:33:12: ESP_GRID is None
---------------------------------------------------
14 changes: 14 additions & 0 deletions SourceMods/src.cdeps/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Put source mods for the cdeps library in this directory.

Note that this subdirectory should only contain files from CDEPS's
dshr and streams source code directories.
Files related to specific data models should go in SourceMods subdirectories
for those data models (e.g., src.datm).

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
9 changes: 9 additions & 0 deletions SourceMods/src.drv/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Put source mods for the drv library in this directory.

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
9 changes: 9 additions & 0 deletions SourceMods/src.share/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Put source mods for the share library in this directory.

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
9 changes: 9 additions & 0 deletions SourceMods/src.xatm/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Put source mods for the xatm library in this directory.

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
9 changes: 9 additions & 0 deletions SourceMods/src.xglc/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Put source mods for the xglc library in this directory.

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
9 changes: 9 additions & 0 deletions SourceMods/src.xice/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Put source mods for the xice library in this directory.

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
9 changes: 9 additions & 0 deletions SourceMods/src.xlnd/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Put source mods for the xlnd library in this directory.

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
9 changes: 9 additions & 0 deletions SourceMods/src.xocn/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Put source mods for the xocn library in this directory.

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
9 changes: 9 additions & 0 deletions SourceMods/src.xrof/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Put source mods for the xrof library in this directory.

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
9 changes: 9 additions & 0 deletions SourceMods/src.xwav/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Put source mods for the xwav library in this directory.

WARNING: SourceMods are not kept under version control, and can easily
become out of date if changes are made to the source code on which they
are based. We only recommend using SourceMods for small, short-term
changes that just apply to one or two cases. For larger or longer-term
changes, including gradual, incremental changes towards a final
solution, we highly recommend making changes in the main source tree,
leveraging version control (git or svn).
59 changes: 59 additions & 0 deletions env_archive.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0"?>
<file id="env_archive.xml" version="2.0">
<header>
These are the variables specific to the short term archiver.
See ./case.st_archive --help for details on running the short term archiver script.
To validate the env_archive.xml file using xmllint, run
xmllint -schema $SRCROOT/cime/config/xml_schemas/env_archive.xsd env_archive.xml
from the case root.
The patterns below are Python regular expressions.
The file names created from these patterns will add an optional digit
to them and will enclose them in a pair of '.'.
Some useful Python metacharacters are:
[] = any single character inside the brackets
\d = a digit = [0123456789] = [0-9]
? = 0 or 1 of the previous character
* = 0 or more of the previous character (greedy!)
+ = 1 or more of the previous character (greedy!)
\. = a period
. = any non-newline character
Use them carefully. They're often confused with shell-type
wild card characters.
</header>
<components version="2.0">
<comp_archive_spec compname="drv" compclass="cpl">
<rest_file_extension>r</rest_file_extension>
<hist_file_extension>hi?\d*.*\.nc$</hist_file_extension>
<rest_history_varname>unset</rest_history_varname>
<rpointer>
<rpointer_file>rpointer.cpl$NINST_STRING</rpointer_file>
<rpointer_content>$CASE.cpl$NINST_STRING.r.$DATENAME.nc</rpointer_content>
</rpointer>
<test_file_names>
<tfile disposition="move">cpl_0001.log.5548574.chadmin1.180228-124723.gz</tfile>
<tfile disposition="copy">casename.cpl.r.1976-01-01-00000.nc</tfile>
<tfile disposition="copy">rpointer.drv_0001</tfile>
<tfile disposition="copy">rpointer.drv</tfile>
<tfile disposition="ignore">casenamenot.cpl.r.1976-01-01-00000.nc</tfile>
</test_file_names>
</comp_archive_spec>
<comp_archive_spec compclass="esp" compname="dart">
<rest_file_extension>r</rest_file_extension>
<rest_file_extension>rh\d?</rest_file_extension>
<hist_file_extension>[ei]</hist_file_extension>
<rest_history_varname>restart_hist</rest_history_varname>
<rpointer>
<rpointer_file>rpointer.unset</rpointer_file>
<rpointer_content>unset</rpointer_content>
</rpointer>
<test_file_names>
<tfile disposition="copy">casename.dart.r.1976-01-01-00000.nc</tfile>
<tfile disposition="copy">casename.dart.rh.pop_preassim_priorinf_mean.1976-01-01-00000.nc</tfile>
<tfile disposition="copy">casename.dart.rh.cam_preassim_priorinf_mean.1976-01-01-00000.nc</tfile>
<tfile disposition="move">casename.dart.e.cam_postassim_mean.1976-01-01-00000.nc</tfile>
<tfile disposition="move">casename.dart.i.cam_output_mean.1976-01-01-00000.nc</tfile>
<tfile disposition="move">casename.dart.e.cam_obs_seq_final.1976-01-01-00000.nc</tfile>
</test_file_names>
</comp_archive_spec>
</components>
</file>
57 changes: 57 additions & 0 deletions env_batch.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<file id="env_batch.xml" version="2.0">
<header>
These variables may be changed anytime during a run, they
control arguments to the batch submit command.
</header>
<group id="config_batch">
<entry id="BATCH_SYSTEM" value="pbs">
<type>char</type>
<valid_values>nersc_slurm,lc_slurm,moab,pbs,lsf,slurm,cobalt,cobalt_theta,none</valid_values>
<desc>The batch system type to use for this machine.</desc>
</entry>
</group>
<batch_system type="pbs">
<batch_query args="-f">qstat</batch_query>
<batch_submit>qsub </batch_submit>
<batch_cancel>qdel</batch_cancel>
<batch_env>-v</batch_env>
<batch_directive>#PBS</batch_directive>
<jobid_pattern>^(\S+)$</jobid_pattern>
<depend_string> -W depend=afterok:jobid</depend_string>
<depend_allow_string> -W depend=afterany:jobid</depend_allow_string>
<depend_separator>:</depend_separator>
<walltime_format>%H:%M:%S</walltime_format>
<batch_mail_flag>-M</batch_mail_flag>
<batch_mail_type_flag>-m</batch_mail_type_flag>
<batch_mail_type>, bea, b, e, a</batch_mail_type>
<submit_args>
<argument> -q $JOB_QUEUE</argument>
<argument> -l walltime=$JOB_WALLCLOCK_TIME</argument>
<argument> -A $PROJECT</argument>
</submit_args>
<directives>
<directive>-N {{ job_id }}</directive>
<directive default="n"> -r {{ rerunnable }} </directive>
<directive> -j oe </directive>
</directives>
</batch_system>
<batch_system MACH="derecho" type="pbs">
<batch_submit>qsub</batch_submit>
<submit_args>
<argument> -l job_priority=$JOB_PRIORITY </argument>
</submit_args>
<directives gpu_enabled="false">
<directive default="/bin/bash"> -S {{ shell }} </directive>
<directive> -l select={{ num_nodes }}:ncpus={{ max_tasks_per_node }}:mpiprocs={{ tasks_per_node }}:ompthreads={{ thread_count }}:mem=230GB</directive>
</directives>
<directives gpu_enabled="true">
<directive default="/bin/bash"> -S {{ shell }} </directive>
<directive> -l select={{ num_nodes }}:ncpus={{ max_cputasks_per_gpu_node }}:mpiprocs={{ tasks_per_node }}:ompthreads={{ thread_count }}:mem=480GB:ngpus={{ ngpus_per_node }}:mps=1 </directive>
</directives>
<queues>
<queue walltimemax="1:00:00" jobmin="1" jobmax="64">develop</queue>
<queue walltimemax="12:00:00" nodemin="1" nodemax="2488">main</queue>
</queues>
</batch_system>
</file>
Loading

0 comments on commit ea37e6f

Please sign in to comment.