The 4.1.x compilers are known buggy.
RHEL 5 (is that what you're using?) has a gcc4.4.0 option. That can work. Somewhere in the reflector, there is a detailed description how to deal with that. I do recommend changing /usr/local in that discussion to /opt. I can help if you need.
:-) Lachele
Dr. B. Lachele Foley
Complex Carbohydrate Research Center
The University of Georgia
Athens, GA USA
lfoley.uga.edu
http://glycam.ccrc.uga.edu
________________________________________
From: MengJuei Hsieh [mengjueh.uci.edu]
Sent: Friday, April 29, 2011 4:47 PM
To: AMBER Developers Mailing List
Subject: [AMBER-Developers] Gfortran 4.1 with master branch
Hi,
I can report that gfortran 4.1 no longer builds sander anymore. Here is the
error:
gfortran -c -O3 -ffree-form -o constants.o _constants.f
_constants.f:0: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:3460
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:
http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [constants.o] Error 1
I was using gfortran 4.1.2 on Linux and I know it happened after version
c5904504 . The changes to constants.f look legit and gfortran 4.1 probably
can't handle reshape intrinsic correctly anyway. My suggestion is to retire
gcc 4.1 from the compatibility list (if there is a list).
P.S. I then started to look at g95, which can be installed in user-land
without messing with the OS, that seems to be promising...
Best,
--
Mengjuei Hsieh, Molecular Biology & Biochem, Univ. of California Irvine.
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Fri Apr 29 2011 - 14:30:02 PDT