Cant find Fortran77 File After Installing
I just Installed the Fortran77 package from CD#2 and I dont know where the package is.
It asked me for CD2 and the Package was installed successfully, but the question is I cant find where it installed it to. |
you should just need to access the g77 executable (assuming it was g77 you installed) from any old command line, as it should be on your path already.
|
I went to Xterm, and I typed g77 but no directory. Where could this be, that my question. Im tring to figure out where this package went. Its seems a mystery.
I will try Find Filea maybe it will pop up there, but I doubt it. |
I really liked to find this file. It just bugs me.
|
find / -name g77 -print
My guess is that it'll be in /usr/bin. |
To find anything, use the whereis command, i.e.,
whereis g77 . Mine is at /usr/bin/g77 . Also, the find utility is nice. In KDE, it's kfind. The find program is also probably (distribution-specific) in your Home/Start/Launch menu at the very bottom left corner. Sheng-Chieh |
Its in the Root Directory /usr/bin/g77 but I cant open the program.
I think I have to become root. And I even typed 'su' in the terminal and it cant find the file or open the file. |
Post the results of "ls -l /usr/bin/g77" (no quotes) here if you're having further difficulties.
|
Results are:
lrwxrwxrwx 1root root /usr/bin/g77 (highlited blue) >> /etc/alternatives/g77* (hightlited green) |
Interesting ... what exactly happens if you try to run g77 from the command line (post the exact messages you get)? It looks like it's there, but I'm wondering why it's linked to something in /etc/alternatives...
|
It says 'No input Files'
I know its strange. I dont know. I have a feeling that these CDs I got some files or packages are corrupted. I just have a strange feeling. Well, any other suggestions??? Although, it did say successful install. |
Oh, well in that case, it's all OK then. You need to pass g77 a Fortran source file for it to compile or it will complain in the manner you describe. Unix commands aren'tt known for their verbose errors messages :).
|
Ok, so i need to use Fortran77. So I cant use Fortran? Or what do I need to do to get this going?
How could I use it then? |
I think Im being ignored here.
Im trying to locate this program. Please help me out. |
Not really... btmiller provided you with the answer but then I do not what you are looking for.
g77 is a command line compiler not a xwindows development environment. Example If the fortran source code file is named file.f then to compile the program from a console window: g77 file.f The compiler creates the executable application called a.out. To run your application you would enter in a console window. ./a.out http://gcc.gnu.org/fortran/ |
All times are GMT -5. The time now is 12:44 PM. |