When executing (for the first time) a program compiled with ifort I find the following messages:
forrtl: Operation not permitted
forrtl: severe (28): CLOSE error, unit 0, file "Unknown"
I have searched in all .f90 files for "close(unit=0", "close (unit=0", "open (unit=0" and "open(unit=0" without any result. Any hints?
In fact I obtained this message from the queuing system SLURM (in a Linux-type OS and a multicore computer; and the number of these messages coincided with the number of cores used), precisely in the file which collects (supposedly) the stderr messages.
But I have found, on the other hand, that the problem was due to an incorrect order of lines in the input file that I used to feed the program that I was using. Why this affected in the end to stderr, is a mistery to me...
Thanks anyway, Steve