Skip to Content.
Sympa Menu

forum - [abinit-forum] parallel abinit and the 'if defined MPI' statement

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

[abinit-forum] parallel abinit and the 'if defined MPI' statement


Chronological Thread 
  • From: kong <kongl@physics.rutgers.edu>
  • To: forum@abinit.org
  • Subject: [abinit-forum] parallel abinit and the 'if defined MPI' statement
  • Date: Mon, 20 Oct 2008 22:05:09 +0200 (CEST)

Hi,

I am using the parallel abinit (abinip). I recently note that the 'if defined
MPI'
statement is actually not observed or executed by the code except in the main
program "abinit.F90" and several other parallel directories such as
01manage_mpi,
lib01hidempi. If I add a "print" statement inside the "if defined MPI" in
"gstate.F90"
or in "scfcv.F90", the code would not print any thing.

MPI also goes into directory "18seqpar" and "lib01fftnew" which seem
special here. and I note that two libraries were built for "18seqpar and
lib01fftnew,
respectively, one parallel, one serial. while only one libraries were built
for
most of
other directories. The "Makefile.am" file is also different for "18seqpar" and
"lib01fftnew"
than for others, in the sense that "18seqpar" and "lib01fftnew" have the
"if DO_BUILD_PARALLEL" option while most of others donot.

If I would like to modify one of the subroutine and call a MPI function such
as
"MPI_SEND",
How do I put it inside "if defined MPI" and let the code execute it?
Thanks a lot!

Best wishes,
Lingzhu



Archive powered by MHonArc 2.6.15.

Top of Page