Skip to content

Commit

Permalink
added sge batch queue to cmt src component and addeda default queuname
Browse files Browse the repository at this point in the history
name 40core-192G but this is a problem for xsd NCName
  • Loading branch information
M Richardson committed Jun 16, 2021
1 parent dee8b67 commit a417e6e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions config/cesm/machines/config_batch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,16 @@
</directives>
</batch_system>

<batch_system MACH="arc4" type="sge" >
<directives>
<directive>-l nodes={{ num_nodes }}</directive>
<directive>-l node_type=40core-192G</directive>
</directives>
<queues>
<queue walltimemax="24:00:00" default="true" >40core-192G</queue>
</queues>
</batch_system>

<batch_system MACH="aleph" type="pbs" >
<directives>
<directive>-l nodes={{ num_nodes }}</directive>
Expand Down
2 changes: 1 addition & 1 deletion config/xml_schemas/env_batch.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<!-- attributes -->
<xs:attribute name="id" type="xs:NCName"/>
<xs:attribute name="default" type="xs:NCName"/>
<xs:attribute name="default" type="xs:string"/>
<xs:attribute name="nodemax" type="xs:integer"/>
<xs:attribute name="nodemin" type="xs:integer"/>
<xs:attribute name="jobmax" type="xs:integer"/>
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/mct/cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@
<entry id="BATCH_SYSTEM">
<type>char</type>
<default_value>none</default_value>
<valid_values>nersc_slurm,lc_slurm,moab,pbs,lsf,slurm,cobalt,cobalt_theta,none</valid_values>
<valid_values>nersc_slurm,lc_slurm,moab,pbs,lsf,slurm,cobalt,cobalt_theta,sge,none</valid_values>
<group>config_batch</group>
<file>env_batch.xml</file>
<desc>The batch system type to use for this machine.</desc>
Expand Down

0 comments on commit a417e6e

Please sign in to comment.