Updated samples to have consistent naming
This commit is contained in:
@@ -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)
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user