Back to OASIS4 home

Routine prismdrv_init (id_err)
Subroutine "PRISMDrv_Init" initializes the MPI context of the driver application (rank in MPI_COMM_WORLD, PRISMdrv_root) and open the dedicated local output files.

Initialisation of variables (not arrays) contained in PRISMDrv module.

Call MPI_Init
Check rank of the application driver in MPI_COMM_WORLD. MPI_COMM_WORLD contains all the procs of the driver and of the different applications
Determine PRISMdrv_root (min rank among all the procs of MPI_COMM_WORLD but with the proc of the psmile put to huge).

Open and redirect local output files