Re: [AMBER-Developers] Adding fortran module into nab with some catches.

From: Mengjuei Hsieh <mengjueh.uci.edu>
Date: Thu, 11 Feb 2010 13:15:29 -0800

On Wed, Feb 10, 2010 at 08:55:48AM -0500, case wrote:
> On Tue, Feb 09, 2010, Mengjuei Hsieh wrote:
> > Instead of FLIB, my seggestion for solving the C linker on Fortran
> > routines is to use additional setting for linker like:
> > CFLINKER=$(CC) -lifcore -lifport # for intel
> > CFLINKER=$(CC) -lgfortran # for gfortran
> Is there an advantage here? The idea of FLIBS is that it includes all
> libraries that need to be searched at link time, which would seem to include
> the ones listed above. Your suggestion requires changing the nab.c code,
> and documenting the new variable. Which is why I am looking for the upside
> of this.

Hi,

I tried to add "-lgfortran" into FLIBS (via $flibs_arch in the configure
script) but gfortran doesn't like that very much and croaks up an error.
However ifort is okay with this kind of redundancy (-lifcore -lifport)

I am guessing that we need more time to figure out how to teach nab
fortran. In the meantime, I am disabling pbsa in nab so that we can
still have a working Makefile_at building process.

Best,
-- 
Mengjuei Hsieh, Luo Research Group, Molecular Biology & Biochemistry,
University of California Irvine.
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Feb 11 2010 - 13:30:02 PST
Custom Search