rstreich
07-21-2009, 01:07 AM
Hello,
I am trying to use Totalview on Fortran code compiled with the PGI (7.1) compiler.
When using modules that have included source code from separate files via include statements, I cannot see the source code in the debugger. An example:
module testmodule
...
contains
include 'file.f90'
endmodule testmodule
If, instead, I copy the code from file.f90 directly into the module, I can see it in the debugger. Why is that? Is there anything I can change in the settings of Totalview or any compiler options that will make the code visible? I have tried #include "file.f90" and using the preprocessor, but that did not help.
Thanks for any help.
Best regards
Rita
I am trying to use Totalview on Fortran code compiled with the PGI (7.1) compiler.
When using modules that have included source code from separate files via include statements, I cannot see the source code in the debugger. An example:
module testmodule
...
contains
include 'file.f90'
endmodule testmodule
If, instead, I copy the code from file.f90 directly into the module, I can see it in the debugger. Why is that? Is there anything I can change in the settings of Totalview or any compiler options that will make the code visible? I have tried #include "file.f90" and using the preprocessor, but that did not help.
Thanks for any help.
Best regards
Rita