- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm using parallelscientific code thatis compiled with ifort 8.1 Build 20050207LamMPI 7.1.1. This code generates several output files. The problem I have is that the output files aren't updated directly, but during the calculation some additional files are creatednamed fort2zfRK9, fortC9ml3W and so on for every mpi process that is running. these files are updated regularly and when the calculation finishes, all the data from the fort files is written to the correct output files.
This behaviour is occurs only with the intel compiler. If i use a binary compiled with the lf95 compiler the output files are updated directly.
The problem I have is that the code supports checkpointing to continue the calculation if it is interrupted. But this doesn't work with the intel compiled version because the content of the fort files isn't written to theoutput files when the calculation is killed.
Is there a way to force the intel compiler to write to these output files directly ?
Best regards,
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That behavior is consistent with the files being opened with STATUS='SCRATCH'. I'm not sure how you get the data in the correct named file, as one can't change the status of a scratch file on close.
Can you come up with a simple program that demonstrates this? Perhaps one that opens a file and then waits for terminal input?
Can you come up with a simple program that demonstrates this? Perhaps one that opens a file and then waits for terminal input?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you don't do so, could you flush the files or close and reopen them when writing checkpoints?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page