Dear Amber Users,
I am trying to install the mpi verison of Amber 16 with AmberTools17 on
Ubuntu 12.04.5 LTS. I got the following error. Can somebody please help me?
Checking for updates...
Checking for available patches online. This may take a few seconds...
Available AmberTools 17 patches:
No patches available
Available Amber 16 patches:
No patches available
AMBER_PREFIX=/usr/local/amber16
AMBER_SOURCE=/usr/local/amber16
Using the AmberTools miniconda installation in /usr/local/amber16/miniconda
version 2.7.13
Obtaining the gnu compiler suite versions, e.g.:
gcc -v
The C version is 4.8.1
The Fortran version is 4.6.4
Testing the gcc compiler:
gcc -fPIC -DSYSV -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 -DSYSV -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 -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp
testp.c.o testp.f.o -lgfortran -w
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
./configure2: 2502: ./configure2: ./testp: not found
Error: Unable to compile mixed C/Fortran code.
Please check your compiler settings and configure flags.
Configure failed due to the errors above!
Thanks,
Suma
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Dec 26 2017 - 04:00:02 PST