Changes between Version 7 and Version 8 of Configuration
- Timestamp:
- 10/11/12 15:15:28 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Configuration
v7 v8 65 65 }}} 66 66 67 68 === Native code === 69 70 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 71 {{{ 72 cxa.env["subA:command"] = ENV['HOME'] + "/bin/subA" 73 cxa.env["subA:args"] = "paramA paramB" 74 }}} 75 76 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. 77 78 67 79 === Terminals === 68 80 … … 81 93 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 94 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 be86 {{{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 94 95 [[Documentation|<< Back to Documentation]]