The first section of namcouple uses some predefined keywords prefixed by the $ sign to locate the related information. The $ sign must be in the second column. The first ten keywords are described hereafter:
To use the CLIM/MPI2 communication technique, the lines below $CHANNEL are, e.g. for 3 models:
$CHANNEL MPI2 NOBSEND 1 1 arg1 3 1 arg2 3 1 arg3where MPI2 is the message passing used in CLIM and PSMILe, and NOBSEND indicates that standard blocking send MPI_Send should be used in place of the buffered MPI_BSend to send the coupling fields.
If NOBSEND is not specified, the buffered send MPI_BSend will be used.
The following lines (one line per model listed on the $NBMODEL line) indicate for each model the total number of processes, the number of processes implied in the coupling, and possibly launching arguments. Here the first model runs on one process which is of course implied in the coupling and the argument passed to the model is "arg1"; the second and third models run on 3 processes but only one process is implied in the coupling (i.e. exchanging information with OASIS3 main process), and the argument passed to the models are respectively ``arg2" and ``arg3''.
To use the CLIM/MPI1 communication technique, the $CHANNEL lines are are as for MPI2 except that MPI2 is replaced by MPI1 and there is no launching arguments. gument.
To use the SIPC communication technique, the user has to write only SIPC below the $CHANNEL keyword (corresponding sources can be retrieved from CERFACS CVS Server only).