AMBER Archive (2007)

Subject: RE: AMBER: Troubling with installing Amber8

From: #NGUYEN CONG TRI# (NGUY0045_at_ntu.edu.sg)
Date: Thu Dec 13 2007 - 08:19:47 CST


Dear Sir,
 
Thank you for your helping. I modified file config.h already. Everything seemed to be going well untill the compiler went into leap. It got some error compiling file WcCreate.h and WcActCB.c. Here are some examples:
 
WcCreate.h:816: error: expected ')' before 'char'
WcCreate.h:829: error: expected ')' before 'char'
WcCreate.h:842: error: expected ')' before 'char'
WcCreate.h:850: error: expected ')' before 'char'
.......
WcActCB.c:31:28: error: X11/StringDefs.h: No such file or directory
WcActCB.c:49: warning: parameter names (without types) in function declaration
WcActCB.c: In function 'WcxActProcWidget':
WcActCB.c:54: error: expected declaration specifiers before 'Widget'
............
 
So is it because of the C compiler ?
To summerize, what I did is I used the config.h file attached above and then
  $make serial
I also attached file WcCreate.h and WcActCB.c . Sorry for bothering me but please help me to check. I has to get it done.
Thanks alot
 
Regards,
Cong Tri
________________________________

From: owner-amber_at_scripps.edu on behalf of David A. Case
Sent: Mon 12/10/2007 1:18 AM
To: amber_at_scripps.edu
Subject: Re: AMBER: Troubling with installing Amber8

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







-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu