Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] heterogenous cluster
From: David Mathog (mathog_at_[hidden])
Date: 2011-02-02 11:47:34


jody <jody.xha_at_[hidden]> wrote:

> How can i force OpenMPI to be built as a 32Bit application on a 64Bit
machine?

THe easiest way is not to - just copy over a build from a 32 bit
machine, it will run on your 64 bit machine if the proper 32 bit
libraries have been installed there. Otherwise, you need to put -m32
on the gcc commmand lines. Generally one does that by something like:

 export CFLAGS=-m32

before running configure to generate Makefiles.

Regards,

David Mathog
mathog_at_[hidden]
Manager, Sequence Analysis Facility, Biology Division, Caltech