It is hell and disaster when you try to use not your own code written in different compiler...And the total shutdown is when you get this scary system 'access violation' after which you search exit in total darkness...
In very short demo code, the variable is defined and used like here
module M_matdim
integer, save :: iab = 0
end module M_matdim
!....................................
program test
call sub1
end program
!....................................
subroutine sub1
use M_matdim,only : iab
iab = 0
end subroutine
The code stops at the line iab=0 If i add some lines before this line the code still stops with access violation on iab=0.
Feel myself helpless when such errors occur...
I use /full_debug /check /undef What you'd suggest to look at? Any switches to add ?
Authors mention they see the same error with IFORT compiler with some options '-m64 -i8' AND some routines were compiled with flag '-g' and others 'without'. Means code hidden error somewhere?