Dear all,
I am creating a program in Fortran90.
"Forrtl: severe (174): SIGSEGV, segmentation fault occurred" occurs in an array in a structure.
I tried to check the index by writing a print statement to identify the cause, but the error disappeared when I wrote the print statement for some reason. Also, when I added -check bounds, the error disappeared as well.
The compiler used intel Fortran, and an error occurred at that time, but when using gfortran, no error occurred.
If you know the cause, can you tell me?
Thank you.
Best
Christoph