ARPA-SIMC / libsim

Command-line utilities and fortran modules for meteorological data processing
GNU General Public License v2.0
7 stars 1 forks source link

Check fix of alchimia #102

Open dcesari opened 1 year ago

dcesari commented 1 year ago

An application with a complex list of derived variables (https://github.com/ARPA-SIMC/prodsim/blob/master/src/prodsim_thunderstorm_index.F90) generates an invalid grib id eccodes error in this line https://github.com/ARPA-SIMC/libsim/blob/2ea75609816cf065efba5d11ecafe4fedb8a46a4/volgrid6d/volgrid6d_alchimia_class.F03#L220 corrected by the IF (ivarin /= ivarout) check (moreover the error appears only with -On optimized code). More checks are needed on the feasibility of this situation ivarin == ivarout or its dependency on a (compiler?) bug.