NOAA-OWP / snow17

Other
4 stars 10 forks source link

Runtime error with Intel Fortran compiler #39

Closed drakest123 closed 1 month ago

drakest123 commented 1 month ago

Runtime error when reading forcing data when compiled with the Intel Fortran compiler.

Current behavior

The program fails to read forcing data files and crashes. In file ioModule.f90, subroutine init_forcing_files(), the integer ios is not initialized and acquires an unrestricted value with this compiler.

Resolution

Add at line 175: ios = 0

SnowHydrology commented 1 month ago

Closed by #43