Fortran · Runtime error

Error 38: Read/write error detected by the I/O runtime

What does Error 38: Read/write error detected by the I/O runtime mean in Fortran?

A read or write operation failed for a reason the runtime detected directly, distinct from a formatting or end-of-file condition, commonly a hardware or filesystem-level I/O failure.

Error 38: Read/write error detected by the I/O runtimeIntel Fortran · gfortran

Condition

A read or write operation failed for a reason the runtime detected directly, distinct from a formatting or end-of-file condition, commonly a hardware or filesystem-level I/O failure.

Fix

Check the underlying storage and path for the file involved, since this error generally indicates a problem outside the program's own logic rather than a coding mistake.

Pending source verification. Not yet checked against official documentation.

Related runtime error