CNES / RadiativeTransferCode-OSOAA

Ocean Successive Orders with Atmosphere - Advanced (OSOAA) : Accurate computation of the radiative tranfer into the Ocean-Atmosphere system including polarisation, coupling terms, and the agitated surface.
GNU General Public License v2.0
31 stars 13 forks source link

Warning: Character length of actual argument shorter than of dummy argument 'nom_param' #11

Closed lucasbarbedo83 closed 1 year ago

lucasbarbedo83 commented 1 year ago

I have these warming messages from GFORTRAN: How compile correctly without these warmings?

------------> Compilation of /home/lxbarbedo/RadiativeTransferCode-OSOAA-master/obj/OSOAA_MAIN.o /home/lxbarbedo/RadiativeTransferCode-OSOAA-master/src/OSOAA_MAIN.F:4356.51:

     CALL OSOAA_COMPA_SIMU_VALUE(WA_SIMU,"DBL",'-OSOAA.Wa:',
                                               1

Warning: Character length of actual argument shorter than of dummy argument 'nom_param' (10/450) at (1) /home/lxbarbedo/RadiativeTransferCode-OSOAA-master/src/OSOAA_MAIN.F:4362.19:

 &             '-ANG.Rad.NbGauss:',11,TRACE,CAS_REPRISE,IER)
               1

Warning: Character length of actual argument shorter than of dummy argument 'nom_param' (17/450) at (1) /home/lxbarbedo/RadiativeTransferCode-OSOAA-master/src/OSOAA_MAIN.F:4367.35:

 &          FICANGLES_USER_LUM,'-ANG.Rad.UserAngFile:',  
                               1

Warning: Character length of actual argument shorter than of dummy argument 'nom_param' (21/450) at (1) /home/lxbarbedo/RadiativeTransferCode-OSOAA-master/src/OSOAA_MAIN.F:4372.49:

     CALL OSOAA_COMPA_SIMU_VALUE(TETAS,"DBL",'-ANG.Thetas:',
                                             ...
blafranc commented 1 year ago

Dear user,

Thank you for your interest in using the OSOAA radiative transfer code.

The occurence of "warning" messages during the compilation step of OSOAA is expected because it highly depends on a given compiler. The warning messages are thus not an issue as far as the overall OSOAA compilation is fine (i.e., no compilation errors). The OSOAA model will then run correctly.

If you want to hide the warning messages, you can add the option -w in the compilation makefile:

I hope this answer helps you.

Best regards

lucasbarbedo83 commented 1 year ago

Yes, it solves the problem. I appreciate your support. A+ Lucas