Software Archive
Read-only legacy content
17060 Discussions

converting f77 to f90, IO read error.

pecan204
Beginner
523 Views
Can anyone help?

I am trying to convert f77 language to f90 with a convert program. When I run it I get a severe error (29) file not found. But the file is in the DSP subdirectory and I even tried typing in the whole path.

The program is a console application. The convert program is in f90. I am wondering are there any Project settings that should be set or any other settings on operating system files that should be set?

Comments Please?
Thanks
Ken
0 Kudos
3 Replies
Steven_L_Intel1
Employee
523 Views
A File Not Found error has nothing to do with F77-F90 nor with project or OS settings. It is simply that the file you are asking Fortran to open is not where it is specified, with the name you gave.

When you get the error message, it should give the path it was using to open the file. What is it? (If you have ERR= or IOSTAT= on the OPEN, take them off so that you see the full error.)

Steve
0 Kudos
pecan204
Beginner
523 Views
I discovered that the convert program can only read a .f extension and not a .for

Thanks for the comment!

If anyone is interested the convert program is found at this link:

http://www.fortran.com/fort ran/market.html

Ken
0 Kudos
Steven_L_Intel1
Employee
523 Views
Here's a much simpler F77-F90 conversion program:


program convert
end


No "conversion" is necessary - any valid Fortran 77 program is a valid Fortran 90 program, and CVF supports Fortran 77 and many extensions.

Steve
0 Kudos
Reply