Ray Sheppard
2017-04-27 20:54:09 UTC
Hi All,
I have searched the mail archives because I think this issue was
addressed earlier, but I can not find anything useful.
We are standing up a few racks of RHEL-7 on Intel to slowly migrate
the cluster from RHEL6. I downloaded 2.1.0 to install. All goes well
until about "CCLD libopen-rte.la." Then it cannot find -lhwloc or
-lxml2. There are copies of both in /usr/lib64. I tried many
variations of fixes. The most extreme is:
#!/bin/bash
export LT_SYS_LIBRARY_PATH=/usr/lib64
export CC="gcc -L/usr/lib64 "
export CXX="g++ -L/usr/lib64 "
export FC="gfortran -L/usr/lib64 "
./configure CC="gcc -L/usr/lib64 " CXX="g++ -L/usr/lib64 " FC="gfortran
-L/usr/lib64 " --enable-static --with-hwloc-libdir=/usr/lib64
--with-threads=posix --disable-vt --prefix=/N/soft/rhel7/openmpi/gnu/2.1.0
#----
Nothing worked. I thought maybe the older 1.X might not use HWLOC and
I see you still support it at 1.10.6. I downloaded that and gave it a
try. The -lhwloc message was gone but -lxml2 was still there. For fun,
I tried the build on the rhel6 side. With only a "regular' configure
(./configure CC=gcc CXX=g++ FC=gfortran --enable-static
--with-threads=posix --disable-vt
--prefix=/N/soft/rhel6/openmpi/gnu/2.1.0 ) it worked just fine. I would
appreciate knowing what I am missing. Thanks.
Ray
I have searched the mail archives because I think this issue was
addressed earlier, but I can not find anything useful.
We are standing up a few racks of RHEL-7 on Intel to slowly migrate
the cluster from RHEL6. I downloaded 2.1.0 to install. All goes well
until about "CCLD libopen-rte.la." Then it cannot find -lhwloc or
-lxml2. There are copies of both in /usr/lib64. I tried many
variations of fixes. The most extreme is:
#!/bin/bash
export LT_SYS_LIBRARY_PATH=/usr/lib64
export CC="gcc -L/usr/lib64 "
export CXX="g++ -L/usr/lib64 "
export FC="gfortran -L/usr/lib64 "
./configure CC="gcc -L/usr/lib64 " CXX="g++ -L/usr/lib64 " FC="gfortran
-L/usr/lib64 " --enable-static --with-hwloc-libdir=/usr/lib64
--with-threads=posix --disable-vt --prefix=/N/soft/rhel7/openmpi/gnu/2.1.0
#----
Nothing worked. I thought maybe the older 1.X might not use HWLOC and
I see you still support it at 1.10.6. I downloaded that and gave it a
try. The -lhwloc message was gone but -lxml2 was still there. For fun,
I tried the build on the rhel6 side. With only a "regular' configure
(./configure CC=gcc CXX=g++ FC=gfortran --enable-static
--with-threads=posix --disable-vt
--prefix=/N/soft/rhel6/openmpi/gnu/2.1.0 ) it worked just fine. I would
appreciate knowing what I am missing. Thanks.
Ray