Thank you Blue Hazzard,
I'm not sure what you mean about the path, it is perfectly valid pure windows style, points to the directory "D:\Work", which is the folder 'Work' on the 'D' drive, and is where the source code is and was loaded from. It is certainly valid for CB to try to put the output there. It would be the default. BUT, 'os_output_dir' is nothing I ever entered, nor does it make any sense. It was added by CB alone, has nothing to do with fortran. That is why I am asking on the CB forum.
I do this on 'D' because my 'C' drive is a Solid State Drive, with limited size; it is almost full, but that is where the program files must be located by Windows 7. Part of my space problem is that is where 'windows' puts the 'documents' and other 'libraries' which really eat up space (I'm trying to move them all to D). But, I don't think that is related to the problem, because:
When I run this on my laptop I run with full admin authority, and everything is on the C: drive, I have write permission in the program files. Exactly the same problem occurs, even tho I have erased rebooted and reinstalled CB. There, of course, I am using the path "C:\Work" instead of "D:\Work".
As I said, I am not the only person to have this problem, there was a lady who posted here a year or two ago and got no answers for the same problem with 'os_output_dir'. I have seen this problem reported (no solutions) elsewhere online as well.
Finally, whether I include the compiling in a project or not, the same problem happens - no compiling of the module, with same fatal error. Besides, why does the IDE have the 'Build/Compile current file' command, if not to compile a specific file? In addition, it used to work without fatal errors, albeit with the warning of the same 'unknown' output directory I did not request, '...os_output_dir'. Also, I know of one other capable programmer whose installation of the same system works with 'compile current file' on the same source file, putting out the '*.o' file and '*.mod' files without reporting any error or warning.
As you may see, this strange problem has been a real headache. Of course, I can do the whole thing from command line with no problems . However, if I cannot use the IDE to compile files, it is really not much more that a fancy 'notepad' editor with color., is it?
I am not an accomplished system-level programmer, and have no interest in becoming one. However, I am wondering if CB has created some 'startup script' which has become altered - and perhaps stays on the machine even when CB is removed.
I hope I can find out where that bogus 'os_output_dir' came from. But I am beginning to believe it is a real 'bug' and needs to be reported as such, since I can find no place where solutions are posted.
Thanks again,
Franko