forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Yann Pouillon <yann.pouillon@ehu.es>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] abinip compilation
- Date: Mon, 20 Oct 2008 13:04:32 +0200
Hi,
sara yazdani <sarayazdani@yahoo.com> ha escrito:
I have installed open mpi on a 8 core machine. And I have configured
abinit5.4.4 on it.
I have followed the advises in FAQ to compile abinip, but when I write make
multi, it gives me the following error: [...]
This is while mpif.h is in /usr/local/include.
Supposing that you have MPI installed in /usr/local, the following configure command should do:
../configure --enable-mpi --with-mpi-prefix=/usr/local
In case this still does not work, you can check whether you have
/usr/local/bin/mpif90, and if yes add the following to the previous configure command-line:
FC="/usr/local/bin/mpif90"
As a last resort, you can specify everything manually:
../configure \
--enable-mpi="manual" \
--with-mpi-fc="/usr/local/bin/mpif90" \
--with-mpi-fcflags="-I/usr/local/include" \
--with-mpi-fc-ldflags="-L/usr/local/lib -lmpi" \
--with-mpi-run="/usr/local/bin/mpirun"
In such a case you may have to add further -l... options depending on the MPI implementation you have installed on your machine. The "mpirun" program is also sometimes called "mpiexec" or "srun".
Please note that MPI support has been greatly improved in the upcoming 5.6.3 release. Stay tuned!
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
- [abinit-forum] abinip compilation, sara yazdani, 10/20/2008
- Re: [abinit-forum] abinip compilation, Myrta Gruning, 10/20/2008
- Re: [abinit-forum] abinip compilation, Yann Pouillon, 10/20/2008
Archive powered by MHonArc 2.6.15.