AMBER Archive (2005)

Subject: Re: AMBER: Leap compilation issues

From: David A. Case (case_at_scripps.edu)
Date: Mon Jul 11 2005 - 00:13:04 CDT


On Sun, Jul 10, 2005, justin litchfield wrote:

> i am now trying to install amber on a new Athlon 64 running FC4.
> everything seems to go great, i'm using gcc 4, ifc 8.1, but when it
> gets to the leap installation it crashes out.

> MapAg.c:190: warning: cast from pointer to integer of different size
> MapAg.c:209: warning: cast from pointer to integer of different size

> WcActCB.c:1536: error: syntax error before ???}??? token
> WcActCB.c:1538: error: syntax error before ???(??? token

I know this is question that mainly reflects by ignorance, but is "Athlon 64
running FC4" a 64-bit OS (where pointers are 64-bit). xleap is probably
broken on such a platform. See the comments in $AMBERHOME/src/Makefile
on how to compile for tleap only (which seems to be 64-bit clean).

If any amber users know the answers to the following questions, please post
them:

1. Has anyone gotten xleap to run in 64-bit mode? How?

2. Are there compile/load options that can force a 32-bit build?

3. If you take an xLeap executable from an IA-32 machine, and try to run it
on a 64-bit machine, will it work?

4. Has anyone used gcc 4 to compiler xaLeap on a 32-bit system?

5. Has anyone every seriously looked a compiler warnings like those cited
above, and thought about whether things could be fixed?

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