AMBER: antechamber dimesion size, again

From: Toshifumi Yui <>
Date: Thu, 6 Oct 2005 18:44:29 +0900

Dear Dr. Junmei Wang

This inquery relates to your advice on Sept. 4th for my trouble of
antechamber dimension to apply C60 system.

>Just increase the MAXRING to 100 times of the default size and recompile
>the program. I have no trouble to generate the prep file from a mol2
>input file for Buckyball.

I'ma afraid that it did not work. Although increasing MAXRING in define.h,
even more than your suggestion, I have received the mesage from program,

The ring number exceeds MAXRING, increase MAXRING and recompile the
programs, ex
itCannot open file ANTECHAMBER_BOND_TYPE.AC, exit

Finally, MAXRING=100000000, 100000 times of default size, the compiler
reproted the following massage.

icc -c -O2 -o am1bcc.o am1bcc.c
gcc -static -O2 am1bcc.o -lm -o am1bcc
icc -c -O2 -o antechamber.o antechamber.c
ring.c(68): error: array is too large
        RING ringbak[MAXRING];

antechamber.c(48): error: array is too large

compilation aborted for antechamber.c (code 2)
make: *** [antechamber.o] Error 2

So, what is problem with me ? I should modify the MAXRING entory in some
other part instead of that in "define.h" ?


Toshifumi Yui
Miyazaki University, Miyazaki 889-2192 Japan

The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Thu Oct 06 2005 - 10:53:00 PDT
Custom Search