Ignore:
Timestamp:
Oct 6, 2025, 4:02:46 PM (6 weeks ago)
Author:
quepas
Message:

fix(gnu): initialize procedure pointers in a proper way, so that GNU/gfortran can compile ICOSA_LMDZ without an error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ICOSA_LMDZ/src/phylmd/icolmdz_mpipara.F90

    r5799 r5849  
    66 
    77  SUBROUTINE set_wrapper
    8   USE mpipara, ONLY : set_plugin_wrapper, set_default_mpi_initialization
     8  USE mpipara, ONLY : set_plugin_wrapper, set_default_mpi_initialization, get_mpi_comm_generic, finalize_mpi_generic
    99  IMPLICIT NONE
    1010   
     11    PROCEDURE(get_mpi_comm_generic), POINTER :: get_mpi_comm_
     12    PROCEDURE(finalize_mpi_generic), POINTER :: finalize_mpi_
     13
     14    get_mpi_comm_ => get_mpi_comm
     15    finalize_mpi_ => finalize_mpi
     16
    1117    CALL set_default_mpi_initialization('plugin')
    12     CALL set_plugin_wrapper(get_mpi_comm, finalize_mpi)
     18    CALL set_plugin_wrapper(get_mpi_comm_, finalize_mpi_)
    1319
    1420  END SUBROUTINE set_wrapper
Note: See TracChangeset for help on using the changeset viewer.