Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Jeff Squyres \(jsquyres\) (jsquyres_at_[hidden])
Date: 2006-05-24 17:36:03


The SRPM is probably your best bet -- glad you got it working.
 
As for the errors, it's because these are C++ files. You need to also
set CXXFLAGS to the flags necessary to compile in 64 bit mode (and
F77FLAGS and FCFLAGS for Fortran 77 and 90, if you're building those
bindings).
 
Hope that helps.
 

________________________________

        From: users-bounces_at_[hidden]
[mailto:users-bounces_at_[hidden]] On Behalf Of Paul
        Sent: Wednesday, May 24, 2006 5:29 PM
        To: users_at_[hidden]
        Subject: Re: [OMPI users] Compile issue on ppc64
        
        
        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
        
        
        
        
        
        On 5/24/06, Paul <paul.lundin_at_[hidden]> wrote:

                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