Error compiling abinit 7.10.5 with intel compilers 14.0

option, parallelism,...

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.
Locked
lorenzodona
Posts: 36
Joined: Tue May 14, 2013 12:04 am

Error compiling abinit 7.10.5 with intel compilers 14.0

Post by lorenzodona » Mon Dec 14, 2015 4:21 pm

Good morning to every one i try to compile abinit with this configuration on mac book pro with intel compilers 14.0
before to compile abinit I compiled openmpi with FC=ifort CC=icc CXX=icpc
here i put my configuration for abinit
./configure CC="mpicc" CXX="mpicxx" FC="mpif90" --enable-64bit-flags="yes" --enable-mpi="yes" --enable-mpi-io="yes" --with-mpi-prefix="/Users/lorenzodona/Documents/openmpi-1.10.1"

This is my error:
checking whether to enable OpenMP support... no
checking whether to build MPI code... yes
checking whether the C compiler supports MPI... no
checking whether the C++ compiler supports MPI... no
checking whether the Fortran Compiler supports MPI... yes
checking whether MPI is usable... no
configure: error: MPI support is broken - please fix your config parameters and/or MPI installation

but openmpi works correctly
I want to attach my config.log file

Thank you in advance to help me if you can

Dearly
lorenzo
Attachments
config.log
(112.17 KiB) Downloaded 350 times

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Error compiling abinit 7.10.5 with intel compilers 14.0

Post by pouillon » Mon Dec 21, 2015 1:32 pm

You have to adjust your LIBRARY_PATH and LD_LIBRARY_PATH variables to point to the directory where the "libgcc_static.a" file is located, e.g.:

Code: Select all

export LD_LIBRARY_PATH="/path/to/libgcc_static:$LD_LIBRARY_PATH"
export LIBRARY_PATH="/path/to/libgcc_static:$LIBRARY_PATH"
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked