Updated samples to have consistent naming

This commit is contained in:
jpekkila
2020-01-15 16:56:02 +02:00
parent efa95147f3
commit 65d9274eaa
7 changed files with 74 additions and 82 deletions

View File

@@ -6,4 +6,4 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(mpitest main.cc)
target_link_libraries(mpitest astaroth_core)
target_link_libraries(mpitest astaroth_core astaroth_utils)

View File

@@ -1 +1,11 @@
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