Changeset 1764 for palm/trunk/SOURCE/pmc_mpi_wrapper.f90
- Timestamp:
- Feb 28, 2016 12:45:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_mpi_wrapper.f90
r1763 r1764 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! cpp-statement added (nesting can only be used in parallel mode), 23 ! kind-parameters adjusted to PALM-kinds 23 24 ! 24 25 ! Former revisions: … … 35 36 !------------------------------------------------------------------------------! 36 37 38 #if defined( __parallel ) 37 39 use, intrinsic :: iso_c_binding 38 40 39 USE mpi 40 USE kinds, ONLY: wp 41 #if defined( __lc ) 42 USE MPI 43 #else 44 INCLUDE "mpif.h" 45 #endif 46 USE kinds 41 47 USE PMC_handle_communicator, ONLY: m_to_server_comm, m_to_client_comm, m_model_comm, m_model_rank 42 48 IMPLICIT none … … 44 50 SAVE 45 51 46 INTEGER, PARAMETER :: dp = wp 52 !-- TO_DO: what is the meaning of this? Could variables declared in this module 53 !-- also have single precision? 54 ! INTEGER, PARAMETER :: dp = wp 47 55 48 56 … … 149 157 SUBROUTINE PMC_Send_to_Server_real_r1 (buf, n, Server_rank, tag, ierr) 150 158 IMPLICIT none 159 !-- TO_DO: has buf always to be of dp-kind, or can wp used here 160 !-- this effects all respective declarations in this file 151 161 REAL(kind=dp), DIMENSION(:), INTENT(IN) :: buf 152 162 INTEGER, INTENT(IN) :: n … … 485 495 IMPLICIT none 486 496 REAL(kind=wp),DIMENSION(:),POINTER,INTENT(INOUT) :: array 487 INTEGER( kind=8),INTENT(IN):: idim1497 INTEGER(idp),INTENT(IN) :: idim1 488 498 Type(c_ptr),INTENT(OUT),optional :: base_ptr 489 499 … … 516 526 END FUNCTION PMC_TIME 517 527 528 #endif 518 529 END MODULE pmc_mpi_wrapper
Note: See TracChangeset
for help on using the changeset viewer.