[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bgl-discuss] more MPI link problems



That was it - order of the object files and libraries was reversed.  

Thanks for your help.

Katie


On Thu, 6 Oct 2005, Satish Balay wrote:

> 
> Most likely like the link order of object files & libraries is wrong.
> -lmpich.rts etc shouldn't be specified as LD. You'll have to do
> something like the following in your makefile to get the order
> correct:
> 
> LD        = blrts_xlf 
> MPI_LIBS = -L/bgl/BlueLight/ppcfloor/bglsys/lib -lmpich.rts -lmsglayer.rts -ldevices.rts -lrts.rts -ldevices.rts
> 
> LINK command:
> 
> ${LD} ${MY_OBJFILES} ${MPI_LIBS}
> 
> The basic issue is 'blrts_XXX' are still the recommended compilers
> instead of proper mpiXXX scripts [IBM has some versions internally -
> and some of us have them/alternate-versions in our private collection]
> 
> One workarround is to use:
> 
> CC=/home/balay/bin/mpicc.ibm
> FC=/home/balay/bin/mpif77.ibm
> LD=/home/balay/bin/mpif77.ibm
> 
> Satish
> 
> > Katie Antypas wrote:
> 
> > > LD = blrts_xlf -L/bgl/BlueLight/ppcfloor/bglsys/lib -lmpich.rts -lmsglayer.rts -ldevices.rts -lrts.rts -ldevices.rts
> 
> - --------------------------------------------------------------------
> To add or remove yourself from this mailing list, use the 'notifyme'
> command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.
> 

-- 

- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.