AMBER: building AMBER9 with gfortran/cygwin

From: Jyh-Shyong Ho <c00jsh00.nchc.org.tw>
Date: Fri, 25 Aug 2006 10:30:02 +0800

Hi,

I am trying to build AMBER9 on CYGWIN with gcc 4.1.1, most modules can be
compiled successfully, however, it failed at compiling sander:
 
.....
gfortran -c -O0 -fno-second-underscore -ffree-form -DREM -o lmod.o _lmod.f
 In file _lmod.f:250

   character(len=len(MVPM_FORWARD)) ::
matrix_vector_product_method=MVPM_FORWARD
                                                                  1
Error: 'matrix_vector_product_method' at (1) must have constant
character length in this context
 In file _lmod.f:262

   character(len=len(MC_METHOD_QUICK_QUENCH)) :: Monte_Carlo_method &
                                                                  1
Error: 'monte_carlo_method' at (1) must have constant character length
in this context
 In file _lmod.f:325

   character(len=len(XMIN_METHOD_LBFGS)) :: xmin_method = XMIN_METHOD_LBFGS
                                                      1
Error: 'xmin_method' at (1) must have constant character length in this
context
make[1]: *** [lmod.o] Error 1
make[1]: Leaving directory
`/cygdrive/d/temp/cygwin/home/c00jsh00/amber9/src/sander'
make: *** [serial] Error 2

Any hint on how to solve the problem?

Jyh-Shyong Ho, Ph.D.
Research Scientist
National Center for High Performance Computing
Hsinchu, Taiwan, ROC

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Aug 27 2006 - 06:07:19 PDT
Custom Search