Topic: Clean and modules
Would it be possible for "Clean" in the build menu to remove *.mod files from the project directory when they have the same name as a *.mod file in the "modules" sub-directory.
Although SF puts its *.mod files in the "modules" sub-directory, I have found that if there are .mod files in the project directory gfortran will try to use these first before looking in the "modules" sub-directory. This is probably a quirk of the search path that gfortran uses. Even though you have used -Jmodules it still looks in the project directory first. You can test this by putting an empty .mod file in the project directory.
I sometimes have *.mod files in my project directory because I sometimes compile my source code using other compilers (yes naughty). But then the *.mod files I generate prevents SF from building my project (since they are not GNU ones). Since "Clean" doesn't help, I have to remove these by hand currently.
An alternative would be to fix -Jmodules in the makefile (replace with -Imodules ?) so that the project directory isn't searched. I seem to recall -J was deprecated as some point, but I am not sure. I have been using -Imodules here in other work, unrelated to SF.
David