Ignore:
Timestamp:
Jun 30, 2023, 8:18:43 PM (10 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_nolic_mod.F90

    r4283 r4600  
    689689
    690690  SUBROUTINE Get_orchidee_communicator(orch_comm, orch_mpi_size, orch_mpi_rank, orch_omp_size,orch_omp_rank)
     691  USE lmdz_mpi
    691692  USE  mod_surf_para
    692693     
    693 #ifdef CPP_MPI
    694     INCLUDE 'mpif.h'
    695 #endif   
    696 
    697694    INTEGER,INTENT(OUT) :: orch_comm
    698695    INTEGER,INTENT(OUT) :: orch_mpi_size
     
    714711      ENDIF
    715712   
    716 #ifdef CPP_MPI   
    717713      CALL MPI_COMM_SPLIT(COMM_LMDZ_PHY,color,mpi_rank,orch_comm,ierr)
    718714      CALL MPI_COMM_SIZE(orch_comm,orch_mpi_size,ierr)
    719715      CALL MPI_COMM_RANK(orch_comm,orch_mpi_rank,ierr)
    720 #endif
    721716   
    722717    ENDIF
     
    742737    USE mod_surf_para   
    743738    USE indice_sol_mod
    744 
    745 #ifdef CPP_MPI
    746     INCLUDE 'mpif.h'
    747 #endif   
     739    USE lmdz_mpi
    748740
    749741! Input arguments
Note: See TracChangeset for help on using the changeset viewer.