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.



822
823
824
825
826
827
828
# File 'lib/gs2crmod/gs2.rb', line 822

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.



820
821
822
# File 'lib/gs2crmod/gs2.rb', line 820

def executable_location
  @executable_location
end

#executable_nameObject (readonly)

Returns the value of attribute executable_name.



820
821
822
# File 'lib/gs2crmod/gs2.rb', line 820

def executable_name
  @executable_name
end

#job_identifierObject (readonly)

Returns the value of attribute job_identifier.



821
822
823
# File 'lib/gs2crmod/gs2.rb', line 821

def job_identifier
  @job_identifier
end

#parameter_stringObject (readonly)

Returns the value of attribute parameter_string.



820
821
822
# File 'lib/gs2crmod/gs2.rb', line 820

def parameter_string
  @parameter_string
end

Class Method Details

.rcpObject



832
833
834
# File 'lib/gs2crmod/gs2.rb', line 832

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

Instance Method Details

#rcpObject



829
830
831
# File 'lib/gs2crmod/gs2.rb', line 829

def rcp
  self.class.rcp
end