IOIPSL routine getin is not threadsafe, so when running in OpenMP, it should be called by only one thread (and the result copied to other threads in the case of threadprivate variables).
EM
86 lines of code changed in 5 files:
These arrays should be THREADPRIVATE (for OpenMP).
FH
2 lines of code changed in 1 file:
Reinstate the addition of fcm_path to PATH because it is needed for called subprocesses (which use fcm).
EM
3 lines of code changed in 1 file:
Set at link-time the run-time path of the NetCDF and HDF dynamic
libraries. This enforces consistency with the libraries used for
compilation. Modifying LD_LIBRARY_PATH at run time is no longer
needed.
1 lines of code changed in 1 file:
Updates wich had been made on 'testing' branch (r1752) instead of trunk:
Add better handling of fcm path from makelmdz_fcm script to build_gcm script; and some translation of output messages to English.
EM
50 lines of code changed in 3 files:
New routin added for energy conservation
--Cettg ligne, et les suivantes ci-dessous, seront ignorées--
A phylmd/ener_conserv.F90
147 lines of code changed in 1 file:
Concerns energy conservation.
-----------------------------
The source terms of the TKE prognostic equation are diagnosed
from the tendencies (du, dv, dT) associated with subrgrid scale
motions and treated as an additional heat source.
Controled by a new key, iflag_ener_conserv :
0 no conservation
-1 old adhoc correction for kinetic E only (used for CMIP5)
1 conservation
101 conversion from kinetic to heat only
110 conversion from potential to heat only
iflag_ener_conserv=-1 kept as default value for a test period
iflag_ener_conserv=1 is the advisable value
Concerns clesphys.h, and conf_phys.F90
New routine : ener_conserv.F90, called by physic.
New outputs :
bils_ec, contribution to the energy budget of the column of the
additional heat source (in W/m2)
bils_kinetic : change kinetic energy of the column in physics (W/m2)
bils_enthalp : idem for the total column enthalphy
bils_latent : idem for latent heat
Modified files : clesphys.h, conf_phys_m.F90, physiq.F,
phys_output_mod.F90, phys_output_var_mod.F90, phys_output_write.h,
ener_conserv.F90
66 lines of code changed in 7 files: