I have ~35k lines of F90 code as a main library and executables.
It all works swimmingly on its own. I wrote a simple program that does the same picture as a geochron (tm) clock.
For my code I then went through the same process and it crashes on the entry to one of the subroutines. The general process is:
get command line arguments
Call subroutine to allocate memory.
Call subroutine to initialise variables, and open debug file.
Call subroutines and functions to check input arguments and then fetch data from binary files.
Call other subroutines... (Fails about the third subroutine in)
Call deallocation subroutine
Call subroutine to close debug file
END
On the F90 I have all the subroutine arguments using INTENT, and I also compiled with -gen-interfaces -check all -warn all -noalign.
No issues in the compiling or the running in the executables. And I have checked the REAL(KIND=8), CHAR, INTEGER etc are all the same size and dimension.
But it does not get to line #1 in the failing subroutine with the java encapsulation.
Any ideas of where to start would be appreciated.