Fortran Programming Question:
Download Questions PDF

What directory is used by the compiler for compiling a Fortran Program? Where does f77 live?

Answer:

For the work in this section, you should assume that everything happens in whatever directory you are in when you type the "f77". Type "pwd" if you don't know the answer to this question. The executable file called "f77" resides both in /bin and /usr/bin on these machines. This is very unsual. To locate an executable file use the "whereis" command (e.g. "whereis f77"). Unfortunately the manual pages on f77 aren't connected properly and are listed under IBM's other name for their compiler, "xlf". Try "man xlf" for more information on the compiler, but don't expect too much. IBM likes to force people to buy manuals and special CD-ROM packages.

Download Fortran Interview Questions And Answers PDF

Previous QuestionNext Question
Why do you put so many lines of empty space in your programs?How do you use a logical variable? What is stored there?