[AMBER] AmberTools14 configuration problem

From: Ivanov, Maxim <maxim.ivanov.marquette.edu>
Date: Tue, 13 Oct 2015 21:25:14 +0000

Hello,

I am having troubles configuring AmberTools14 on my local machine (OS X 10.10.1). In particular, there is something wrong with the NetCDF.
I have gcc, g++ and gfortran (all are version 5.2.0) installed with brew in /usr/local/bin

Executing ./configure gnu gives me:

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/local/bin/python2.7

Obtaining the gnu compiler suite versions, e.g.:
     gcc -v
The C version is ../configure
5.2.0
The Fortran version is ../configure
5.2.0
./configure2: line 956: [: too many arguments
./configure2: line 982: [: : integer expression expected
./configure2: line 983: [: : integer expression expected
./configure2: line 994: [: : integer expression expected

Testing the gcc compiler:
     gcc -fPIC -DUSE_AMBER_C9XCOMPLEX -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 -DUSE_AMBER_C9XCOMPLEX -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 -DUSE_AMBER_C9XCOMPLEX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp testp.c.o testp.f.o -lgfortran -w
OK

Testing pointer size:
     gcc -fPIC -DUSE_AMBER_C9XCOMPLEX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o test_pointer_size test_pointer_size.c
Detected 64 bit operating system.

Testing flex: OK

Checking NetCDF...
Using bundled NetCDF library.
Starting NetCDF build.
Configuring NetCDF C interface (may be time-consuming)...
Compiling the NetCDF C interface (may be time-consuming)...
Error: NetCDF C compile failed.
       Check /Volumes/HDD/Maxim/amber14/AmberTools/src/netcdf-4.3.0/netcdf.c.compile.log
       for errors.
Configure failed due to the errors above!

Content of /Volumes/HDD/Maxim/amber14/AmberTools/src/netcdf-4.3.0/netcdf.c.compile.log:

make[1]: Entering directory `/Volumes/HDD/Maxim/amber14/AmberTools/src/netcdf-4.3.0/include'
make[2]: Entering directory `/Volumes/HDD/Maxim/amber14/AmberTools/src/netcdf-4.3.0/include'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh: -c: line 0: syntax error near unexpected token `;;'
/bin/sh: -c: line 0: `list='netcdf.h '; test -n "/Volumes/HDD/Maxim/amber14/include" || list=; if test -n "$list"; then echo " .././install-sh -c -d '/Volumes/HDD/Maxim/amber14/include'"; .././install-sh -c -d "/Volumes/HDD/Maxim/amber14/include" || exit 1; fi; for p in $list; do if test -f "$p"; then d=; else d="./"; fi; echo "$d$p"; done | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$!N;s/\n/ /g' | while read files; do echo " /usr/bin/install -c -m 644 $files '/Volumes/HDD/Maxim/amber14/include'"; /usr/bin/install -c -m 644 $files "/Volumes/HDD/Maxim/amber14/include" || e?;; \ '
make[2]: *** [install-includeHEADERS] Error 2
make[2]: Leaving directory `/Volumes/HDD/Maxim/amber14/AmberTools/src/netcdf-4.3.0/include'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/Volumes/HDD/Maxim/amber14/AmberTools/src/netcdf-4.3.0/include'
make: *** [install-recursive] Error 1


I am puzzled to see the path /Volumes/HDD/Maxim/amber14/include, since there is no include/ directory in my $AMBERHOMEā€¦ Am I missing something?

Thanks,
Maxim
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Oct 13 2015 - 14:30:04 PDT
Custom Search