Skip to content

Commit

Permalink
Use 'new' 'select/ncpus' format for requesting resources in PBSpro.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed May 31, 2019
1 parent ec37af0 commit a685c38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pipelines/canu/Grid_PBSTorque.pm
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ sub configurePBSTorque () {
setGlobalIfUndef("gridEngineArrayName", "ARRAY_NAME");
setGlobalIfUndef("gridEngineArrayMaxJobs", $maxArraySize);
setGlobalIfUndef("gridEngineOutputOption", "-o");
setGlobalIfUndef("gridEngineResourceOption", "-l nodes=1:ppn=THREADS:mem=MEMORY");
setGlobalIfUndef("gridEngineResourceOption", "-l nodes=1:ppn=THREADS:mem=MEMORY") if ($isPro == 0);
setGlobalIfUndef("gridEngineResourceOption", "-l select=1:ncpus=THREADS:mem=MEMORY") if ($isPro == 1);
setGlobalIfUndef("gridEngineMemoryPerJob", "1");
setGlobalIfUndef("gridEngineNameToJobIDCommand", "qstat -f |grep -F -B 1 WAIT_TAG | grep Id: | grep -F [] |awk '{print \$NF}'");
setGlobalIfUndef("gridEngineNameToJobIDCommandNoArray", "qstat -f |grep -F -B 1 WAIT_TAG | grep Id: |awk '{print \$NF}'");
Expand Down

0 comments on commit a685c38

Please sign in to comment.