Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] parallel configuration problem

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] parallel configuration problem


Chronological Thread 
  • From: Aaron <nkleof@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] parallel configuration problem
  • Date: Wed, 11 Feb 2009 17:40:45 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=uVTuSgTMOLmDt3N1nQzoKYPsNiYlXxMPEAm1D1LGW94SIS6c+2mjQrF7mQ1EMC5ppK GcLSsN6ncjbMvAmx57+Tpd1lpIxHrF/vXMC+Og16xk/XLvmOu5/a11bLXakPQrkgD+7n 2CxB51pv5bgiQA1Vgro0G8NmxZLT2fIP3mFeM=

hi,

Thank you for your advice. I have contacted with my system administrator and he confirmed that mpi installation does not depend on 32-bit version gcc. I cannot tell it does or not, so just let it be. I have been trying a lot of settings, including using FC=ifort CC=icc CXX=icpc and -I to set library path and -L to set path, but the same error kept showing up. 

checking for style of include used by make... GNU
checking for gcc... /home/opt/intel/impi/3.1//bin/mpicc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

If I disable --enable-mpi option, configuration will complete successfully. Description about abinit-5.6.4 on www.abinit.org said if the LD_LIBRARY_PATH and PATH environment variables are not properly set up, the configure script of parallel build will abort with "configure: error: cannot run C compiled programs."  Could my problem be related to this?

LD_LIBRARY_PATH and PATH environment variables in my system are set as following:

PATH=/home/opt/intel/fce/10.1.015/bin/:/home/opt/intel/cce/10.1.015/bin/:/home/opt/pgi/linux86-64/7.0/bin:/home/opt/intel/impi/3.1/bin64:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/mfeng/bin:/home/opt/bin:/sbin:/usr/sbin:/home/opt/vasp/bin:/home/opt/crystal98/utils:/home/opt/tetr_lev00/bin:/home/opt/wien2k:/home/opt/wien2k/SRC_structeditor/bin:/home/opt/pathscale/bin:/home/mfeng/abinit/abinit-5.4.4p/tmp/src/main/

LD_LIBRARY_PATH=/home/opt/intel/fce/10.1.015/lib/:/home/opt/intel/cce/10.1.015/lib/:/home/opt/acml/4.0.0/pathscale64/lib:/home/opt/pathscale/lib/3.0:/home/opt/pathscale/lib/3.0/32:/home/opt/intel/impi/3.1/lib64:/home/opt/intel/mkl/10.0.3.020/lib/em64t

And mpi path is:   /home/opt/intel/impi/3.1/

I hope someone give me some suggestions.  Any advice is welcome. Thanks in advance.

Best regards,

Aaron



2009/2/5 Yann Pouillon <yann.pouillon@ehu.es>
Hi,

Aaron <nkleof@gmail.com> ha escrito:

Dear all:
   I encountered a problem when configuring abinit 5.6.4 on a fedora
cluster with mpi. The command I used was as following:
./configure FC=ifort --enable-mpi=yes
--with-mpi-prefix=/home/opt/intel/impi/3.1/ CC=icc
   And the errors is like this: [...]

The problem does not come from Abinit, but from a misconfiguration in your machine.

Looking at your config.log, I can see that your Intel MPI installation depends on a 32-bit version of GCC 4.1, which is rather strange because:

 * Intel MPI wrappers should depend on Intel compilers;
 * your architecture is 64-bit.

As a possible workaround, I suggest you do the following:

 export LD_LIBRARY_PATH="/usr/lib64:$LD_LIBRARY_PATH"

but I prefer to warn you that it is a dirty trick and might not work. The best would be to ask your system administrator to reinstall GCC and Intel MPI cleanly.

Also: last time I tried to build Abinit with GCC 4.1, it failed with a "not implemented error". You'd probably better rely purely on ifort, or on GCC 4.2, or on GCC 4.3.

Best regards,

Yann.

--
Yann Pouillon               European Theoretical Spectroscopy Facility (ETSF)
Tel: (+34) 943 01 83 94     Centro Joxe Mari Korta, Avenida de Tolosa, 72
Fax: (+34) 943 01 83 90     20018 Donostia-San Sebastián (Gipuzkoa)
Web: http://www.etsf.es/    España







Archive powered by MHonArc 2.6.15.

Top of Page