Re: AMBER: AMBER8 Compile Error on Dual Opteron

From: David A. Case <>
Date: Sun, 6 Mar 2005 20:24:27 -0800

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

....good luck...dac

The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Mon Mar 07 2005 - 04:53:01 PST
Custom Search