Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Abinit Parallelism

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Abinit Parallelism


Chronological Thread 
  • From: Alain Jacques <ajs.jacques@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Abinit Parallelism
  • Date: Tue, 01 Dec 2009 11:00:03 +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=rWMOPIuRg3ZlMoFTjzJOMATGCwoI+JICS6gMOxuIQF766UFrfs0tenxAiE3euggd8O FKH5iQsAaBVnjg/fO1LGvrKQeIUFxPJqFwoRKh5enLPcq8ZYcGo83vAPy1CqRJaKhPtV WntBPrHSssP/H29HypYDMKvUm6x1fQLrEfLIU=

Zahra,

The build system can be misleading. So when abinip says

...
f3b93e240912010032y24008913ueca2a7d401be57c7@mail.gmail.com" type="cite">
=== MPI ===
Parallel build : no
Parallel I/O : no
MPI CPPFLAGS :
...

it means that abinip is not a parallel code. To check this further you can invoke a "ldd abinip" - assuming you work under Linux; the output should contain mentions to MPI dynamic libraries.
If it doesn't you have to specify where your MPI compiler resides during the configure step.

So,
1- find out what kind of MPI implementation you have and where it is on your system.
2- prepare your system to use MPI, for example on Linux, by adding the directories where your mpif90 and libraries are to PATH and LD_LIBRARY_PATH. It means that you should be able to invoke the mpi fortran compiler with a plain mpif90 some_fortran_test.f90 and produce a runnable binary.
3- rebuild abinit by configuring it with a "configure --enable-mpi --with-mpi-prefix=path_to_your_mpi_implementation and then a make
4- when you have a working abinip, you have to run the code with a MPI launcher - for example with openMPI, mpirun -np 4 abinip <param.files >log where np is the number of parallel processes. and LD_LIBRARY_PATH should be properly set.

If you want further explanations, please give us details about your operating system, compiler, MPI, ...

Kind regards,

Alain

...



Archive powered by MHonArc 2.6.16.

Top of Page