Class: CodeRunner::Gs2::ListSubmitter

Inherits:
Object
  • Object
show all
Includes:
SYSTEM_MODULE
Defined in:
lib/gs2crmod/gs2.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(runner, nprocs, list_file, jid) ⇒ ListSubmitter

Returns a new instance of ListSubmitter.



707
708
709
710
711
712
713
# File 'lib/gs2crmod/gs2.rb', line 707

def initialize(runner, nprocs, list_file, jid)
	@executable_location = runner.executable_location
	@executable_name = runner.executable_name
	@parameter_string = list_file
	@job_identifier = jid
	@nprocs = nprocs
end

Instance Attribute Details

#executable_locationObject (readonly)

Returns the value of attribute executable_location.



705
706
707
# File 'lib/gs2crmod/gs2.rb', line 705

def executable_location
  @executable_location
end

#executable_nameObject (readonly)

Returns the value of attribute executable_name.



705
706
707
# File 'lib/gs2crmod/gs2.rb', line 705

def executable_name
  @executable_name
end

#job_identifierObject (readonly)

Returns the value of attribute job_identifier.



706
707
708
# File 'lib/gs2crmod/gs2.rb', line 706

def job_identifier
  @job_identifier
end

#parameter_stringObject (readonly)

Returns the value of attribute parameter_string.



705
706
707
# File 'lib/gs2crmod/gs2.rb', line 705

def parameter_string
  @parameter_string
end

Class Method Details

.rcpObject



717
718
719
# File 'lib/gs2crmod/gs2.rb', line 717

def self.rcp
	@rcp ||= CodeRunner::Run::RunClassPropertyFetcher.new(self)
end

Instance Method Details

#rcpObject



714
715
716
# File 'lib/gs2crmod/gs2.rb', line 714

def rcp 
	self.class.rcp
end