FORTRAN 77 IO Error: Troubleshooting with FORCE 2.0

  • Fortran
  • Thread starter Sujash Bhattacharya
  • Start date
  • Tags
    Error Fortran
  • #1
I have a FORTRAN code that is producing no error upon compilation but when I run it, the run aborts with following message

"open: illegal unit number
apparent state: unit 72 <unnamed>
last format: list io
lately writing direct formatted external IO

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information"

I am using Force 2.0 as compiler. This code is running well in my professors pc with force 2.0. . The code is long. So it is difficult to post it here.
 
Technology news on Phys.org
  • #2
You'll have to post some code if you want anybody to help you. You can copy and paste the relevant part (including the open statement) inside code tags.
 
  • #3
Here's an online discussion about finding valid unit numbers:

http://computer-programming-forum.com/49-fortran/f569be913050064a.htm

I recall that 5 is for reading standard input and 6 is for writing to the printer ie standard output

and here's some related info from Intel on its fortran:

https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/269404

where they note the shell may have issues with too many files open (another limit to consider).
 

1. What is FORTRAN 77 IO Error and how does it affect my code?

FORTRAN 77 IO Error refers to input/output errors that occur when using the FORTRAN 77 programming language. These errors can occur when reading or writing data to files, and can cause your code to crash or produce unexpected results.

2. What is FORCE 2.0 and how can it help with troubleshooting FORTRAN 77 IO errors?

FORCE 2.0 is a software tool designed specifically for debugging and troubleshooting FORTRAN 77 IO errors. It analyzes your code and identifies potential sources of IO errors, making it easier for you to locate and fix the issue.

3. Can FORCE 2.0 be used with other versions of FORTRAN or is it only compatible with FORTRAN 77?

FORCE 2.0 is primarily designed for use with FORTRAN 77, but it can also be used with other versions of FORTRAN. However, some features may not be available or may behave differently depending on the specific version of FORTRAN being used.

4. Is FORCE 2.0 a free tool or does it require a subscription?

FORCE 2.0 is a free software tool that can be downloaded and used for troubleshooting FORTRAN 77 IO errors. However, some advanced features may require a subscription or purchase of a license.

5. Is there any support available for using FORCE 2.0 to troubleshoot FORTRAN 77 IO errors?

Yes, there is support available for using FORCE 2.0. You can refer to the user manual or online documentation for guidance, or reach out to the developers or online community for assistance with any specific issues or questions you may have.

Suggested for: FORTRAN 77 IO Error: Troubleshooting with FORCE 2.0

2
Replies
60
Views
2K
Replies
17
Views
4K
Replies
8
Views
1K
Replies
3
Views
1K
Replies
12
Views
798
Replies
16
Views
1K
Replies
1
Views
832
Replies
23
Views
3K
Replies
13
Views
960
Replies
32
Views
1K
Back
Top