So I got around this problem by building a 64bit version of libsysfs from the src rpm. However now during the "make all install" phase the compilation is dying on a bunch of incompatibilities. As it states those files are 32bit and I need the 64bit ppc version. Not sure why they are being built as 32 bit since I have CFLAGS and LDFLAGS set. Is there something I am missing ? (those files are built by the make)
/usr/bin/ld: warning: powerpc:common architecture of input file `.libs/mpicxx.o' is incompatible with powerpc:common64 output
/usr/bin/ld: warning: powerpc:common architecture of input file `.libs/intercepts.o' is incompatible with powerpc:common64 output
/usr/bin/ld: warning: powerpc:common architecture of input file `.libs/comm.o' is incompatible with powerpc:common64 output
/usr/bin/ld: can not size stub section: Bad value
/usr/bin/ld: .libs/libmpi_cxx.so.0.0.0: Not enough room for program headers, try linking with -N
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libmpi_cxx.la] Error 1
make[3]: Leaving directory `/root/ompi/openmpi-1.1a3/ompi/mpi/cxx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/ompi/openmpi-1.1a3/ompi/mpi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ompi/openmpi-1.1a3/ompi'
make: *** [all-recursive] Error 1
Hello,
I have been trying to get openmpi to install (./configure --prefix=/opt/ompi --with-openib=/usr/local/ofed) using various methods on rhel4 u3 ppc64. No matter what method I use when I try to build 64bit (32bit works) it fails while searching for sysfs. I know that redhat only distributes sysfsutils (which supplies libsysfs.so.1.0.2) in 32bit format. I was wondering if there was a workaround for this problem. I have been unable to find a ppc64 version of libsysfs. The error is contained in the attached log. Here is a summary:
--- MCA component btl:openib (m4 configuration macro)
checking for MCA component btl:openib compile mode... dso
checking for sysfs_open_class in -lsysfs... no
configure: error: OpenIB support requested but required sysfs not found. Aborting
Regards.Paul