You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was compiled on a mac using gfortran 9 and the dev branch, hash 2d9230d (2d9230d)
My suspicion is that the array m%D_F_AM_M(:,J) should be specified as m%D_F_AM_M(1:3,J) or m%D_F_AM_M(4:6,J), but I don't know the code well enough to know what it is doing there. The RHS of that line is a matrix multiply of a 3x3 and a vector size 3.
Bug description
There is an array bounds issue in the
Morrison.f90code at line 4561 (dev branch).To Reproduce
Steps to reproduce the behavior:
Compile with gfortran (9) with bounds checking turned on, release mode.
Add compile flags:
-fcheck=all -pedantic -fbacktrace -fbounds-check -WuninitializedRun test case Revert Cavitation-related pull request #19 (5MW_OC3Trpd_DLL_WSt_WavesReg)
Error shows up as:
This was compiled on a mac using gfortran 9 and the
devbranch, hash 2d9230d (2d9230d)My suspicion is that the array
m%D_F_AM_M(:,J)should be specified asm%D_F_AM_M(1:3,J)orm%D_F_AM_M(4:6,J), but I don't know the code well enough to know what it is doing there. The RHS of that line is a matrix multiply of a 3x3 and a vector size 3.