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.



771
772
773
774
775
776
777
# File 'lib/gs2crmod/gs2.rb', line 771

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.



769
770
771
# File 'lib/gs2crmod/gs2.rb', line 769

def executable_location
  @executable_location
end

#executable_nameObject (readonly)

Returns the value of attribute executable_name.



769
770
771
# File 'lib/gs2crmod/gs2.rb', line 769

def executable_name
  @executable_name
end

#job_identifierObject (readonly)

Returns the value of attribute job_identifier.



770
771
772
# File 'lib/gs2crmod/gs2.rb', line 770

def job_identifier
  @job_identifier
end

#parameter_stringObject (readonly)

Returns the value of attribute parameter_string.



769
770
771
# File 'lib/gs2crmod/gs2.rb', line 769

def parameter_string
  @parameter_string
end

Class Method Details

.rcpObject



781
782
783
# File 'lib/gs2crmod/gs2.rb', line 781

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

Instance Method Details

#rcpObject



778
779
780
# File 'lib/gs2crmod/gs2.rb', line 778

def rcp
  self.class.rcp
end