Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Reading file by two programs

gsfantos
Beginner
416 Views
Hi there,
is it possible to open a specific file at the same time by two different programs that run simultaneusly and read/write at the same time? The case is direct access and the read-writings are in different lines, but in the same file.
Any suggestions?
Thanks
George
0 Kudos
2 Replies
gsfantos
Beginner
416 Views

I did it guys by specifying{/fpscomp:general} in the compiler

Thanks by the way

George

0 Kudos
TimP
Honored Contributor III
416 Views
This is documented in lang_for.pdf under File I/O > OPEN > SHARED.
0 Kudos
Reply