WRITE from a Module in a Subroutine

Maybe somebody is blocking any IO to the standard output in QE to avoid random printing from subprocesses (especially in an MPI run)?

❯ cat test.f90
use iso_fortran_env, only : output_unit
open(unit=output_unit, file="/dev/null")
print *, "Hello, world!"
end
❯ gfortran test.f90 && ./a.out

In this case it is easier to open a separate file and write to this one instead.