-
Notifications
You must be signed in to change notification settings - Fork 6
Run-time Error in ComputeLevels app when running in Debug Mode #1
Description
I have found a potential issue with the code.
My version of the code has been installed using the Intel OneAPI.
Running the ComputeLevels functionality in debug mode leads to a run-time error on the LevelsGenerator_Module. This is due to potential calculation calls on the left extreme of the grid which is defined as 0 in the GenerateLevels input file (and advised not to be changed). This leads to a potential definition of value "Infinity" in the origin. The Debug mode does not allow a Infinity value to proceed and as such terminates the execution and outputs a run-time error. The Release mode lets the code continue and things run smoothly with the Infinity value.
I am unsure if this is an issue with the Intel OneAPI only or if earlier versions of ifort or gfortran will have the same issue. I guess this can be solved with a flag change in the compilation or changing the default grid start to something quite small.