libxc error during make
Posted: Tue Oct 14, 2014 7:19 pm
Hi,
I am compiling Abinit-7.8.2 on Mac OS 10.6.8 with the following config file:
prefix="/usr/local"
with_trio_flavor="netcdf+etsf_io"
with_netcdf_incs="-I/usr/local/include"
with_netcdf_libs="-L/usr/local/lib -lnetcdf -lnetcdff"
with_fft_flavor="fftw3"
with_fft_incs="-I/usr/local/include"
with_fft_libs="-L/usr/local/lib -lfftw3f -lfftw3"
with_linalg_flavor="atlas"
with_linalg_libs="-L/opt/local/lib -llapack -lf77blas -lcblas -latlas"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
disable_static
enable_shared
enable_optim="safe"
CC=/usr/bin/gcc
CPP=/usr/bin/cpp-4.2
FC=/usr/local/bin/gfortran
FCCPP=/usr/bin/cpp-4.2
Using this configure file, I get the following summary:
Summary of important options:
* C compiler : gnu version
* Fortran compiler: gnu version 4.7
* architecture : ( bits)
* debugging : basic
* optimizations : safe
* OpenMP enabled : no (collapse: ignored)
* MPI enabled : no
* MPI-IO enabled : no
* GPU enabled : no (flavor: none)
* TRIO flavor = netcdf+etsf_io-fallback
* TIMER flavor = abinit (libs: ignored)
* LINALG flavor = netlib-fallback (libs: ignored)
* ALGO flavor = none (libs: ignored)
* FFT flavor = fftw3 (libs: user-defined)
* MATH flavor = none (libs: ignored)
* DFT flavor = libxc-fallback+atompaw-fallback+bigdft-fallback+wannier90-fallback
Configuration complete.
You may now type "make" to build ABINIT.
(or, on a SMP machine, "make mj4", or "make multi multi_nprocs=<n>")
When running 'make' I get the following error:
Internal Error at (1):
insert_bbt(): Duplicate key found!
make[7]: *** [libxc_la-libxc.lo] Error 1
make[6]: *** [all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [stamps/libxc-build-stamp] Error 2
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[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Do you know what could be causing this error?
Thank you.
I am compiling Abinit-7.8.2 on Mac OS 10.6.8 with the following config file:
prefix="/usr/local"
with_trio_flavor="netcdf+etsf_io"
with_netcdf_incs="-I/usr/local/include"
with_netcdf_libs="-L/usr/local/lib -lnetcdf -lnetcdff"
with_fft_flavor="fftw3"
with_fft_incs="-I/usr/local/include"
with_fft_libs="-L/usr/local/lib -lfftw3f -lfftw3"
with_linalg_flavor="atlas"
with_linalg_libs="-L/opt/local/lib -llapack -lf77blas -lcblas -latlas"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
disable_static
enable_shared
enable_optim="safe"
CC=/usr/bin/gcc
CPP=/usr/bin/cpp-4.2
FC=/usr/local/bin/gfortran
FCCPP=/usr/bin/cpp-4.2
Using this configure file, I get the following summary:
Summary of important options:
* C compiler : gnu version
* Fortran compiler: gnu version 4.7
* architecture : ( bits)
* debugging : basic
* optimizations : safe
* OpenMP enabled : no (collapse: ignored)
* MPI enabled : no
* MPI-IO enabled : no
* GPU enabled : no (flavor: none)
* TRIO flavor = netcdf+etsf_io-fallback
* TIMER flavor = abinit (libs: ignored)
* LINALG flavor = netlib-fallback (libs: ignored)
* ALGO flavor = none (libs: ignored)
* FFT flavor = fftw3 (libs: user-defined)
* MATH flavor = none (libs: ignored)
* DFT flavor = libxc-fallback+atompaw-fallback+bigdft-fallback+wannier90-fallback
Configuration complete.
You may now type "make" to build ABINIT.
(or, on a SMP machine, "make mj4", or "make multi multi_nprocs=<n>")
When running 'make' I get the following error:
Internal Error at (1):
insert_bbt(): Duplicate key found!
make[7]: *** [libxc_la-libxc.lo] Error 1
make[6]: *** [all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [stamps/libxc-build-stamp] Error 2
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[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Do you know what could be causing this error?
Thank you.