lib/coderunner/system_modules/dirac.rb in coderunner-0.13.9 vs lib/coderunner/system_modules/dirac.rb in coderunner-0.13.10
- old
+ new
@@ -12,10 +12,10 @@
@nprocs.split(/:/)[1]
end
def batch_script
ppn_checks
- hours, minutes, seconds = hours_minutes_seconds
+ hours, mins, secs = hours_minutes_seconds
<<EOF
#!/bin/bash --login
#PBS -N #{executable_name}.#{job_identifier}
#PBS -l nodes=#{nodes}:ppn=#{ppn}:#{gpu_name}
#PBS -l walltime=#{sprintf("%02d:%02d:%02d", hours, mins, secs)}