[AMBER] Amber 14 compile error

From: ÍôÊ¢ <shengwang.hust.edu.cn>
Date: Tue, 14 Oct 2014 06:12:26 +0800 (GMT+08:00)

Dear,

I want to compile amber 14 with intel(intel compile 2013) and gnu(gcc 4.1.2) on Redhat Linux 5.5 x86_64bit,but it reports errors:
./configure intel or ./configure gnu <===here all ok, no errors

when: make install

Then erroes like:
bench-fftw-bench.o: In function `useropt':
fftw-bench.c:(.text+0x25d): undefined reference to `__isoc99_sscanf'
fftw-bench.c:(.text+0x286): undefined reference to `__isoc99_sscanf'
fftw-bench.c:(.text+0x36c): undefined reference to `__isoc99_sscanf'
fftw-bench.c:(.text+0x394): undefined reference to `__isoc99_sscanf'
make[4]: *** [bench] error 1
make[4]: Leaving directory `/DATABAK/amber14/AmberTools/src/fftw-3.3/tests'
make[3]: *** [all-recursive] error 1
make[3]: Leaving directory `/DATABAK/amber14/AmberTools/src/fftw-3.3'
make[2]: *** [all] error 2
make[2]: Leaving directory `/DATABAK/amber14/AmberTools/src/fftw-3.3'
make[1]: *** [/DATABAK/amber14/lib/libfftw3.a] error 2
make[1]: Leaving directory `/DATABAK/amber14/AmberTools/src'
make: *** [install] error 2

And the amber 14 updates successfully, but why the compilation fail.

In addition, if I use -nofftw3 flag to configure, the compilation is ok.

Thanks
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Oct 13 2014 - 15:30:02 PDT
Custom Search