Skip to content

Commit

Permalink
Merge branch 'feature_slurm_mem' into develop
Browse files Browse the repository at this point in the history
Refs: #80
  • Loading branch information
malloryprow committed Oct 26, 2021
2 parents b4795e4 + f01fe2c commit fc578a7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ush/run_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@
job_card.write('#SBATCH --account='+ACCOUNT+'\n')
job_card.write('#SBATCH --job-name='+job_name+'\n')
job_card.write('#SBATCH --output='+job_output_filename+'\n')
if RUN in ['grid2grid_step2', 'grid2obs_step2', 'precip_step2',
'maps2d', 'mapsda']:
job_card.write('#SBATCH --mem=10g\n')
else:
job_card.write('#SBATCH --mem=3g\n')
job_card.write('#SBATCH --nodes=1\n')
job_card.write('#SBATCH --ntasks-per-node='+nproc+'\n')
job_card.write('#SBATCH --time=6:00:00\n')
Expand All @@ -82,7 +77,6 @@
job_card.write('#SBATCH --account='+ACCOUNT+'\n')
job_card.write('#SBATCH --job-name='+job_name+'\n')
job_card.write('#SBATCH --output='+job_output_filename+'\n')
job_card.write('#SBATCH --mem=3g\n')
job_card.write('#SBATCH --nodes=1\n')
job_card.write('#SBATCH --ntasks-per-node='+nproc+'\n')
job_card.write('#SBATCH --time=6:00:00\n')
Expand Down

0 comments on commit fc578a7

Please sign in to comment.