class ServerScripts::Executor::OpenMPI
Public Instance Methods
run_cmd()
click to toggle source
# File lib/server_scripts/executor/mpi_program.rb, line 17 def run_cmd "mpirun --mca mpi_cuda_support 0 -x LD_LIBRARY_PATH #{env_variables} -N #{@npernode} -np #{@nprocs}" end
Private Instance Methods
env_variables()
click to toggle source
# File lib/server_scripts/executor/mpi_program.rb, line 23 def env_variables str = "" @env.each_key do |k| str += " -x #{k} " end str end