...
In the following example, we prepared a C script that calculates the value of pi and we compiled it with:
Code Block |
---|
module load mpicompilers/openmpi-4-1-x865_64gcc12.3 mpicc example.c -o picalc.mpi |
...
Code Block |
---|
-bash-4.2$ module list Currently Loaded Modulefiles: 1) mpicompilers/openmpi-4-1-x865_64gcc12.3 |
To execute multi-node job is required to enable passwordless access inside the cluster. It can be achieved executing the following commands:
...