Originally Posted by Kilam orez
hi dear all
i want to compile a software package(which comes as tar file,i untar it and then compile ) with compiler of my own chioce.
how can i do this? i have two compilers-gfortran and ifort.
when i compile a package it automatically compiles with ifort, but i want to compile with gfortran.
thanks in advance
Although specifying a particular fortran compiler may require a different variable name. Another approach is to read the makefile and see how it specifies the compiler.
Yet another approach is not to use make, but invoke the compiler directly:
$ gfortran (source file names)
The above won't work for complex software projects.