I installed gfortran as a user in a server. But I can't able to set the environment. Would someone help me with it?
I am able to use gfortran with the following command:
/home/kay/gcc-4.8.5/bin/gfortran
I tried to set my environment with following, but not working.
$ vi ~/.bashrc
$ export gfortran=/home/kay/gcc-4.8.5/bin/gfortran
$ source ~/.bashrc
When I type:
$ gfortran
command not found
But when I type:
$/home/kay/gcc-4.8.5/bin/gfortran
fatal error: no input file