Topic: fatal error: no input files; unwilling to write output files - What?
In using Version 3.23 build 3691 (GTK+) on a Mac Mini and was modifying a previously working program that I last visited in early February. There are no input files for this program. I assign values to variables inside the program and generate permutations of numbers until the desired permutation is achieved. Then I write the result out via
Write (*,"(A3)", advance = "no") myvariable
gfortran: fatal error: no input files; unwilling to write output files
Error: Last command making (target) returned a bad status
Error: Make execution terminated
After I finished the Mods, saved the source, saved the project, build and launch, it ran the program as it was before the mods. In the project folder, I found a target, makefile, fort.100, a build folder, and a file named unix executable (maybe I compiled to a standalone) - all with the early Feb dates.
I moved them to the trash so I just had the .f95 and .prj files with today's date. Then I saved, and build
and the MakeFile appears in the project folder along with an empty build folder.
I ran some unmodified programs from the same era (with this newer Simply Fortran version), and they are working.
So I'm don't know why the build is unhappy. The program is not supposed to have input files.
I'm not as young as I used to be so 12:30 AM is quitting time - for now.
That issue with not writing because there are no inputs is puzzling.
I need insight into that.
PS: Yes, next time I'll save the original, copy the source, and start a new project with that source as a starting point.