Boost logo

Boost-Build :

Subject: Re: [Boost-build] Mpi address model flag
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-02-18 13:41:49


On Thursday 18 February 2010 20:16:55 K. Noel Belcourt wrote:

> Hi,
>
> I'm trying to get the trunk Sun MPI tests working. Because I build
> address-model-64 for Sun, I seem to need to invoke MPI with -m64 or
> else I get library link errors because the missing -m64 causes MPI to
> return the 32 bit libraries. Is there a general way to make MPI use
> the address-model-64 flag from the toolset we build with? That is,
> can MPI be made to run with the current address-model flag from
> sun.jam? I don't see an easy way to do this without hard-coding the
> flag somewhere.

Do you mean that the commands that return includes/libraries for MPI
has to be passed the -m64 flag? Are you using 64-bit by specifying
address-model=64 on the command line?

Thanks,

--
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk