You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prefix and exec_prefix are not set in cray-xpmem.pc; this leaves these variables empty when processed by pkgconf/pkg-config, resulting in erroneous includedir and libdir variables. In my case, a spurious -L/lib got into my link line for Open MPI, causing my linker to attempt to link to 32-bit versions of libm, libc, etc. into a 64-bit build. Needless to say, that did not go well.
This occurs because Autoconf variables are not expanded recursively during substitution. Simply adding the following to the top of cray-xpmem.pc.in should be sufficient to fix this.
prefix=@prefix@
exec_prefix=@exec_prefix@
I believe that module.in has a similar issue.
The text was updated successfully, but these errors were encountered:
prefix
andexec_prefix
are not set incray-xpmem.pc
; this leaves these variables empty when processed bypkgconf
/pkg-config
, resulting in erroneousincludedir
andlibdir
variables. In my case, a spurious-L/lib
got into my link line for Open MPI, causing my linker to attempt to link to 32-bit versions of libm, libc, etc. into a 64-bit build. Needless to say, that did not go well.This occurs because Autoconf variables are not expanded recursively during substitution. Simply adding the following to the top of
cray-xpmem.pc.in
should be sufficient to fix this.I believe that
module.in
has a similar issue.The text was updated successfully, but these errors were encountered: