Changeset 41d8574 in flexpart.git for src/mpi_mod.f90
- Timestamp:
- Jan 15, 2016, 12:35:58 PM (8 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- fdc0f03
- Parents:
- d8107c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mpi_mod.f90
rd6a0977 r41d8574 119 119 logical, parameter :: mp_dbg_out = .false. 120 120 logical, parameter :: mp_time_barrier=.true. 121 logical, parameter :: mp_measure_time=. false.121 logical, parameter :: mp_measure_time=.true. 122 122 logical, parameter :: mp_exact_numpart=.true. 123 123 … … 907 907 !********************************************************************** 908 908 909 ! The non-reader processes need to know if cloud swere read.909 ! The non-reader processes need to know if cloud water were read. 910 910 ! TODO: only at first step or always? 911 911 call MPI_Bcast(readclouds,1,MPI_LOGICAL,id_read,MPI_COMM_WORLD,mp_ierr) … … 963 963 ! cloud water/ice: 964 964 if (readclouds) then 965 call MPI_Bcast(icloud_stats(:,:,:,li:ui),d2_size1*5,mp_pp,id_read,MPI_COMM_WORLD,mp_ierr) 966 if (mp_ierr /= 0) goto 600 967 965 ! call MPI_Bcast(icloud_stats(:,:,:,li:ui),d2s1*5,mp_pp,id_read,MPI_COMM_WORLD,mp_ierr) 966 ! if (mp_ierr /= 0) goto 600 967 call MPI_Bcast(clw4(:,:,li:ui),d2s1,mp_pp,id_read,MPI_COMM_WORLD,mp_ierr) 968 if (mp_ierr /= 0) goto 600 968 969 ! call MPI_Bcast(clwc(:,:,:,li:ui),d3s1,mp_pp,id_read,MPI_COMM_WORLD,mp_ierr) 969 970 ! if (mp_ierr /= 0) goto 600 … … 1336 1337 if (readclouds) then 1337 1338 i=i+1 1338 call MPI_Isend(icloud_stats(:,:,:,mind),d2s1*5,mp_pp,dest,tm1,& 1339 ! call MPI_Isend(icloud_stats(:,:,:,mind),d2s1*5,mp_pp,dest,tm1,& 1340 ! &MPI_COMM_WORLD,reqs(i),mp_ierr) 1341 call MPI_Isend(clw4(:,:,mind),d2s1,mp_pp,dest,tm1,& 1339 1342 &MPI_COMM_WORLD,reqs(i),mp_ierr) 1343 1340 1344 if (mp_ierr /= 0) goto 600 1341 1345 … … 1543 1547 j=j+1 1544 1548 1545 call MPI_Irecv(icloud_stats(:,:,:,mind),d2s1*5,mp_pp,id_read,MPI_ANY_TAG,& 1549 ! call MPI_Irecv(icloud_stats(:,:,:,mind),d2s1*5,mp_pp,id_read,MPI_ANY_TAG,& 1550 ! &MPI_COMM_WORLD,reqs(j),mp_ierr) 1551 call MPI_Irecv(clw4(:,:,mind),d2s1*5,mp_pp,id_read,MPI_ANY_TAG,& 1546 1552 &MPI_COMM_WORLD,reqs(j),mp_ierr) 1547 1553 if (mp_ierr /= 0) goto 600
Note: See TracChangeset
for help on using the changeset viewer.