Changeset 1764 for palm/trunk/SOURCE/pmc_client.f90
- Timestamp:
- Feb 28, 2016 12:45:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_client.f90
r1763 r1764 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! cpp-statement added (nesting can only be used in parallel mode), 23 ! all kinds given in PALM style 23 24 ! 24 25 ! Former revisions: … … 35 36 !------------------------------------------------------------------------------! 36 37 38 #if defined( __parallel ) 37 39 38 40 use, intrinsic :: iso_c_binding 39 41 40 USE mpi 41 USE kinds, ONLY: wp, iwp 42 #if defined( __lc ) 43 USE MPI 44 #else 45 INCLUDE "mpif.h" 46 #endif 47 USE kinds 42 48 USE PMC_general, ONLY: ClientDef, DA_NameDef, DA_Namelen, PMC_STATUS_OK, PMC_DA_NAME_ERR, PeDef, ArrayDef, & 43 49 DA_Desclen, DA_Namelen, PMC_G_SetName, PMC_G_GetName … … 51 57 ! data local to this MODULE 52 58 Type(ClientDef) :: me 53 INTEGER, PARAMETER :: dp = wp 59 !-- TO_DO: what is the meaning of this? Could variables declared in this module 60 !-- also have single precision? 61 ! INTEGER, PARAMETER :: dp = wp 54 62 55 63 INTEGER, save :: myIndex = 0 !Counter and unique number for Data Arrays … … 310 318 SUBROUTINE PMC_C_Set_DataArray_2d (array) 311 319 IMPLICIT none 320 !-- TO_DO: is double precision absolutely required here? 312 321 REAL(kind=dp),INTENT(IN),DIMENSION(:,:) :: array 313 322 !-- local variables … … 344 353 SUBROUTINE PMC_C_Set_DataArray_3d (array) 345 354 IMPLICIT none 355 !-- TO_DO: is double precision absolutely required here? 346 356 REAL(kind=dp),INTENT(IN),DIMENSION(:,:,:) :: array 347 357 !-- local variables … … 377 387 378 388 SUBROUTINE PMC_C_setInd_and_AllocMem 389 379 390 IMPLICIT none 380 391 381 392 INTEGER :: i, ierr 382 393 INTEGER :: arlen, myIndex, tag 383 INTEGER( kind=8):: bufsize ! Size of MPI data Window394 INTEGER(idp) :: bufsize ! Size of MPI data Window 384 395 TYPE(PeDef),POINTER :: aPE 385 396 TYPE(ArrayDef),POINTER :: ar … … 574 585 END SUBROUTINE PMC_C_PutBuffer 575 586 576 577 ! Private SUBROUTINEs 578 587 #endif 579 588 END MODULE pmc_client
Note: See TracChangeset
for help on using the changeset viewer.