我尝试通过命名管道在某些Fortran进程之间建立通信。然而,考虑到即使是一个非常简单的玩具示例,我也会遇到麻烦。这是我的代码:programtestfifoimplicitnoneintegerstatuswrite(*,*)"hello"callflush()open(unit=11,file="MyNamedPipe",action='write',form='unformatted'$,iostat=status);close(11)write(*,*)"by"callflush()returnendprogramtestfifo如果我用普通文件运行它,它会工作:/fortra
我尝试通过命名管道在某些Fortran进程之间建立通信。然而,考虑到即使是一个非常简单的玩具示例,我也会遇到麻烦。这是我的代码:programtestfifoimplicitnoneintegerstatuswrite(*,*)"hello"callflush()open(unit=11,file="MyNamedPipe",action='write',form='unformatted'$,iostat=status);close(11)write(*,*)"by"callflush()returnendprogramtestfifo如果我用普通文件运行它,它会工作:/fortra