We are installing openmpi on a host that happens to have GPFS installed. openmpi detects gpfs.h and links in libgpfs.so; but this prevents the build from being used on other systems that do not have GPFS installed. (It also means that the build depends on state that isn't expressed in its spec.)
./configure.$ spack --version
0.14.1-415-cbcac72
$ rpm -ql gpfs.base | grep -i 'gpfs\.h'
/usr/lpp/mmfs/include/gpfs.h
$ spack install openmpi
No error message in spack; but on hosts that then don't have GPFS.
libgpfs.so => not found
libpsm2.so.2 => not found
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
spack --version and reported the version of SpackI think I've got a working patch, but we're still testing internally before I submit the PR.
Most helpful comment
I think I've got a working patch, but we're still testing internally before I submit the PR.