Sha256: b5135d4f355683d0b76400036866fc46c9e88b1ab830ac6d2edca4bc06e66c82
Contents?: true
Size: 570 Bytes
Versions: 165
Compression:
Stored size: 570 Bytes
Contents
class CodeRunner module NewHydra def queue_status %x[qstat | grep $LOGNAME] end def run_command if @runner.debug return %[mpisubshort "40mins" #{@nprocs} #{executable_location}/#{executable_name} #{parameter_string} ] else return %[mpisubnoquotes "0.5-10 hrs" #{@nprocs} #{executable_location}/#{executable_name} #{parameter_string}] end end def execute system run_command end def cancel_job `qdel #{@job_no}` end def error_file return "#{executable_name}.sh.e#{@job_no}" end def output_file return "#{executable_name}.sh.o#{@job_no}" end end end
Version data entries
165 entries across 165 versions & 1 rubygems