Class: Origen::Application::Runner
- Inherits:
-
Object
- Object
- Origen::Application::Runner
- Defined in:
- lib/origen_sim/origen/application/runner.rb
Instance Method Summary collapse
- #expand_lists_and_directories(files, options = {}) ⇒ Object
-
#orig_expand_lists_and_directories ⇒ Object
When multiple patterns are requested via the command line with the LSF option, Origen will split it into separate jobs for each pattern.
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 (files, = {}) if ([:lsf] && OrigenSim.flow) && !Origen.running_remotely? Array(Array(files).join(' ')) else (files, ) end end |
#orig_expand_lists_and_directories ⇒ Object
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 |