AMBER Archive (2005)

Subject: AMBER: antechamber dimesion size, again

From: Toshifumi Yui (tyui_at_cc.miyazaki-u.ac.jp)
Date: Thu Oct 06 2005 - 04:44:29 CDT


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
  RING ring[MAXRING];
       ^

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" ?

Sincerely,

Toshifumi Yui
Miyazaki University, Miyazaki 889-2192 Japan

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