[AMBER] Problem with the amber12 compilation

From: James Starlight <jmsstarlight.gmail.com>
Date: Mon, 8 Apr 2013 13:36:23 +0400

Dear Amber users!

Ussing gcc 4.7 and gfortran-4.7 I have problems with the compilation of tha
amber-tools- 12

Checking for updates...
AmberTools12 is up to date

Searching for python2... Found python2.7: /usr/bin/python2.7

Obtaining the gnu suite version:
      gcc -v
The version is 4.6.3

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

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

Testing mixed C/Fortran compilation:
     gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o
testp.c
     gfortran -O0 -c -o testp.f.o testp.f
     gcc -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: ld returned 1 exit status
./configure2: 1627: ./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!

How I could fix it?


James
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Apr 08 2013 - 03:00:03 PDT
Custom Search