Sha256: a0ea7731084ed935424e29489f506ec0179ddad5db385530a6fdf5f2c99080aa

Contents?: true

Size: 587 Bytes

Versions: 117

Compression:

Stored size: 587 Bytes

Contents

class CodeRunner
	require SCRIPT_FOLDER + '/system_modules/moab.rb'
	module Hector
		include Moab
		def batch_script
			raise "Please specify project" unless @project
			(eputs "Warning: number of nodes is not recommended (8, 16, 32, 64, 128, 256, 512, 1024, 2048 or 4096 recommended)"; sleep 0.2) unless [8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096].include? nodes.to_i
			(eputs "Warning: number of wall mins is not recommended (20, 60, 180, 360, 720 recomended)"; sleep 0.2) unless [20, 60, 180, 360, 720].include? @wall_mins.to_i
			super
		end
		def max_ppn
			32
		end
	end
end

Version data entries

117 entries across 117 versions & 1 rubygems

Version Path
coderunner-1.0.14 lib/coderunner/system_modules/hector.rb
coderunner-1.0.13 lib/coderunner/system_modules/hector.rb
coderunner-1.0.12 lib/coderunner/system_modules/hector.rb
coderunner-1.0.11 lib/coderunner/system_modules/hector.rb
coderunner-1.0.10 lib/coderunner/system_modules/hector.rb
coderunner-1.0.9 lib/coderunner/system_modules/hector.rb
coderunner-1.0.8 lib/coderunner/system_modules/hector.rb
coderunner-1.0.7 lib/coderunner/system_modules/hector.rb
coderunner-1.0.6 lib/coderunner/system_modules/hector.rb
coderunner-1.0.4 lib/coderunner/system_modules/hector.rb
coderunner-1.0.3 lib/coderunner/system_modules/hector.rb
coderunner-1.0.2 lib/coderunner/system_modules/hector.rb
coderunner-1.0.1 lib/coderunner/system_modules/hector.rb
coderunner-1.0.0 lib/coderunner/system_modules/hector.rb
coderunner-0.18.5 lib/coderunner/system_modules/hector.rb
coderunner-0.18.4 lib/coderunner/system_modules/hector.rb
coderunner-0.18.3 lib/coderunner/system_modules/hector.rb
coderunner-0.18.2 lib/coderunner/system_modules/hector.rb
coderunner-0.18.1 lib/coderunner/system_modules/hector.rb
coderunner-0.18.0 lib/coderunner/system_modules/hector.rb