Re: AMBER: help to install AMBER9

From: Ye Mei <ymei.itcc.nju.edu.cn>
Date: Fri, 9 May 2008 22:55:56 +0800

check the error message carefully. It says that mpichf90 is not compatible. Modify the compiler options to make it compatible with mpichf90 library.

YMˇˇ

======== 2008-05-09 22:51:18 Jeffrey wrote========

Dear all,

   I am trying to install amber9 on the AMD 64 opteron machines. The parameters used during the configure are:
./configure -bintraj -opteron pgf90

Because the graphical interface can't be accessed, I changed the Makefile as follows:
# If the X-window stuff is not available, or does not work, comment
# out the above line, and uncomment the line below, which will
# compile just the text-only version of LEaP:
#
       cd leap/src/leap; make -f Makefile.tleap install
#

But when compiling the leap module, a segmentation error appeared and the compiling halted. Here is the error report:
-----------------------------------------
./utilMakeHelp helptext.text helptext.c
make[1]: *** [helptext.c] Segmentation fault (core dumped)
make[1]: Leaving directory `/storage/SCSI/st13/home/user/tk/amber9/src/leap/src/leap'
make: *** [serial] Error 2
----------------------------------------

When I commented the line " cd leap/src/leap; make -f Makefile.tleap install " to skip the leap module, everything is ok. The question is, if I don't use LEaP to build the system, whether the other modules will be affected by skipping the LEaP?

For a parallel installation, the following parameters are used:
./configure -bintraj -opteron -mpich pgf90

But the program complained that it couldn't find -lmpichf90 when compiling. I do find the libmpichf90.a in the mpich-gm-1.2.6/lib directory. Here is the error message:

---------------------------------------
        ../lmod/lmod.a .../lapack/lapack.a ../blas/blas.a \
        ../lib/nxtsec.o ../lib/sys.a .../netcdf/lib/libnetcdf.a -L/home/user/tk/opt/mpich-gm-1.2.6/lib -lmpichf90 -lmpich -L/opt/gm/lib/ -lgm
/usr/bin/ld: skipping incompatible /home/user/tk/opt/mpich-gm-1.2.6/lib/libmpichf90.a when searching for -lmpichf90
/usr/bin/ld: cannot find -lmpichf90
make[1]: *** [sander.MPI] Error 2
make[1]: Leaving directory `/storage/SCSI/st13/home/user/tk/amber9/src/sander'
make: *** [parallel] Error 2
------------------------------------

  Could someone please give me some suggestions on how to fix this problem?

Thanks for the time.

----------
Jeffrey

= = = = = = = = = = = = = = = = = = = = = =
Ye Mei
ymei.itcc.nju.edu.cn
Institute of Theoretical and Computational Chemistry
Key Laboratory of Mesoscopic Chemistry
School of Chemistry and Chemical Engineering
Nanjing University
Nanjing 210093
P.R.China
2008-05-09
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun May 11 2008 - 06:07:44 PDT
Custom Search