Dear users/developers,
I am trying to compile abinit-6.12.3 in our intel cluster. Configure works well. But when it comes to make I have the following problem:
libtool: compile: mpiifort -free -g -extend-source -vec-report0 -noaltparam -nofpscomp -O2 -xHost -g -I/rdrive/saabdel76/abinit-6.12.3/fallbacks/exports/include -c libxc.f90 -o libxc.o
libxc.f90: remark #5133: The input stream is empty
libtool: link: ( cd ".libs" && rm -f "libxc.la" && ln -s "../libxc.la" "libxc.la" )
cpp -P -std=c99 -I/rdrive/saabdel76/abinit-6.12.3/fallbacks/exports/include ./libxc_master.F90 > ../src/libxc.f90
/bin/sh: line 1: 28312 Floating point exceptioncpp -P -std=c99 -I/rdrive/saabdel76/abinit-6.12.3/fallbacks/exports/include ./libxc_master.F90 >../src/libxc.f90
make[7]: *** [xc_f90_lib_m.mod] Error 136
make[7]: Leaving directory `/rdrive/saabdel76/abinit-6.12.3/fallbacks/sources/libxc-1.1.0.1/src'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/rdrive/saabdel76/abinit-6.12.3/fallbacks/sources/libxc-1.1.0.1/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/rdrive/saabdel76/abinit-6.12.3/fallbacks/sources/libxc-1.1.0.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/rdrive/saabdel76/abinit-6.12.3/fallbacks/sources/libxc-1.1.0.1'
make[3]: *** [stamps/libxc-build-stamp] Error 2
make[3]: Leaving directory `/rdrive/saabdel76/abinit-6.12.3/fallbacks'
make[2]: [all-local] Error 2 (ignored)
Checking build of libxc fallback
test -e stamps/libxc-install-stamp
make[2]: *** [all-local] Error 1
make[2]: Leaving directory `/rdrive/saabdel76/abinit-6.12.3/fallbacks'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/rdrive/saabdel76/abinit-6.12.3'
make: *** [all] Error 2
It seems that libxc.f90 is empty?. So I don't know why libtool is not able to generate libxc.f90?
Many thanks,
Sam
Error when building abinit-6.12.3
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Re: Error when building abinit-6.12.3
Look for the GNU C preprocessor on your system and configure Abinit with the FPP="/full/path/to/cpp" option.
If you have different versions on cpp on your system, just try them one by one until you find one that works.
An alternative is to disable LibXC (see the --with-dft-flavor option).
If you have different versions on cpp on your system, just try them one by one until you find one that works.
An alternative is to disable LibXC (see the --with-dft-flavor option).
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: Error when building abinit-6.12.3
Dear pouillon,
Thanks for your help.
This is the first error message (config.log) I get:
configure:11506: checking how to run the C preprocessor
configure:11537: /opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpicc -E conftest.c
configure:11537: $? = 0
configure:11551: /opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpicc -E conftest.c
conftest.c:18:28: error: ac_nonexistent.h: No such file or directory
configure:11551: $? = 1
configure: failed program was:
/* confdefs.h */
When I configure abibnit wtih:
./configure --prefix=/rdrive/saabdel76/abinit-6.12.3/ FC=/opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpiifort CC=/opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpicc CXX=/opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpiicpc --enable-mpi --enable-gw-dpc --enable-64bit-flags
Thanks,
Sam
Thanks for your help.
This is the first error message (config.log) I get:
configure:11506: checking how to run the C preprocessor
configure:11537: /opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpicc -E conftest.c
configure:11537: $? = 0
configure:11551: /opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpicc -E conftest.c
conftest.c:18:28: error: ac_nonexistent.h: No such file or directory
configure:11551: $? = 1
configure: failed program was:
/* confdefs.h */
When I configure abibnit wtih:
./configure --prefix=/rdrive/saabdel76/abinit-6.12.3/ FC=/opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpiifort CC=/opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpicc CXX=/opt/intel/ics2011/impi/4.0.1.007/intel64/bin/mpiicpc --enable-mpi --enable-gw-dpc --enable-64bit-flags
Thanks,
Sam