Skip to content

Commit

Permalink
Add OMP_NUM_THREADS for WCOSS2 jobs
Browse files Browse the repository at this point in the history
Refs: #66
  • Loading branch information
malloryprow committed Oct 26, 2021
1 parent bc682f4 commit 907964a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ush/run_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
job_card.write('#PBS -l place=vscatter,select=1'
+':ncpus='+nproc+':mem=4GB'+'\n')
job_card.write('\n')
job_card.write('export OMP_NUM_THREADS=1\n')
job_card.write('cd $PBS_O_WORKDIR\n')
job_card.write('\n')
job_card.write('/bin/sh '+script)
Expand Down

0 comments on commit 907964a

Please sign in to comment.