AMBER Archive (2005)

Subject: Re: AMBER: AMBER 8 installation problem -- undefined reference to `EXIT'

From: Wei Zhang (zweig_at_pku.edu.cn)
Date: Tue Mar 22 2005 - 19:34:26 CST


Dear Lu,

sorry, the last solution seems not to be a good one. try this:

./configure absoft
edit config.h, make sure Line 50 is fc= f90, not fc= f90 -YEXT_NAMES=lcs,
that means cancel my last suggestion.

then,
turn Line 59 from,
        LOAD = f90 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
to
        LOAD = f90 $(LOCALFLAGS) $(AMBERBUILDFLAGS) -lU77 -L/opt/absoft/lib
Here I assume your absoft is installed on the directory /opt/absoft as mine does and there is
a file libU77.a in the directory /opt/absoft/lib

then,

        make clean
        make

That might work Good Luck!

Wei Zhang

----- Original Message -----
From: <luckyang_at_gmail.com>
To: <amber_at_scripps.edu>
Sent: Wednesday, March 23, 2005 8:46 AM
Subject: Re: AMBER: AMBER 8 installation problem -- undefined reference to `EXIT'

> Dear Dr. Zhang,
>
> Many thanks, Your solution solves the "exit" problem. Now I got new
> problems during compiling sander:
>
> cf90-1640 f90fe: ERROR CNSTPHREAD, File = _mdread.f, Line = 1493, Column = 39
> Dummy arguments with the INTENT(OUT) attribute must be defined before use.
>
> = chrgdat(stateinf(itres)%first_charge + iatom &
> !corresponding atom charge value
>
> I also meet get the following when I compile nmode:
>
> new_stuff.o(.text+0x1adf): In function `politr':
> : undefined reference to `wallclock'
> nmdfil.o(.text+0x189): In function `nmdfil':
> : undefined reference to `iargc'
> nmdfil.o(.text+0x1c2): In function `nmdfil':
> : undefined reference to `getarg'
> ../lib/sys.a(sys.o)(.text+0x26): In function `amdate':
> : undefined reference to `fdate'
> ../lib/sys.a(sys.o)(.text+0x10b): In function `amflsh':
> : undefined reference to `flush'
>
> Is this due to my compiler?
>
> Thanks,
>
> Lu
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu