forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Tobias Burnus <burnus@net-b.de>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] Parallel version
- Date: Tue, 25 Sep 2007 20:41:06 +0200
José C. Conesa wrote:
> I have had serious difficulties in compiling parallel versions of ABINIT
> in some machines: even changing a number of parameters in the
> hostname.ac file in different ways, configure stubbornly insists in
> saying that no fortran native MPI mode is detected, and the mpi
> version is not made.
I have similar problems. I would have expected that
./configure --enable-mpi
--with-mpi-fc=/usr/lib64/mpi/gcc/openmpi/bin/mpif90 FC=gfortran
would work, but it does not:
checking for a native MPI support... no
checking whether to build parallel code... no
which is not surprising as not the MPI compiler but the normal compiler
is used:
configure:10981: gfortran -o conftest conftest.F90 >&5
Error: Can't open included file 'mpif.h'
Note: mpif90 is at a bit strange location on openSUSE (see above) to
allow for multiple MPI installations installed at the same time.
At the end I was configuring once for abinis and the rest, and once for
abinip using:
./configure FCFLAGS="-O2 `mpif90 -showme:compile`" --enable-mpi
LDFLAGS="`mpif90 -showme:link`"
(Whether -showme:* works, depends on the MPI library; I'm using OpenMPI
which offers this option.)
By the way, I also don't understand why there is not give YES for:
configure:8697: checking if we are using the GNU Fortran compiler
configure:8720: result: no
As I use:
$ gfortran --version|head -n1
GNU Fortran (GCC) 4.2.1 (SUSE Linux)
Tobias
- Parallel version, jadhikari, 09/24/2007
- Re: [abinit-forum] Parallel version, Anglade Pierre-Matthieu, 09/25/2007
- Re: [abinit-forum] Parallel version, José C. Conesa, 09/25/2007
- Re: [abinit-forum] Parallel version, Matthieu Verstraete, 09/25/2007
- Re: [abinit-forum] Parallel version, Tobias Burnus, 09/25/2007
- Re: [abinit-forum] Parallel version, Paul Fons, 09/26/2007
- Re: [abinit-forum] Parallel version, Anglade Pierre-Matthieu, 09/26/2007
- Re: [abinit-forum] Parallel version, Yann Pouillon, 09/26/2007
- Re: [abinit-forum] Parallel version, Paul Fons, 09/26/2007
- Re: [abinit-forum] Parallel version, José C. Conesa, 09/25/2007
- Re: [abinit-forum] Parallel version, Anglade Pierre-Matthieu, 09/25/2007
Archive powered by MHonArc 2.6.16.