Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] [BUG?] OpenMPI with openib on SPARC64: Signal: Bus error (10)
From: Lukas Razik (linux_at_[hidden])
Date: 2011-11-23 19:36:00


Hello Larry, I thank you for this helpful tip! Regards and have a nice day, Lukas >________________________________ > Von: Larry Baker <baker_at_[hidden]> >An: Open MPI Developers <devel_at_[hidden]> >Cc: Lukas Razik <linux_at_[hidden]>; Roland Dreier <roland_at_[hidden]> >Gesendet: 20:10 Mittwoch, 23.November 2011 >Betreff: Re: [OMPI devel] [BUG?] OpenMPI with openib on SPARC64: Signal: Bus error (10) > > >I think of -m32 (and -m64) as really selecting a different compiler.  My practice is to put those flags in the compiler/linker environment variables.  For example: > > ># ./configure >configure.log 2>&1 \ >>   --prefix=/usr/local/openmpi --with-sge \ >>   CC="gcc -m32" \ >>   CFLAGS="-g -O3" \ >>   CXX="g++ -m32" \ >>   CXXFLAGS="-g -O3" \ >>   FC="gfortran -m32" \ >>   FCFLAGS="-g -O3" \ >>   F77="gfortran -m32" \ >>   FFLAGS="-g -O3" > > >Larry Baker >US Geological Survey >650-329-5608 >baker_at_[hidden] > >On 23 Nov 2011, at 10:52 AM, TERRY DONTJE wrote: > >On 11/23/2011 1:45 PM, Lukas Razik wrote: >>TERRY DONTJE <terry.dontje_at_[hidden]> wrote >>>Can you build OMPI as a 32 bit library and see if that works any better? >>>So you mean I shall leave the whole OFED stack as 64 bit and build only openmpi as 32 bit? I believe the OFED user libraries will need to be 32 bit also or the 32 bit MPI libraries will not be able to use them. >> >>How must I configure openmpi that it'll be definitely built as 32bit? You need to change the CFLAGS, CXXFLAGS, FFLAGS and FCFLAGS in the configure line such that you replace "-m64" with "-m32" or just "-m32" if "-m64" is not there? >> >>Regards, Lukas >> >>-- >> >> <mime-attachment.gif> >> >>Terry D. Dontje | Principal Software Engineer >> >>Developer Tools Engineering | +1.781.442.2631 >> Oracle - Performance Technologies >>95 Network Drive, Burlington, MA 01803 >>Email terry.dontje_at_[hidden] >> >> >> >> _______________________________________________ >>devel mailing list >>devel_at_[hidden] >>http://www.open-mpi.org/mailman/listinfo.cgi/devel > > >