Problem with gfortran and named pipes under unix

Johannes Lotz johannes.lotz@rwth-aachen.de
Mon Dec 11 21:07:00 GMT 2006


Hello.

I have a problem using gfortran for a code dealing with named pipes.
In the attachement is a small example for that (bigger than necessary, 
because of copy/paste from the original code).

It just forks the program, opens the named pipe and writes some stuff to it.
I tried compiling with ifort (intel), and the problem was gone.

Any idea, where the problem comes from? I think gfortran does not open 
the pipe correctly (~O_NONBLOCK already tried).

Thanks,
 johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pipe_test.tar
Type: application/x-tar
Size: 10240 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061211/966c4c52/attachment.tar>


More information about the Fortran mailing list