Changeset 4600 for LMDZ6/trunk/libf/phylmd/cpl_mod.F90
- Timestamp:
- Jun 30, 2023, 8:18:43 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/cpl_mod.F90
r4370 r4600 1249 1249 USE mod_grid_phy_lmdz, ONLY : nbp_lon, nbp_lat 1250 1250 USE time_phylmdz_mod, ONLY: start_time, itau_phy 1251 use config_ocean_skin_m, only: activate_ocean_skin 1251 USE config_ocean_skin_m, only: activate_ocean_skin 1252 USE lmdz_mpi 1253 1252 1254 ! Some includes 1253 1255 ! … … 1283 1285 REAL :: calving_glo(nb_zone_calving) 1284 1286 1285 #ifdef CPP_MPI1286 INCLUDE 'mpif.h'1287 1287 INTEGER, DIMENSION(MPI_STATUS_SIZE) :: status 1288 #endif1289 1288 1290 1289 ! End definitions … … 1357 1356 IF (is_parallel) THEN 1358 1357 IF (.NOT. is_north_pole_dyn) THEN 1359 #ifdef CPP_MPI1360 1358 CALL MPI_RECV(Up,1,MPI_REAL_LMDZ,mpi_rank-1,1234,COMM_LMDZ_PHY,status,error) 1361 1359 CALL MPI_SEND(tmp_calv(1,1),1,MPI_REAL_LMDZ,mpi_rank-1,1234,COMM_LMDZ_PHY,error) 1362 #endif1363 1360 ENDIF 1364 1361 1365 1362 IF (.NOT. is_south_pole_dyn) THEN 1366 #ifdef CPP_MPI1367 1363 CALL MPI_SEND(tmp_calv(1,jj_nb),1,MPI_REAL_LMDZ,mpi_rank+1,1234,COMM_LMDZ_PHY,error) 1368 1364 CALL MPI_RECV(down,1,MPI_REAL_LMDZ,mpi_rank+1,1234,COMM_LMDZ_PHY,status,error) 1369 #endif1370 1365 ENDIF 1371 1366 … … 1392 1387 ENDDO 1393 1388 1394 #ifdef CPP_MPI1395 1389 CALL MPI_ALLREDUCE(calving, calving_glo, nb_zone_calving, MPI_REAL_LMDZ, MPI_SUM, COMM_LMDZ_PHY, error) 1396 #endif1397 1390 1398 1391 tab_flds(:,:,ids_calvin) = 0
Note: See TracChangeset
for help on using the changeset viewer.