Hi,


Yup some OFED build need the 32 bit flag. The earlier issue I had is OFED 1.3 can't install properly with --build32 option. If it worked, then openmpi 1.2.5 32 bit woulr be installed as well. It's a chicken and egg thing.

However now what I've done is to re-install OFED 1.3.1 plus the 32 bit stuff.

./configure --prefix=/usr/mpi/gcc/32bit --with-openib=/usr CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32

worked without a problem. And then make and install worked too. Just need to set the path then I'm done - I think.

Thanks for the input. It's been helpful.



On Wed, Aug 13, 2008 at 4:32 PM, Pavel Shamis (Pasha) <pasha@dev.mellanox.co.il> wrote:
Usually OFED installs only 64 bit version of libibverbs. If you want to install 32bit and 64bit version  you need pass "--build32" flag to OFED install. So after reinstalling OFED with 32bit support, you may rebuild the OMPI for 32 bit support.

Regards,
Pasha



Mohd Radzi Nurul Azri wrote:
Hi,


Thanks for the prompt reply. This might be basic but typically where is the 32 bit ofed libs? I think the default install prefix is /usr and my guess is the 64 bit libs is in /usr/lib64 . Where do I look for the 32 bit ofed libs? I remembered during the ofed build that passing 32 bit build argument failed - will it still install an OFED 32 bit libs?



On Wed, Aug 13, 2008 at 1:40 AM, Jeff Squyres <jsquyres@cisco.com <mailto:jsquyres@cisco.com>> wrote:

   You probably need to add
   --with-openib-libdir=/path/to/your/32/bit/ofed/libs.  I'm guessing
   that the system installed the 64 bit libs in the default location
   and the 32 bit libs in a different location.  If that's the case,
   then --with-openib-libdir will tell OMPI specifically where to
   look for those libs and use those instead.



   On Aug 12, 2008, at 1:32 PM, Mohd Radzi Nurul Azri wrote:


       Hi,


       I've been trying to install openmpi 1.2.5 on my cluster system
       running RHEL 4 (x64) with OFED 1.3. I need openmpi 1.2.5 (32
       bit) and OFED seems to only install 64 bit version. I tried to
       build OFED with 32 bit support but it failed so I figure it's
       best to just compile 32 bit openmpi. I followed the FAQ and
       few user experience on the web.

       I ran this command:
       ./configure --prefix=/usr/mpi/gcc/32bit --with-openib=/usr
       CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32

       and after few scrolling lines, it stops here:
       --- MCA component btl:openib (m4 configuration macro)
       checking for MCA component btl:openib compile mode... dso
       looking for header without includes
       checking infiniband/verbs.h usability... yes
       checking infiniband/verbs.h presence... yes
       checking for infiniband/verbs.h... yes
       looking for library without search path
       checking for ibv_open_device in -libverbs... no
       looking for library in lib
       checking for ibv_open_device in -libverbs... no
       looking for library in lib64
       checking for ibv_open_device in -libverbs... no
       checking for ibv_create_srq... no
       checking for ibv_get_device_list... no
       checking for ibv_resize_cq... no
       configure: WARNING: OpenFabrics support requested (via
       --with-openib) but not fo  und.
       configure: WARNING: If you are using libibverbs v1.0 (i.e.,
       OFED v1.0 or v1.1),   you *MUST* have both the libsysfs
       headers and libraries installed.  Later versio  ns of
       libibverbs do not require libsysfs.
       configure: error: Aborting.


       What went wrong? From the error it says early OFED version
       which is not the one I'm using (running OFED 1.3 now).

       Any advice is greatly appreciated.


       --        Thank you.

       azri
       _______________________________________________
       users mailing list
       users@open-mpi.org <mailto:users@open-mpi.org>

       http://www.open-mpi.org/mailman/listinfo.cgi/users



   --    Jeff Squyres
   Cisco Systems

   _______________________________________________
   users mailing list
   users@open-mpi.org <mailto:users@open-mpi.org>

   http://www.open-mpi.org/mailman/listinfo.cgi/users




--
Thank you.

Nurul Azri Mohd Radzi
------------------------------------------------------------------------


_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
Thank you.

Nurul Azri Mohd Radzi