Class: Origen::Application::Runner

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

Instance Method Summary collapse

Instance Method Details

#expand_lists_and_directories(files, options = {}) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/origen_sim/origen/application/runner.rb', line 10

def expand_lists_and_directories(files, options = {})
  if (options[:lsf] && OrigenSim.flow) && !Origen.running_remotely?
    Array(Array(files).join(' '))
  else
    orig_expand_lists_and_directories(files, options)
  end
end

#orig_expand_lists_and_directoriesObject

When multiple patterns are requested via the command line with the LSF option, Origen will split it into separate jobs for each pattern. However, if the –flow option is also supplied in that case, then the user will want all the patterns to execute as a single job on the LSF, this hack to Origen makes that happen.



9
# File 'lib/origen_sim/origen/application/runner.rb', line 9

alias_method :orig_expand_lists_and_directories, :expand_lists_and_directories