- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have some legacy fortran apps (VF9.0) executed by a c# graphical front end (.NET 2003). The problem is shared file access. The fortran opens a file for output and keeps the file unit open while it executes, closing and opening(for append) the unit after a write to flush the write buffer. The c# program needs to monitor the output file and read in any new data to display while the fortran code is executing. I cannot get the c# streamreader to open the file for read while the fortran code is running, as it generates a System.IO.IOException because the file is in use by another process.
I cannot rewrite the fortran code, as it must still be maintained on Unix systems. I have tried the ifort /fpscomp:general compile option, but this makes no difference in the errors generated. The fortran code is being compiled from the command line.
Suggestions, please?
Thanks,
Chris
I cannot rewrite the fortran code, as it must still be maintained on Unix systems. I have tried the ifort /fpscomp:general compile option, but this makes no difference in the errors generated. The fortran code is being compiled from the command line.
Suggestions, please?
Thanks,
Chris
Link Copied
0 Replies

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