AMBER Archive (2006)

Subject: Re: AMBER: Problems compiling amber9

From: David A. Case (case_at_scripps.edu)
Date: Mon May 22 2006 - 13:46:09 CDT


On Mon, May 22, 2006, Don Harden wrote:

>
> However the compilation dies with gcc -m32 -c -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -O2 -o mmtsb_client.o mmtsb_client.c
> -----------------------------------
> cc1: Invalid option `32'

> Removing the -m32 flag at CC and LOADCC in config.h allows amber to
> compile, but the test suit dies.

Some basic questions:

1. What does "uname -m" return:, i.e. what sort of CPU do you have?

2. What part of the test suite gives problems? Note that mmtsb_client.c is
just a dummy routine, so it's really frustrating (for both users and us!)
that C-compiler problems are inhibiting compilation of sander.

If you also set -DF90_TIMER in AMBERBUILDFLAGS, there will be no C code
at all in sander. This should isolate Fortran compiler problems from gcc
problems. So (if it is indeed sander that is failing in the test suite) you
might try that option.

3. Does the man page for your gcc installation indicate that "-m32" is
supposed to be a valid option? It certainly is true that we have not
tested things with gcc 2.96 (and that particular version always had some
problems, compared to 2.95 or 3.x or 4.x), but these messages are mysterious.

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