[AMBER] Problem configuring amber14

From: Mochena, Mogus D. <mogus.mochena.famu.edu>
Date: Wed, 21 Oct 2015 18:11:21 +0000

I have downloaded ambertools and trying to configure following instructions from amber15.pdf. My operating system is Mac O S X 10.11 (El Captan). I have used Xcode 7.0.1 to get gnu compilers gcc and g++; gfortran was not included, so I installed it separately.


I get the error message below, and need help. Thanks for your help.



amber14 $ ./configure gnu
Checking for updates...
Checking for available patches online. This may take a few seconds...

Available AmberTools 15 patches:

No patches available
Searching for python2... Found python2.7: /usr/bin/python2.7

Obtaining the gnu compiler suite versions, e.g.:
     gcc -v
The C version is 7.0.0
The Fortran version is ../gcc-5.2.0/configure
5.2.0

Testing the gcc compiler:
     gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c
OK

Testing the g++ compiler:
     g++ -fPIC -o testp testp.cpp
OK

Testing the gfortran compiler:
     gfortran -fPIC -O0 -o testp testp.f
OK

Testing mixed C/Fortran compilation:
     gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o testp.c
     gfortran -fPIC -O0 -c -o testp.f.o testp.f
     gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c.o testp.f.o -lgfortran -w
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
./configure2: line 2165: ./testp: No such file or directory
Error: Unable to compile mixed C/Fortran code.
       Please check your compiler settings and configure flags.
Configure failed due to the errors above!

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Oct 21 2015 - 11:30:05 PDT
Custom Search