Skip to content

Commit

Permalink
improve the account remove and add support for slurm
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jul 24, 2023
1 parent b0c9383 commit fcdf8df
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CIME/XML/env_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -970,10 +970,8 @@ def _submit_single_job(
if not project:
# If there is no project then we need to remove the project flag
if (
batch_system == "pbs"
or batch_system == "cobalt"
and " -A " in submitargs
):
batch_system == "pbs" or batch_system == "cobalt"
) and " -A " in submitargs:
submitargs = submitargs.replace("-A", "")
elif batch_system == "lsf" and " -P " in submitargs:
submitargs = submitargs.replace("-P", "")
Expand Down

0 comments on commit fcdf8df

Please sign in to comment.