Hi,
I'm trying to read non-erodable depth (ZR) from a selafin file. I have tried to program NOEROD.f to read (a) the BINARY DATA FILE 1, (b) the TELEMAC2D GEOMETRY FILE, or (c) the SISYPHE GEOMETRY FILE, using FIND_IN_SEL subroutine, and I have obtained always the same error:
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
out2684_win32.exe 00405D6B Unknown Unknown Unknown
out2684_win32.exe 004018C7 Unknown Unknown Unknown
out2684_win32.exe 00401308 Unknown Unknown Unknown
out2684_win32.exe 005101CA Unknown Unknown Unknown
out2684_win32.exe 0048EFD1 Unknown Unknown Unknown
out2684_win32.exe 00474CFB Unknown Unknown Unknown
out2684_win32.exe 0046E493 Unknown Unknown Unknown
out2684_win32.exe 0044EE72 Unknown Unknown Unknown
kernel32.dll 773DD309 Unknown Unknown Unknown
ntdll.dll 77701603 Unknown Unknown Unknown
ntdll.dll 777015D6 Unknown Unknown Unknown
Duration of job : 1 seconds ( 0:0:1 ) (system=0.032 sec)
I'm attaching all the files in case someone has some time to look at it.
Some additional comments:
(1) Compilation seems to work fine only if defining the FORTRAN FILE in TELEMAC2D parameters file. If FORTRAN FILE is included in both, TELEMAC2D and SISYPHE parameter files, it doesn't compile, and if defined only in SISYPHE file it is not used at all.
(2) The problem is always the same and is related with FIND_IN_SEL subroutine (this was checked including some PRINT commands in the FORTRAN file). I have tried Intel Compiler 11 and 2011, Windows Vista and 7, and parallel and non-parallel configuration, and the problem is always the same.
(3) I’ve been looking FONSTR.f as a reference, and tried to copy the way it reads BOTTOM, but still didn’t works.
Any advice will be very welcome.
Regards,
Sebastián