PDA

View Full Version : Compiling F77 w/Silverfrost FTN95


darkchild
Oct29-08, 01:42 AM
I cannot for the life of me compile a f77 program with this software. I always get the error:

FTN77 must be on the PATH.

I'm pretty sure I figured out how to add stuff to my PATH, but I looked in the program folder and I don't see anything with "FTN77" in the name, so I have no idea what to add to the path. According to the website, this program should compile ftn77.

Any ideas? I really don't want to download another compiler (especially since I tried downloading g77 and can't even get things unzipped).

zatam
Apr30-10, 11:48 PM
[QUOTE=darkchild;1934294]I cannot for the life of me compile a f77 program with this software. I always get the error:

FTN77 must be on the PATH.

I'm pretty sure I figured out how to add stuff to my PATH, but I looked in the program folder and I don't see anything with "FTN77" in the name, so I have no idea what to add to the path. According to the website, this program should compile ftn77.

Any ideas? I really don't want to download another compiler (especially since I tried downloading g77 and can't even get things unzipped).[/QUOT



first,start the ftn95.exe
then paste the code from fortran f77 code or writ the code correctly ,saved the code in fixed format file type,build it,compile and run the program.

silverfrost
May6-10, 03:17 PM
FTN95 can compile Fortran 77 code (Fortran 77 is a language standard). FTN77 is a Fortran 77 compiler and so FTN95 can compile the same code as FTN77. FTN95 is not FTN77 -- its FTN95!

So you can take any code that you compiled with FTN77 and compile it with FTN95.

Louisa
Aug13-11, 06:38 PM
I cannot for the life of me compile a f77 program with this software. I always get the error:

FTN77 must be on the PATH.

I'm pretty sure I figured out how to add stuff to my PATH, but I looked in the program folder and I don't see anything with "FTN77" in the name, so I have no idea what to add to the path. According to the website, this program should compile ftn77.

Any ideas? I really don't want to download another compiler (especially since I tried downloading g77 and can't even get things unzipped).

You haven't given us any information at all.

The command you need to give is something like:
FTN95 file.F77 /FIXED_FORMAT
or whatever suffix you have used on your file name.