gfortran is a fortran compiler
that is available through gcc (for Macs visit hpc.sourceforge.net) . You can
install it on your laptop if you want to program when no internet
connection is available. If you have installed a recent version of gcc,
chances are that gfortran is already available on your system. A final
note is that if the software is installed in a non-standard directory
tree, e.g. /usr/local, then you have to make sure that the executables are
in your path, and the shared libraries are in your load library paths. The
following are the commands you have to include in your .bashrc file:
#modify the PATH to find the new executable
export PATH=$PATH:/home/username/softdir/bin
#modify the LD_LIBRARY_PATH to find the new shared libraries
export LD_LIBRARY_PATH=$PATH:/home/username/softdir/lib
#modify the MANPATH to find the new manual pages
export MANPATH=$MANPATH:/home/username/softdir/man
Here /home/username/softdir is the root directory where the softwarre has been
installed. At the command line issue the command source .bashrc.