Method: CodeRunner::Macosx#run_command
- Defined in:
- lib/coderunner/system_modules/macosx.rb
#run_command ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/coderunner/system_modules/macosx.rb', line 9 def run_command if rcp.uses_mpi return %[mpirun -np #{@nprocs} #{executable_location}/#{executable_name} #{parameter_string} > #{output_file} 2> #{error_file}] else return %[#{executable_location}/#{executable_name} #{parameter_string} > #{output_file} 2> #{error_file}] end end |