Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29286 Discussions

File closing when DEALLOCATE HELP !!

swafortran
Beginner
936 Views
I Have a program that open a file ok, now I have a loop that allocate variables at the begining of a loop read a file and deallocate those varaibles at the end of the loop, it works fine for two time, at the third time that the loop is going to the file is close, and I do not close the file looks that the deallocation is closing the file.

Any Ideas ?
0 Kudos
1 Reply
james1
Beginner
936 Views
You need to post a code sample. Otherwise a wild guess would be perhaps you are trashing a variable that contains the LUN or something of that sort.

James
0 Kudos
Reply