Changeset 493
- Timestamp:
- 11/07/16 13:09:47 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/checksum.f90
r477 r493 11 11 SUBROUTINE checksum(field) 12 12 USE icosa 13 USE mpi_mod 14 USE mpipara 13 15 IMPLICIT NONE 14 16 TYPE(t_field) :: field(:) … … 17 19 INTEGER :: ind,i,j,ij,l,k 18 20 INTEGER :: tot_sum 21 INTEGER :: tot_sum_mpi(mpi_size) 19 22 20 23 … … 135 138 136 139 !$OMP MASTER 137 PRINT*,"CheckSum Field : ",field(1)%name,tot_sum 140 CALL MPI_Gather(tot_sum,1,MPI_INTEGER,tot_sum_mpi,1,MPI_INTEGER,0,comm_icosa,ierr) 141 IF (mpi_rank==0) PRINT*,"CheckSum Field : ",field(1)%name,sum(tot_sum_mpi), tot_sum_mpi 142 138 143 !$OMP END MASTER 139 144
Note: See TracChangeset
for help on using the changeset viewer.