I have Ubuntu 14.04 and have installed intel fortran compiler. I am trying to compile a code through makefile that uses ifort. However, I get these errors while compiling
-------------------------------------------
f95: error: precise: No such file or directory
f95: error: unrecognized command line option ‘-h’
f95: error: unrecognized command line option ‘-fp-model’
f95: error: unrecognized command line option ‘-ip’
-----------------------------------------------
I posted this query to another online forum that pointed out that I should check if the "f95" is still
linked to gfortran and it indeed is linked to the default gfortran compiler.
I found that out by typing "ls -la /etc/alternatives/f95" resulting in the following:
-------------------------------------------------------
lrwxrwxrwx 2 root root 17 Feb 27 2015 /etc/alternatives/f95 -> /usr/bin/gfortran
-------------------------------------------------------
My understanding is that the I would need the "f95" get linked to my intel fortran compiler. But I don't know the right way to do it and avoid getting the compilation errors.
Thank you for your time.