Hi all, > Calling _exit is indeed strange but there is nothing I can do with it > (at least not now). I will try calling _gfortran_flush_i4 as Tobias > advised. That actually solved the problem! Thanks a lot for your help! -- Best regards, Yuri