Ignore:
Timestamp:
Feb 24, 2026, 9:59:11 AM (5 days ago)
Author:
emillour
Message:

Generic PCM:
OpenMP bug fix in "rad_correlatedk_stellar_spectrum", all intermediate computations
should be done by all OpenMp? threads.
While at it did some cleanup:

  • added some OMP threadprivate statements in radcommon_h.F90 (not alwyas necessary, but best practice is that all saved variables be threadprivate)
  • turned rad_blackbody.F into a module and modernized routines.
  • use clearer stategy (wrt OpenMP) in "rad_correlatedk_init_thermal.F90" and "rad_correlatedk_init_stellar.F90": have the master read in file and data and then broadcast to all cores.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phygeneric/physiq_mod.F90

    r4079 r4081  
    2525      use rad_correlatedk_ini_aerosol_mod, only: rad_correlatedk_ini_aerosol
    2626      use rad_correlatedk_init_stellar_mod, only: rad_correlatedk_init_stellar
     27      use rad_correlatedk_init_thermal_mod, only: rad_correlatedk_init_thermal
    2728      use aerosol_radius, only: aerosol_radius_h2o_liquid_ice_mixture, aerosol_radius_co2
    2829      use aerosol_global_variables , only: aerosol_init, iaero_co2, iaero_h2o
Note: See TracChangeset for help on using the changeset viewer.