Ignore:
Timestamp:
Jun 30, 2023, 8:18:43 PM (11 months ago)
Author:
yann meurdesoif
Message:

Suppress CPP_MPI key usage in source code. MPI wrappers is used to supress missing symbol if the mpi library is not linked

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/surf_land_orchidee_mod.F90

    r4526 r4600  
    701701  SUBROUTINE Get_orchidee_communicator(orch_comm, orch_mpi_size, orch_mpi_rank, orch_omp_size,orch_omp_rank)
    702702  USE  mod_surf_para
     703  USE lmdz_mpi
    703704     
    704 #ifdef CPP_MPI
    705     INCLUDE 'mpif.h'
    706 #endif   
    707 
    708705    INTEGER,INTENT(OUT) :: orch_comm
    709706    INTEGER,INTENT(OUT) :: orch_mpi_size
     
    725722      ENDIF
    726723   
    727 #ifdef CPP_MPI   
    728724      CALL MPI_COMM_SPLIT(COMM_LMDZ_PHY,color,mpi_rank,orch_comm,ierr)
    729725      CALL MPI_COMM_SIZE(orch_comm,orch_mpi_size,ierr)
    730726      CALL MPI_COMM_RANK(orch_comm,orch_mpi_rank,ierr)
    731 #endif
    732727   
    733728    ENDIF
     
    753748    USE mod_surf_para   
    754749    USE indice_sol_mod
    755 
    756 #ifdef CPP_MPI
    757     INCLUDE 'mpif.h'
    758 #endif   
     750    USE lmdz_mpi
    759751
    760752! Input arguments
Note: See TracChangeset for help on using the changeset viewer.