Skip to content

Commit

Permalink
add a default mpi interface level
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Jackson committed Apr 26, 2021
1 parent c9378ae commit bb541e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.install
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Parallel builds
is to be used to compile wannier90.

The specific interface to be used must be chosen by setting COMMS in make.inc
to one of "mpi08", "mpi90" or "mpih" (no other value is meaningful).
to one of "mpi08", "mpi90" or "mpih" (plain "mpi" is the same as "mpi90").

Particularly when wannier90 is to be used in library mode, the MPI interface
specified by COMMS must be the same as that used in the calling code; otherwise
Expand Down
4 changes: 4 additions & 0 deletions src/Makefile.2
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ TEMP2 = $(MPIF90)
else ifeq ($(COMMS),mpih)
TEMP1 = -DMPI -DMPIH
TEMP2 = $(MPIF90)
else ifeq ($(COMMS),mpi90)
TEMP1 = -DMPI -DMPI90
TEMP2 = $(MPIF90)
else ifeq ($(COMMS),mpi)
# default to f90 style "use mpi"
TEMP1 = -DMPI -DMPI90
TEMP2 = $(MPIF90)
else
Expand Down

0 comments on commit bb541e6

Please sign in to comment.