
./configure tries to execute an MPI test, which is not possible on most HPC platforms (if you don't build on a compute node), so this check is disabled to allow the build to proceed. Ideally we could check this by placing constraints on the MPI that Spack builds (e.g. require building a version that is guaranteed to have threading support).