Files
astaroth/samples/mpitest/README.txt
2020-01-15 16:56:02 +02:00

12 lines
301 B
Plaintext

This directory is used to test MPI with Astaroth.
Building (in the base astaroth directory):
cmake -DBUILD_SAMPLES=ON -DMPI_ENABLED=ON -DCMAKE_CXX_COMPILER=$(which mpicxx) .. && make -j
Running:
mpirun -np <nprocs> ./mpitest
or
srun <options> ./mpitest # With slurm
or
a batch script of your choice