INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

FORTRAN - Severe File not found error.

FORTRAN - Severe File not found error.

(OP)
HI,

I have a FORTRAN executable that works perfectly in Windows XP, however when I execute the same in Windows 7 , I get the following error

forrt1: The System cannot find the file specified
forrt1: severe <602>: file not found.

I tried using the process monitor to look for the files the executable is using but of no avail.

Any help on this is appreciated!

Thanks in anticipation.

RE: FORTRAN - Severe File not found error.

Can't you just add print statements to identify where you are in the program before it throws the error?

Otherwise, you need to copy all the potentially relevant files from the one computer to the other. You can also try renaming likely folders until you throw the same error on the old computer.

TTFN
I can do absolutely anything. I'm an expert!
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers

RE: FORTRAN - Severe File not found error.

(OP)
Thank you for your reply!

The problem is that I do not have the source code for the executable. It has no support files or folders.

If i copy the EXE anywhere in an XP PC, it works whereas in a Win 7 32 Bit or 64 Bit PC it throws the following error

forrt1: The System cannot find the file specified
forrt1: severe <602>: file not found.

I had used PROCMON to track the file(s) its looking for but not able to trace anything in particular.

RE: FORTRAN - Severe File not found error.

I am not a FORTRAN programmer, but you could try a few of these ideas:

1. right click and run as administrator

2. compare your windows PATH on the old and new computer.
Control panel / System / Advanced system settings / environment variables / Path.
Or you can just go to the command line and type path
see if there is something in the path on the xp system that you might need on windows 7 system.

3. I'm not sure if you need some sort of FORTRAN runtime library installed?

RE: FORTRAN - Severe File not found error.

I would echo JG2828 's suggestions. One of the first issues with Win7 is it's higher security attitude which often requires running something as administrator that didn't care before.

The other thing is file permissions and locations, but if you're not actually trying to run this on particular files then this is less likely.

You can also try the Win7 compatibility settings one at a time.

Keith Cress
kcress - http://www.flaminsystems.com

RE: FORTRAN - Severe File not found error.

Download process monitor from https://technet.microsoft.com/en-us/sysinternals/p... and run it. Set the filter process name to that of your program. Run your program - it will fail. You will see lots of trace output - one of the will tell you what file it is looking for and the places it has tried looking for it.

RE: FORTRAN - Severe File not found error.

Yes, excellent point itsmoked. I didn't think of compatibility settings. Those actually do fix issues sometimes. Right click, properties, Compatibility, Run this program in compatibility mode for: Windows XP (service pack 3).
There is also a checkbox to run as administrator.

RE: FORTRAN - Severe File not found error.

I think that JG2828's point 3 is worth investigating.

Is the XP computer the one used to originally develop and compile the Fortran program, or did it come with an installation program that might have installed a run-time package?

If Fortran is installed on the XP computer you could try installing it on the Win7 machine, or just download the appropriate run-time package and install that.

Doug Jenkins
Interactive Design Services
http://newtonexcelbach.wordpress.com/

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close