Compiling F77 w/Silverfrost FTN95

  • Thread starter Thread starter darkchild
  • Start date Start date
Click For Summary
SUMMARY

Compiling Fortran 77 (F77) programs using Silverfrost FTN95 requires ensuring that the FTN77 compiler is correctly referenced in the system PATH. Users often encounter the error "FTN77 must be on the PATH" due to misconfiguration. FTN95 can compile F77 code, but it is essential to use the correct command syntax, such as "FTN95 file.F77 /FIXED_FORMAT". Users should save their code in a fixed format file type before compilation.

PREREQUISITES
  • Understanding of Fortran 77 programming standards
  • Familiarity with Silverfrost FTN95 compiler
  • Basic knowledge of system PATH configuration
  • Experience with command line operations
NEXT STEPS
  • Research how to configure system PATH for Windows
  • Learn about the differences between FTN95 and FTN77 compilers
  • Explore fixed format file types for Fortran code
  • Investigate common compilation errors in FTN95
USEFUL FOR

Fortran developers, software engineers working with legacy code, and anyone needing to compile Fortran 77 programs using Silverfrost FTN95.

darkchild
Messages
153
Reaction score
0
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).
 
Technology news on Phys.org
darkchild said:
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.
 
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.
 
darkchild said:
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.
 
We have many threads on AI, which are mostly AI/LLM, e.g,. ChatGPT, Claude, etc. It is important to draw a distinction between AI/LLM and AI/ML/DL, where ML - Machine Learning and DL = Deep Learning. AI is a broad technology; the AI/ML/DL is being developed to handle large data sets, and even seemingly disparate datasets to rapidly evaluated the data and determine the quantitative relationships in order to understand what those relationships (about the variaboles) mean. At the Harvard &...

Similar threads

Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 12 ·
Replies
12
Views
7K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K