Re: AMBER: Troubling with installing Amber8

From: David A. Case <case.scripps.edu>
Date: Sun, 9 Dec 2007 09:18:29 -0800

On Sun, Dec 09, 2007, #NGUYEN CONG TRI# wrote:
>
> I downloaded the bugfix.all and did according to the instruction.
> Then I tried to compile it using
> $./configure -p4 ifort
> but it does work.

Assuming that you meant to say "it does not work", we would need details to be
of any help.

> So I downloaded the config,h file distributed in previous thread, and just
> changed the AMBER_SRC variable according to my path, so it was:
> AMBER_SRC=/home/lyz/amber8/src. I attached the configure file, please find
> it.

I'm not sure where you got the config.h file, but it seems to have been
corrupted:

>
> # default rules for Fortran and C compilation:
>
> ..f.o: $<
> $(FPP) $< > $(FPP_PREFIX)$<
> $(FC) -c $(FFLAGS) -o $. $(FPP_PREFIX)$<
>
> ..f90.o: $<
> $(FPP) $< > $(FPP_PREFIX)$<
> $(FC) -c $(FFLAGS) -o $. $(FPP_PREFIX)$<
>
> ..c.o:
> $(CC) -c $(CFLAGS) $(CPPFLAGS) -o $. $<
>

In the lines that begin with ".", there should only be one ".", not two.

Amber 8 was released before there was a stable g95, but I think you should be
able to get this to work.

...dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Dec 12 2007 - 06:07:08 PST
Custom Search