I’m trying to install Amber12 and AmberTools13 on a new hard drive. The operating system is OSX 10.12.3
I’ve followed the procedure suggested in J. Swails’ website.
I’ve installed gcc49 and mpich-gcc49 from MacPorts. The installation seems to be OK (see below).
---> Computing dependencies for gcc49
---> Cleaning gcc49
---> Scanning binaries for linking errors
---> No broken files found.
---> Computing dependencies for mpich-gcc49
---> Cleaning mpich-gcc49
---> Scanning binaries for linking errors
---> No broken files found.
Running ./configure gnu in the amber12 directory, I get the following error messages:
Obtaining the gnu suite version:
gcc -v
The version is version
./configure2: line 711: [: version: integer expression expected
./configure2: line 732: [: version: integer expression expected
./configure2: line 733: [: version: integer expression expected
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
./configure2: line 1758: gfortran: command not found
./configure2: line 1759: ./testp: No such file or directory
Error: Unable to compile a Fortran program using gfortran -O0
Please check your compiler settings and configure flags.
Configure failed due to the errors above!
I’d appreciate any suggestions on how to troubleshoot this.
Thanks in advance
George
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sat Mar 25 2017 - 06:00:03 PDT