Class: Origen::Application::LSF::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/origen/application/lsf.rb

Overview

The LSF command configuration that will be used for all submissions to the LSF. An instance of this class is returned via the configuration method and which can be used to modify the LSF behavior on a per-setup basis.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration


22
23
24
25
26
27
28
# File 'lib/origen/application/lsf.rb', line 22

def initialize
  @group = nil
  @project = 'msg.te'
  @resource = 'linux'
  @queue = 'short'
  @debug = false
end

Instance Attribute Details

#debugObject

When set to true no submissions will be made to LSF and instead the command that would have been submitted is printed to the terminal instead


20
21
22
# File 'lib/origen/application/lsf.rb', line 20

def debug
  @debug
end

#groupObject

The group parameter, default: nil


11
12
13
# File 'lib/origen/application/lsf.rb', line 11

def group
  @group
end

#projectObject

The project parameter, default: 'msg.te'


13
14
15
# File 'lib/origen/application/lsf.rb', line 13

def project
  @project
end

#queueObject

The queue parameter, default: 'short'


17
18
19
# File 'lib/origen/application/lsf.rb', line 17

def queue
  @queue
end

#resourceObject

The resource parameter, default: 'linux'


15
16
17
# File 'lib/origen/application/lsf.rb', line 15

def resource
  @resource
end