AMBER Archive (2007)

Subject: Re: AMBER: Troubling with installing Amber8

From: David A. Case (case_at_scripps.edu)
Date: Sun Dec 09 2007 - 11:18:29 CST


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_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu