You probably just want to pass the relevant compiler/linker flags to
Open MPI's configure script, such as:
./configure CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32 ...
You need to pass them to all four language flags (C, C++, F77, F90).
I used -m32 as an example here; use whatever flag(s) is(are) relevant
for your compiler.
On Oct 1, 2009, at 10:43 AM, Nader Ahmadi wrote:
> Hello,
>
> We have 64 bit linux box. For a number of reason I need to build a
> 32 bit
> openMPI.
>
> I have searched FAQ and archived mail, but I couldn't find a good
> answer.
> There are some references to this question, in the developer mailing
> list with no clear
> response.
>
> I am I looking for is:
> How do I force the configure, and make to build a 32 bit OMPI on a
> 64 bit linux.
>
>
>
> Thanks
>
> Nader,
>
> .
>
> Microsoft brings you a new way to search the web. Try Bing now
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
--
Jeff Squyres
jsquyres_at_[hidden]
|