Hello everyone,
I'm having troubles recently when writing data in files with my fortran programs.
I don't know if it comes from the network or anything else, but it is quite annoying because my team is working exclusively with these kinds of programs.
I am making standard use of open and write (at least it was working very well a few monthes ago)
open (IUREL, FILE=RELFILE, FORM='UNFORMATTED', STATUS='UNKNOWN')
write(IUREL) i_passages , i_zones
IUREL being an integer of free logical unit and RELFILE being a character for the name of the file required, i_passages and i_zones some of the data I want to write.
When RELFILE is located on the computer (on drive C: for example), write a file of 60Mo takes a few seconds.
Otherwise, if RELFILE is a location on the company network, the same data will require randomly (apparelntly) either a few seconds, or up to 30 minutes.
As I cannot figure out why, I thought maybe I can modify my programs so they write the data locally in a temporary file, and then transfer the file at the required location on the network.
If possible, how can I do that ? Is there a Fortran intrinsic function that already does that ?
Thanks in advance.
Cheers,
Renaud