Method: CodeRunner::Cori#run_command
- Defined in:
- lib/coderunner/system_modules/cori.rb
#run_command ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/coderunner/system_modules/cori.rb', line 12 def run_command # "qsub #{batch_script_file}" if use_launcher return %[#{code_run_environment}\n srun -n #{@nprocs} #{executable_location}/#{executable_name} #{parameter_string} > #{output_file} 2> #{error_file}] else "srun -n #{nodes*ppn} #{executable_location}/#{executable_name} #{parameter_string}" end end |