1.1. Prepare your environment

$ module load imasenv/3.24.0/rc # if not set yet

Before proceeding any further, make sure you have configured your Kepler environment. Take a look here 00. Initial setup or here 05.3. IMAS - basic topics - environment set-up(POZ'19Oct)

1.2. Sample codes of using mpi

Prepare example:

$ cd mpi/fortran
$ module load imasenv       # load environment if not set
$ tree
.
├── expected_output.txt
├── Makefile
├── mpi_batch_fc2k.xml
├── mpi_host_fc2k.xml
├── mpi_open_batch_fc2k.xml
├── mpi_open_host_fc2k.xml
├── mpi_workflow.xml
├── nocpompi.f90
└── run_test.sh

Run example:

$ ./run_test.sh
building actor - mpi_batch_fc2k.xml - OK
Skipping log removal
building actor - mpi_host_fc2k.xml - OK
Skipping log removal
building actor - mpi_open_batch_fc2k.xml - OK
Skipping log removal
building actor - mpi_open_host_fc2k.xml - OK
Skipping log removal
workflow execution - OK
Skipping log removal
mpi - OK
Skipping log removal

The same example in Kepler:

1.3. Comparison of actor configurations

mpi_batch actor configurationmpi_host actor configuration

mpi_open_batch actor configurationmpi_open_host actor configuration




  • No labels