Changes between Version 37 and Version 38 of MpiKernels

Show
Ignore:
Timestamp:
02/29/12 10:10:37 (13 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MpiKernels

    v37 v38  
    1414The example codes can be found in `src/cpp/examples/mpiring/` directory of the MUSCLE source distribution. The next two sections will describe two diffrent approachs of running such coupled simulation via MUSCLE. 
    1515== MPI Kernels as dynamic libraries == 
    16 This approach follows the original MUSCLE philosophy that relay on using Java Native !Interface/Access mechanism to integrate C/C++ codes as MUSCLE kernels. 
     16This approach follows the original MUSCLE philosophy that relay on using [http://en.wikipedia.org/wiki/Java_Native_Interface Java Native Interface] (or more userfriendly [http://en.wikipedia.org/wiki/Java_Native_Access Java Native Access]) mechanism to integrate C/C++ codes as MUSCLE kernels. 
    1717 
    1818In order to support MPI applications a new method, `public void executeDirectly()`, was introduced in the `CaController` class. Only this method is called instead of normal MUSCLE routines on the processes with non-zero rank. Process with rank 0 is started in the usual way. Portals cannot be attached to slave processes (i.e. to the processes with non-zero rank). The `executeDirectly` method default implementation calls by default `execute()`.