Discussion:
[OMPI users] Basic build trouble on RHEL7
Ray Sheppard
2017-04-27 20:54:09 UTC
Permalink
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
John Hearns via users
2017-04-27 21:02:25 UTC
Permalink
Ray, probably a stupid question but do you have the hwloc-devel package
installed?
And also the libxml2-devel package?
Post by Ray Sheppard
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.
#!/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
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Ray Sheppard
2017-04-27 21:05:42 UTC
Permalink
Ha ha, Most likely not. Theses racks have only been out of single user
mode about 24 hours. I thought something simple might be missing. Thanks.
Ray
Post by John Hearns via users
Ray, probably a stupid question but do you have the hwloc-devel
package installed?
And also the libxml2-devel package?
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
<http://libopen-rte.la>." Then it cannot find -lhwloc or -lxml2.
There are copies of both in /usr/lib64. I tried many variations
#!/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
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
<https://rfd.newmexicoconsortium.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Ray Sheppard
2017-04-28 03:23:37 UTC
Permalink
The -dev packages were missing. It works now. Thanks again.
Ray
Post by Ray Sheppard
Ha ha, Most likely not. Theses racks have only been out of single
user mode about 24 hours. I thought something simple might be
missing. Thanks.
Ray
Post by John Hearns via users
Ray, probably a stupid question but do you have the hwloc-devel
package installed?
And also the libxml2-devel package?
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
<http://libopen-rte.la>." Then it cannot find -lhwloc or -lxml2.
There are copies of both in /usr/lib64. I tried many variations
#!/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
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
<https://rfd.newmexicoconsortium.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Loading...