Changeset 3746 for LMDZ6/branches


Ignore:
Timestamp:
Jul 2, 2020, 10:04:09 AM (4 years ago)
Author:
adurocher
Message:

Fixed undefined reference to omp_get_team_size in physics timers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Optimisation_LMDZ/libf/phy_common/profiling_physic.F90

    r3739 r3746  
    206206  END SUBROUTINE print_profile
    207207
     208#ifdef CPP_OMP
    208209  subroutine checked_omp_barrier(message)
    209210    use omp_lib, only : omp_get_team_size
     
    220221       call abort_physic(modname, "Timer barrier",1)
    221222     end if
    222    end subroutine checked_omp_barrier
     223  end subroutine checked_omp_barrier
     224#else
     225  subroutine checked_omp_barrier(message)
     226    character(*), intent(in) :: message
     227  end subroutine checked_omp_barrier
     228#endif
    223229   
    224230END MODULE profiling_physic_mod
Note: See TracChangeset for help on using the changeset viewer.