Why Gfortran fails to compile large file without any warning or errors

36 views Asked by At

I have a code with 400k lines and various modules. I had put everything in a single file due to cyclic dependencies that did not allow me to leave it in separate files (by the way the code compiles absolutely fine with Silverfrost FTn95). When compiling it just exits after a couple of minutes or so. If I remove some files I can compile it (but fails later dependencies when linking, so not an option).

How can I force Gfortran to give an output each time a module/subroutine/function is successfully compiled? So I can get an idea of where it's failing (as there is no error as such, just no .o created).

0

There are 0 answers