mirror of https://gitlab.com/QEF/q-e.git
26 lines
667 B
Fortran
26 lines
667 B
Fortran
!
|
|
! Copyright (C) Quantum ESPRESSO group
|
|
!
|
|
! This file is distributed under the terms of the
|
|
! GNU General Public License. See the file `License'
|
|
! in the root directory of the present distribution,
|
|
! or http://www.gnu.org/copyleft/gpl.txt .
|
|
!
|
|
MODULE upf_parallel_include
|
|
#if defined (__MPI)
|
|
!
|
|
! Include file for MPI
|
|
!
|
|
#if defined (__MPI_MODULE)
|
|
USE mpi
|
|
#else
|
|
INCLUDE 'mpif.h'
|
|
#endif
|
|
#else
|
|
! dummy world and null communicator
|
|
INTEGER, PARAMETER :: MPI_COMM_WORLD = 0
|
|
INTEGER, PARAMETER :: MPI_COMM_NULL = -1
|
|
INTEGER, PARAMETER :: MPI_COMM_SELF = -2
|
|
#endif
|
|
END MODULE upf_parallel_include
|