[AMBER] mac installation problem

From: Jiyong Su <sujy100.nenu.edu.cn>
Date: Fri, 20 Apr 2018 12:54:22 +0800 (GMT+08:00)

./configure -macAccelerate clang
Checking for updates...
Checking for available patches online. This may take a few seconds...


Available AmberTools 18 patches:


No patches available




AMBER_PREFIX=/Users/sujiyong/amber18
AMBER_SOURCE=/Users/sujiyong/amber18


Using the AmberTools miniconda installation in /Users/sujiyong/amber18/miniconda
version 2.7.13


Obtaining the clang compiler suite versions, e.g.:
     clang -v
The C version is 7.3.0
The Fortran version is 配置为:../gcc-6.3.0/configure


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


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


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


Testing mixed C/Fortran compilation:
     clang -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
     clang -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c.o testp.f.o -L -lgfortran -w -framework Accelerate
Undefined symbols for architecture x86_64:
  "__gfortran_st_write", referenced from:
      _hello_ in testp.f.o
  "__gfortran_st_write_done", referenced from:
      _hello_ in testp.f.o
  "__gfortran_transfer_character_write", referenced from:
      _hello_ in testp.f.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
./configure2: line 2642: ./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!








--
Yours Sincerely,
Jiyong Su
The School of Life Sciences
Northeast Normal University
Changchun 130024, China
Email: sujy100.nenu.edu.cn
Tele: + 0086 13244318851
 


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Apr 19 2018 - 22:00:03 PDT
Custom Search