forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Alain Jacques <ajs.jacques@gmail.com>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] Compiling abinip using mpich on Suse10.1
- Date: Tue, 17 Feb 2009 19:52:26 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=j4IUGfPWAuANkRar0n/QZGqBpO/JA9+RY1mKHZUb0OXW0gZKPuwFhq8t0bjYPibm+I dgczOValYOG/pxlnM/kq2kHnLfnsK6WOLKeTnjY8hOpOq60lhwA9OatXlK2g3Eni5LPf QrUMXA9+f8ToIr2pmxjVQ8Pr5xz287WEfPPfU=
Hello James,
Glad to know that you're going in the right direction.
Excerpt from the
http://www.abinit.org/Infos_v5.6/known_problems/KNOWN_PROBLEMS file ...
a recommended reading :-)
"Versions of compilers known to be too buggy for ABINIT
gfortran 4.1.2 (=> use gfortran 4.2 or 4.3 instead)
intel10.0 (=> use intel9.1 or 10.1 instead)"
So I am afraid your gcc/gfortran is outdated.
You have two solutions:
* you earlier mentioned that you have an Intel ifort installed ... I use
recent subversions of 10.1 (supported) and 11.0 (no apparent problem).
OpenMPI compiles nicely with Intel ifort/icc - setup your environment
and configure openMPI with --enable-shared --enable-static CC=icc
F77=ifort FC=ifort CXX=icpc options (use --prefix=... to install it in a
nice place)
* or compile a new gcc/gfortran toolchain with your built in gcc-4.1.2
- easy as pie. Download gcc-4.3.2 or gcc-4.3.3 from http://gcc.gnu.org/,
- read the installation doc! -, configure with --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-languages=c,c++,fortran --with-cpu=generic
--build=x86_64-suse-linux options (and use --prefix=)
recompile openmpi for this new gcc/gfortran toolchain ... similar recipe.
Don't forget to export the right PATH and LD_LIBRARY_PATH to the right
compilers execs and libraries (check 32/64bit paths) in order to have
the new tools invoked before the default gcc/gfortran/mpi stuff.
Reconfigure abinit to reflect the new toolchain - examples available in
http://www.etsf.be/downloads/ETSF_softlib/page2/page2.html. Build abinit
with a plain "make" - "make multi" only tries a parallel build for
speed, doesn't work any better.
The "conftest.c:16:28: error: ac_nonexistent.h: No such file or
directory" are benign. Your module problem is probably a compiler bug -
you may try to workaround it by specifying an include path (beurk!).
Kind regards,
Alain
James Johns wrote:
> Thanks for the help Alain, i took your advice and installed openmpi
> into /opt/openmpi and exported the paths as you said. I then compiled
> the simple hello world program below using mpifortran and ran the
> a.out using "mpirun a.out" and it worked just fine. I then switched
> to my abinit directory to try configure --enable-mpi
> --with-mpi-prefix=/opt/openmpi. I thought the configuration script
> ran fine, and tried make multi and make multi_alt, but I kept getting
> this error.
>
...
- [abinit-forum] Compiling abinip using mpich on Suse10.1, James Johns, 02/16/2009
- Re: [abinit-forum] Compiling abinip using mpich on Suse10.1, Alain Jacques, 02/16/2009
- Re: [abinit-forum] Compiling abinip using mpich on Suse10.1, James Johns, 02/17/2009
- Re: [abinit-forum] Compiling abinip using mpich on Suse10.1, Alain Jacques, 02/17/2009
- Re: [abinit-forum] Compiling abinip using mpich on Suse10.1, James Johns, 02/19/2009
- Re: [abinit-forum] Compiling abinip using mpich on Suse10.1, Alain Jacques, 02/20/2009
- Re: [abinit-forum] Compiling abinip using mpich on Suse10.1, James Johns, 02/19/2009
- Re: [abinit-forum] Compiling abinip using mpich on Suse10.1, Alain Jacques, 02/17/2009
- Re: [abinit-forum] Compiling abinip using mpich on Suse10.1, James Johns, 02/17/2009
- Re: [abinit-forum] Compiling abinip using mpich on Suse10.1, Alain Jacques, 02/16/2009
Archive powered by MHonArc 2.6.15.