You need to tell the compiler to use non-Standard "fixed 132-column " source format.
See the make-variable E132 (=-extend-source 132) in the ioapi/Makeinclude.$BIN: which has the flag for using this non-Standard Fortran-source format.
This value belongs in the *Makefile"'s make-variable f_FLAGS.
Sir, attached is the Makefile I have used and the error it generated. I did replace the ifort flags but I guess its not enough. Kindly advice where is the mistake.
Your Makefile’s flags needs to match the corresponding ioapi/Makeinclude.$BIN flags – in particular, either -openmp for ifort Version 15 or earlier, or -qopenmp for later versions.