ExaWorks / SDK

ExaWorks SDK
11 stars 12 forks source link

Base: Add MPI ENV Variable #79

Closed zekemorton closed 2 years ago

zekemorton commented 2 years ago

It would be useful to to know what mpi is installed, especially when running some tests. Primary example is the Swift-t tests, for openMPI, the variable allow-run-as-root is set, but this cause a run time error for mpich.

andre-merzky commented 2 years ago

We use a heuristic to determine MPI flavor - in case this might be useful, have a look here (it works for both mpirun and mpiexec)

j-woz commented 2 years ago

That looks fine- can we package that in base as a shell-accessible tool?