Dear ABINIT Users,
After activating the intel, openmpi and python modules on our cluster, which set up the appropriate paths and libraries, the
./configure --enable-mpi=yes with_mpi_prefix=/global/software/intel2012/impi/4.0.3.008/intel64/
command (obtained from the build-config.ac file), finished successfully but the config.log file shows errors such as:
conftest.c(18): error #2379: cannot open source file "ac_nonexistent.h"
#include <ac_nonexistent.h>
^
configure:11505: $? = 2
configure: failed program was:
| /* confdefs.h */
Attached is the config.log file.
I would appreciate any suggestions.
Vahid
ABINIT-6.12.2 ac_nonexistent.h error
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.
ABINIT-6.12.2 ac_nonexistent.h error
- Attachments
-
- config.log
- (165.94 KiB) Downloaded 373 times
Re: ABINIT-6.12.2 ac_nonexistent.h error
Hi Vahid,
it's not a problem : it's a test...
see for example, http://lists.gnu.org/archive/html/autoconf/2011-03/msg00009.html
regards
jmb
it's not a problem : it's a test...
see for example, http://lists.gnu.org/archive/html/autoconf/2011-03/msg00009.html
regards
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: ABINIT-6.12.2 ac_nonexistent.h error
Hi JMB,
Thanks for your prompt response. If I ignore the errors in the config.log file and continue with the "make" command, I get:
make all-recursive
make[1]: Entering directory `/home/vahid/bin/abinit-6.12.2'
Making all in fallbacks
make[2]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make fox
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
The build of fox has been disabled
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of fox fallback
test -e stamps/fox-install-stamp
make libxc
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `libxc'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of libxc fallback
test -e stamps/libxc-install-stamp
make linalg
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `linalg'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of linalg fallback
test -e stamps/linalg-install-stamp
make netcdf
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `netcdf'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of netcdf fallback
test -e stamps/netcdf-install-stamp
make etsf_io
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `etsf_io'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of etsf_io fallback
test -e stamps/etsf_io-install-stamp
make atompaw
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `atompaw'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of atompaw fallback
test -e stamps/atompaw-install-stamp
make wannier90
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `wannier90'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of wannier90 fallback
test -e stamps/wannier90-install-stamp
make bigdft
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `bigdft'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of bigdft fallback
test -e stamps/bigdft-install-stamp
make[2]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Making all in src
make[2]: Entering directory `/home/vahid/bin/abinit-6.12.2/src'
Making all in incs
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/incs'
There is no buildable file here
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/incs'
Making all in mods
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/mods'
There is no buildable file here
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/mods'
Making all in 01_interfaces_ext
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/01_interfaces_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/01_interfaces_ext'
Making all in 01_linalg_ext
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/01_linalg_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/01_linalg_ext'
Making all in 01_macroavnew_ext
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/01_macroavnew_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/01_macroavnew_ext'
Making all in 10_defs
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/10_defs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/10_defs'
Making all in 11_qespresso_ext
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/11_qespresso_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/11_qespresso_ext'
Making all in 12_hide_mpi
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/12_hide_mpi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/12_hide_mpi'
Making all in 13_memory_mpi
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/13_memory_mpi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/13_memory_mpi'
Making all in 14_hidewrite
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/14_hidewrite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/14_hidewrite'
Making all in 16_hideleave
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/16_hideleave'
/global/software/intel2012/impi/4.0.3.008/intel64//bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/home/vahid/bin/abinit-6.12.2/fallbacks/exports/include -free -module /home/vahid/bin/abinit-6.12.2/src/mods -O2 -xHost -g -extend-source -vec-report0 -noaltparam -nofpscomp -c -o m_build_info.o m_build_info.F90
m_build_info.F90(24): error #7013: This module file was not generated by any release of this compiler. [DEFS_BASIS]
use defs_basis
----^
m_build_info.F90(163): error #6404: This name does not have a type, and must have an explicit type. [STD_OUT]
unt = std_out
------^
compilation aborted for m_build_info.F90 (code 1)
make[3]: *** [m_build_info.o] Error 1
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/16_hideleave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vahid/bin/abinit-6.12.2'
make: *** [all] Error 2
I searched the forum for errors involving unt=std_out but found none. I'd appreciate any insights you may have into this problem.
Many thanks,
Vahid
Thanks for your prompt response. If I ignore the errors in the config.log file and continue with the "make" command, I get:
make all-recursive
make[1]: Entering directory `/home/vahid/bin/abinit-6.12.2'
Making all in fallbacks
make[2]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make fox
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
The build of fox has been disabled
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of fox fallback
test -e stamps/fox-install-stamp
make libxc
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `libxc'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of libxc fallback
test -e stamps/libxc-install-stamp
make linalg
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `linalg'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of linalg fallback
test -e stamps/linalg-install-stamp
make netcdf
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `netcdf'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of netcdf fallback
test -e stamps/netcdf-install-stamp
make etsf_io
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `etsf_io'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of etsf_io fallback
test -e stamps/etsf_io-install-stamp
make atompaw
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `atompaw'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of atompaw fallback
test -e stamps/atompaw-install-stamp
make wannier90
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `wannier90'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of wannier90 fallback
test -e stamps/wannier90-install-stamp
make bigdft
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
make[3]: Nothing to be done for `bigdft'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Checking build of bigdft fallback
test -e stamps/bigdft-install-stamp
make[2]: Leaving directory `/home/vahid/bin/abinit-6.12.2/fallbacks'
Making all in src
make[2]: Entering directory `/home/vahid/bin/abinit-6.12.2/src'
Making all in incs
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/incs'
There is no buildable file here
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/incs'
Making all in mods
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/mods'
There is no buildable file here
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/mods'
Making all in 01_interfaces_ext
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/01_interfaces_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/01_interfaces_ext'
Making all in 01_linalg_ext
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/01_linalg_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/01_linalg_ext'
Making all in 01_macroavnew_ext
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/01_macroavnew_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/01_macroavnew_ext'
Making all in 10_defs
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/10_defs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/10_defs'
Making all in 11_qespresso_ext
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/11_qespresso_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/11_qespresso_ext'
Making all in 12_hide_mpi
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/12_hide_mpi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/12_hide_mpi'
Making all in 13_memory_mpi
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/13_memory_mpi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/13_memory_mpi'
Making all in 14_hidewrite
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/14_hidewrite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/14_hidewrite'
Making all in 16_hideleave
make[3]: Entering directory `/home/vahid/bin/abinit-6.12.2/src/16_hideleave'
/global/software/intel2012/impi/4.0.3.008/intel64//bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/home/vahid/bin/abinit-6.12.2/fallbacks/exports/include -free -module /home/vahid/bin/abinit-6.12.2/src/mods -O2 -xHost -g -extend-source -vec-report0 -noaltparam -nofpscomp -c -o m_build_info.o m_build_info.F90
m_build_info.F90(24): error #7013: This module file was not generated by any release of this compiler. [DEFS_BASIS]
use defs_basis
----^
m_build_info.F90(163): error #6404: This name does not have a type, and must have an explicit type. [STD_OUT]
unt = std_out
------^
compilation aborted for m_build_info.F90 (code 1)
make[3]: *** [m_build_info.o] Error 1
make[3]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src/16_hideleave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vahid/bin/abinit-6.12.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vahid/bin/abinit-6.12.2'
make: *** [all] Error 2
I searched the forum for errors involving unt=std_out but found none. I'd appreciate any insights you may have into this problem.
Many thanks,
Vahid
Re: ABINIT-6.12.2 ac_nonexistent.h error
Looks like some files were built with another compiler. Just do the following:
Code: Select all
cd src && make clean && cd .. && make
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: ABINIT-6.12.2 ac_nonexistent.h error
I succeeded in compiling ABINIT-6.12.2 only after disabling the BigDFT plugin. This plugin was causing a "STOP MPIFAKE" error.
Thanks for your input.
Vahid
Thanks for your input.
Vahid