lib/coderunner/system_modules/stampede.rb in coderunner-0.15.8 vs lib/coderunner/system_modules/stampede.rb in coderunner-0.15.9
- old
+ new
@@ -10,10 +10,10 @@
16
end
def run_command
# "qsub #{batch_script_file}"
if (ENV['CODE_RUNNER_LAUNCHER'].size > 0 rescue false)
- return %[mpiexec -np #{@nprocs} #{executable_location}/#{executable_name} #{parameter_string} > #{output_file} 2> #{error_file}]
+ return %[ibrun -n #{@nprocs} -o 0 #{executable_location}/#{executable_name} #{parameter_string} > #{output_file} 2> #{error_file}]
else
"ibrun #{executable_location}/#{executable_name} #{parameter_string}"
end
end
def batch_script