Page 1 of 1

error in parallel compilation

Posted: Wed Mar 06, 2013 1:52 pm
by sgms
Dear Abinit users
I m trying to install abinit in parallel with the help of following command

./configure --enable-64bit-flags="yes" --enable-mpi="yes" --with-mpi-prefix=/usr/lib64/mpich2/

I got following error when i type make mj4

checking whether the C++ compiler works... no
configure: error: in `/home/pussgrc/Downloads/abinit/abinit-7.0.5/fallbacks/sources/bigdft-1.7-dev.12/S_GPU':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
configure: error: ./configure failed for S_GPU
make[2]: *** [stamps/bigdft-config-stamp] Error 77
make[2]: Leaving directory `/home/pussgrc/Downloads/abinit/abinit-7.0.5/fallbacks'
make[1]: [all-local] Error 2 (ignored)
Checking build of bigdft fallback
test -e stamps/bigdft-install-stamp
make[1]: *** [all-local] Error 1
make[1]: Leaving directory `/home/pussgrc/Downloads/abinit/abinit-7.0.5/fallbacks'
make: *** [multi] Error 2

config.log is attached with this message.

Any help would be appreciated.

Cheers
sgms

Re: error in parallel compilation

Posted: Wed Mar 06, 2013 5:58 pm
by Alain_Jacques
Hmmm ... problems with bigdft blossom these days. Unfortunately, you're not providing the right config.log. Relevant info about what causes bigdft configure to choke should be in /home/pussgrc/Downloads/abinit/abinit-7.0.5/fallbacks/sources/bigdft-1.7-dev.12/config.log.
If you don't need bigdft functionality, disable it by adding --with-dft-flavor="atompaw+libxc+wannier90" to your configure options. Futhermore, I see in the attached config.log that you required to disable linalg; if the purpose is to fallback to the internal plain netlib, use --with-linalg-flavor="none" instead.

Kind regards,

Alain

(Solved)Re: error in parallel compilation

Posted: Thu Mar 07, 2013 1:43 pm
by sgms
Dear Alain
Thanks for your guidance. I m able to install the ABINIT without any error.

Cheers
sgms

Re: error in parallel compilation  [SOLVED]

Posted: Mon Mar 25, 2013 7:48 am
by maxim
Thank you Alain!

your recipe helped us to install abinit!

this is our recipe for installing abinit 7.0.5 on ubuntu-12.04 x64 (intel core 2 quad) viewtopic.php?f=3&t=1387&p=6477#p6477

Re: error in parallel compilation

Posted: Mon Mar 25, 2013 11:30 am
by Alain_Jacques
many thanks for your feedback :-)

Alain