Changes between Version 7 and Version 8 of Configuration

Show
Ignore:
Timestamp:
10/11/12 15:15:28 (12 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Configuration

    v7 v8  
    6565}}} 
    6666 
     67 
     68=== Native code === 
     69 
     70For 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{{{ 
     72cxa.env["subA:command"] = ENV['HOME'] + "/bin/subA" 
     73cxa.env["subA:args"] = "paramA paramB" 
     74}}} 
     75 
     76For 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 
    6779=== Terminals === 
    6880 
     
    8193Here, 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. 
    8294 
    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  
    9495[[Documentation|<< Back to Documentation]]