AMBER Archive (2005)

Subject: Re: AMBER: AMBER8 Compile Error on Dual Opteron

From: David A. Case (case_at_scripps.edu)
Date: Sun Mar 06 2005 - 22:24:27 CST


On Sun, Mar 06, 2005, Thomas Patko wrote:

> pgcc -c -O2 -Mcache_align -o wallclock.o wallclock.c
> PGC-F-0206-Can't find include file stddef.h (/usr//include/bits/types.h: 31)
> PGC/x86-64 Linux/x86-64 5.2-4: compilation aborted

You could try a couple of things: the easiest is to include -DF90_TIMER
in your config.h file as an AMBERBUILDFLAG. This will make sander a pure
f90 program, with no need to compile wallclock.c. Or, you could try to
compile wallclock.c with gcc instead of pgcc. Or, you could figure out how
to write a portable interface to the system timeofday routines .. :-)

If this is your only problem, you are in great shape...the routines in
wallclock.c can even be stubbed out to do nothing with no real loss in
functionality.

...good luck...dac

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