Changeset 1548
- Timestamp:
- Jun 29, 2011, 4:32:25 PM (14 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/bibio/lnblnk.F
r524 r1548 25 25 INTEGER i,imax 26 26 PARAMETER (imax = 256) 27 CHARACTER *256letter27 CHARACTER(*) letter 28 28 29 29 i=0 -
LMDZ5/trunk/libf/phylmd/surf_land_orchidee_noopenmp_mod.F90
r1454 r1548 655 655 INTEGER :: i, igrid, jj, ij, iglob 656 656 INTEGER :: ierr, ireal, index 657 INTEGER :: var_tmp 657 658 INTEGER, DIMENSION(0:mpi_size-1) :: knon_nb 658 659 INTEGER, DIMENSION(0:mpi_size-1) :: displs … … 760 761 ELSE 761 762 #ifdef CPP_MPI 762 CALL MPI_SCATTERV(neighbours_g(:,i),knon_nb,displs,MPI_INTEGER,neighbours(:,i),knon,MPI_INTEGER,0,COMM_LMDZ_PHY,ierr) 763 IF (knon > 0) THEN 764 ! knon>0, scattter global field neighbours_g from master process to local process 765 CALL MPI_SCATTERV(neighbours_g(:,i),knon_nb,displs,MPI_INTEGER,neighbours(:,i),knon,MPI_INTEGER,0,COMM_LMDZ_PHY,ierr) 766 ELSE 767 ! knon=0, no need to save the field for this process 768 CALL MPI_SCATTERV(neighbours_g(:,i),knon_nb,displs,MPI_INTEGER,var_tmp,knon,MPI_INTEGER,0,COMM_LMDZ_PHY,ierr) 769 END IF 763 770 #endif 764 771 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.