Changeset 3907 for LMDZ5/branches
- Timestamp:
- May 19, 2021, 2:59:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/IPSLCM5A2.1/libf/phylmd/cpl_mod.F90
r3889 r3907 1223 1223 ENDDO 1224 1224 ENDDO 1225 1225 1226 #ifdef CPP_MPI 1227 1226 1228 CALL MPI_ALLREDUCE(calving, calving_glo, nb_zone_calving, MPI_REAL_LMDZ, MPI_SUM, COMM_LMDZ_PHY, error) 1227 1229 1230 #endif 1231 1228 1232 tab_flds(:,:,ids_calvin) = 0 1229 1233 DO k=1,nb_zone_calving … … 1231 1235 j=(ind_calving(k)-1)/nbp_lon + 1 1232 1236 i=MOD(ind_calving(k)-1,nbp_lon)+1 1237 #ifdef CPP_MPI 1233 1238 tab_flds(i,j,ids_calvin) = calving_glo(k) 1239 #else 1240 tab_flds(i,j,ids_calvin) = calving(k) 1241 #endif 1234 1242 ENDIF 1235 1243 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.