This issue has been addressed before but in other versions of Abinit. This thread is somehow related to mine here:
http://forum.abinit.org/viewtopic.php?f=3&t=589
However, I think that in the new release the previous "recipe" does not go so well... I did a configure --with-config-file using this script:
Code: Select all
prefix=/opt/abinit/7.4.3/build_no1
enable_64bit_flags="yes"
enable_gw_dpc="yes"
enable_mpi="no"
enable_smp="yes"
CC="icc"
CXX="icpc"
FC="ifort"
with_trio_flavor="netcdf+etsf_io+fox"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
with_fft_flavor="fftw3-mkl"
with_linalg_flavor="mkl"
and everything was OK (or so it seemed)... I trusted (maybe I shoudn't) the auto-detect feature of abinit in order to find libraries and includes, that's why I just declared the libraries by name and not by _libs and/or _incs. Apparently, after checking the config.log, those libraries were correctly detected by abinit.
Afterwards, make mj4 ran for a few minutes and then this message, just in the making of wannier90
Code: Select all
make wannier90
make[3]: Entering directory `/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks'
cd sources && \
gzip -cd /home/amaury/.abinit/tarballs/wannier90-1.2.0.1.tar.gz | tar xf -
No patch to apply
cd sources/wannier90-1.2.0.1 && \
CPP="icc -E" \
CPPFLAGS=" -I/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks/exports/include" \
CC="icc" \
CFLAGS="-g -O2" \
CXX="icpc" \
CXXFLAGS="" \
FCCPP="cpp -P -std=c99" \
F77="ifort" \
FFLAGS="-fixed -g -extend-source -vec-report0 -noaltparam -nofpscomp -O2 -xHost -g -O2 -I/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks/exports/include" \
F90="ifort" \
F90FLAGS="-free -g -extend-source -vec-report0 -noaltparam -nofpscomp -O2 -xHost -g -O2 -I/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks/exports/include" \
FC="ifort" \
FCFLAGS="-free -g -extend-source -vec-report0 -noaltparam -nofpscomp -O2 -xHost -g -O2 -I/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks/exports/include" \
LDFLAGS=" " \
LIBS="-lmkl_intel_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -L/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks/exports/lib -letsf_io_low_level -letsf_io_utils -letsf_io " \
AR="ar" \
ARFLAGS="rc" \
RANLIB="ranlib" \
ac_fc_srcext="F90" \
/bin/sh ./configure \
--prefix="/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks/exports" \
--bindir="/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks/exports/bin" \
--libdir="/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks/exports/lib" \
--program-suffix="-abinit" \
--disable-shared --enable-static
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... icc
checking whether the C compiler works... no
configure: error: in `/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks/sources/wannier90-1.2.0.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[3]: *** [stamps/wannier90-config-stamp] Error 77
make[3]: Leaving directory `/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks'
make[2]: [all-local] Error 2 (ignored)
Checking build of wannier90 fallback
test -e stamps/wannier90-install-stamp
make[2]: *** [all-local] Error 1
make[2]: Leaving directory `/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl/fallbacks'
make[1]: *** [multi] Error 2
make[1]: Leaving directory `/home/amaury/Downloads/abinit/Build.v1_intel14-nompi-mkl'
make: *** [mj4] Error 2
I tried the recipe found in http://forum.abinit.org/viewtopic.php?f=3&t=589 and did not work, also compiled the wannier90-1.2 and it didn't also... however, wannier90-2.0 did compile smoothly but, when I tried to play dirty (copying the new 2.0 .a and .x files instead of the 1.2) and "touching" the stamps files for wannier90, the same error appeared time after time...
Currently, I know that doing all these with the GNU environment does not make such fuss... but intel libs are worth the pain in the neck.
Below, some info on my platform:
cpuinfo gives:
Intel(R) processor family information utility, Version 4.1 Update 3 Build 20131205
Copyright (C) 2005-2013 Intel Corporation. All rights reserved.
===== Processor composition =====
Processor name : Intel(R) Core(TM) i7 Q 720
Packages(sockets) : 1
Cores : 4
Processors(CPUs) : 8
Cores per package : 4
Threads per core : 2
This is a Dell Precision M6500 running Linux Mint 16 Mate x64 with 32 GB of RAM. All my compilers are "Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.1.106 Build 20131008", the MKL is 11.0 and the MPI Library Runtime Environment for Linux is installed.
Hope it may get solved.
Thanks in advance guys!!