ECP-VeloC / redset

Low-level distributed erasure coding library to protect datasets of MPI applications
MIT License
2 stars 3 forks source link

test assumes mpirun accepts -N option #20

Closed rhaas80 closed 2 years ago

rhaas80 commented 3 years ago

In

https://github.com/ECP-VeloC/redset/blob/638c6501a6ce02c6fdf95e72c92b1c8a40e5cacb/test/CMakeLists.txt#L11

the test assume that

${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 2 -N2 ./redset_test

is generically valid, however -N is not a documented option of mpiexec and seems to mostly be an srun or so option to specify how many ranks per node to use. It fails eg if RESOURCE_MANAGER=NONE is used and OpenMPI is the mpi stack.

CamStan commented 2 years ago

36 and #37 should have resolved this.