Changes between Version 6 and Version 7 of Configuration
- Timestamp:
- 10/11/12 15:14:55 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Configuration
v6 v7 81 81 Here, we're reading the file {{{/path/to/some.file.dat}}}, and the path is not relative to the runtime path of MUSCLE. The doubles in that file are delimited by commas. Finally, a terminal port takes any name of the receiving or sending end, so only one value is given to tie. For the moment, it is not possible to apply filters to terminals. 82 82 83 === Native code === 84 85 For native executables that uses the MUSCLE API, the following parameters may be set: {{{"submodelName:command"}}} to set the path to the executable; and {{{"submodelName:args"}}} to give additional command-line parameters to the executable. Suppose my executable is somewhere in my home {{{bin}}} directory, this could be 86 {{{ 87 cxa.env["subA:command"] = ENV['HOME'] + "/bin/subA" 88 cxa.env["subA:args"] = "paramA paramB" 89 }}} 90 91 For MPI code, two additional parameters should be set: {{{"submodelName:mpiexec_command"}}} with the name or the path the the mpiexec/mpirun executable; and {{{"submodelName:mpiexec_args"}}} which are the arguments, like "-np 2", etc. 92 93 83 94 [[Documentation|<< Back to Documentation]]