Closed ocaisa closed 2 years ago
That works at least as far back as OpenMPI 3.1.1:
[ocaisa@generoso ~]$ mpicc --showme:version | grep "Open MPI" && echo Success
mpicc: Open MPI 3.1.1 (Language: C)
Success
The patch given in #8 should help you.
Can you try it and tell me if -DOPENMPI_ROOT=$EBROOTOPENMPI
works after applying?
Your CMake check:
is failing for me even though I provide
-DOPENMPI_ROOT=$EBROOTOPENMPI
(and all the other checks for MPI have passed).The content of
compiler_out
isI was wondering if there is a reason to do a case sensitive search (I see the commented out version is case insensitive).
Maybe I am missing the point of this test? If the point is to check if
mpicc
is OpenMPI, you could usewhich would be a more explicit check.