Re: amber-developers: Re: AMBER: Amber Installation Help; link woes

From: David A. Case <case.scripps.edu>
Date: Fri, 11 Aug 2006 10:57:51 -0700

On Fri, Aug 11, 2006, Scott Brozell wrote:
> >
> > > > Second, edit config.h (in $AMBERHOME/src) and substitute mpif90 (or
> > > > the executable wrapper ) for "g95". This may help find the correct
> > > > libraries to link in.
> >
> > > I am not convinced that this user's problem is due to our configure.
> > > In effect configure implements your second suggestion.
> >
> > I don't see how configure "implements my second suggestion"(?) For options
> > hpf90 and xlf90_suse, the "fc" (fortran compiler) variable is set to
> > mpif90, but not for other input options.
>
>
> For the other options there is something like this:
> loadlib=`$MPI_HOME/bin/mpif90 -show | perl -p -e
> which is suppose to in effect put all the flags in the wrapper into our
> load command.

This *should* solve the linking problem, but does nothing to help with an
mpif.h file that itself has an interior include statement. This latter
problem does happen with the latest openmpi (i.e. I can verify this problem).

...dac
Received on Sun Aug 13 2006 - 06:07:15 PDT
Custom Search