Method: CodeRunner::Moab#run_command

Defined in:
lib/coderunner/system_modules/moab.rb

#run_commandObject



42
43
44
45
46
47
48
49
50
# File 'lib/coderunner/system_modules/moab.rb', line 42

def run_command
#     "qsub #{batch_script_file}"
  if use_launcher
    return %[#{code_run_environment}
      #{mpi_prog} #{executable_location}/#{executable_name} #{parameter_string} > #{output_file} 2> #{error_file}]
  else
    "#{mpi_prog}  #{executable_location}/#{executable_name} #{parameter_string}"
  end
end