I'm getting the an error /usr/local/bin/gfortran: Command not found when I go to the source directory and put the command make like shown below.
~/Desktop/someprogram/source$ makePlease help with this.
****/usr/local/bin/gfortran -c -O2 Mad_He.f90
make: /usr/local/bin/gfortran: Command not found
Makefile:117: recipe for target 'Mad_He.o' failed
make: *** [Mad_He.o] Error 127**** 4 1 Answer
Thanks all, it seems that I have a fix. I found that the makefile contained in the source folder of the tar file had a different target path
-> usr/local/bin/gfortran
whereas gfortran on my Ubuntu was located in
-> usr/bin/gfortran
So I just deleted the "local/" in the makefile and the program worked perfect!