Changes between Version 6 and Version 7 of Configuration

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

--

Legend:

Unmodified
Added
Removed
Modified
  • Configuration

    v6 v7  
    8181Here, 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. 
    8282 
     83=== Native code === 
     84 
     85For 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{{{ 
     87cxa.env["subA:command"] = ENV['HOME'] + "/bin/subA" 
     88cxa.env["subA:args"] = "paramA paramB" 
     89}}} 
     90 
     91For 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 
    8394[[Documentation|<< Back to Documentation]]