We are trying to build Open MPI on a system that happens to have GPFS 
installed. This appears to cause Open MPI to detect gpfs.h and link against 
libgpfs.so. We are trying to build a central software stack for use on multiple 
clusters, some of which do not have GPFS. (It is our experience that this 
provokes an error, as libgpfs.so is not found on these clusters.) To 
accommodate this I want to build openmpi explicitly without linking against 
GPFS.

I tried to accomplish this with

./configure --with-io-romio-flags='--with-file-system=ufs+nfs'

But gpfs was still linked.

configure:397895: result: -lhwloc -ldl -lz -lpmi2 -lrt -lgpfs -lutil -lm 
-lfabric

How can I tell Open MPI to not link against GPFS?

~jonathon


p.s., I realize that I could just build on a system that does not have GPFS 
installed; but I am trying to genericize this to encapsulate in the Spack 
package. I also don't understand why the Spack package is detecting gpfs.h in 
the first place, as I thought Spack tries to isolate its build environment from 
the host system; but I'll ask them that in a separate message.

Reply via email to