I am trying to use FORD on one of our programs. The source code consists of some 20 files, nothing really large and I thought it was a good test before I would attempt FORD on the whole suite. However, I run into bizarre problems and I have not been able to create a small example that exhibits the same phenomena.
What happens is that FORD complains about a USE statement:
Reading file src\agr_hyd_step.f
Traceback (most recent call last):
File "c:\users\markus\.julia\conda\3\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
...
Exception: Found USE statemnt in SOURCEFILE
When I comment out the USE statements (there are actually two), I get:
Reading file src\agr_hyd_step.f
Traceback (most recent call last):
File "c:\users\markus\.julia\conda\3\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
...
Exception: Found variable in SOURCEFILE
The module is not included in the source tree in which I do the experiment, but that should not matter because I have defined that as an “extra_mod” in the project file. And furthermore I do not see any evidence of FORD first scanning all the source files for module definitions.
I even tried putting a dummy module in the source file, so that it would surely be found, but that does not help in any way either.
In short: I cannot proceed here. Does anyone know what I can do about it? Or should I report this at the FORD site?