Intel® Fortran Compiler 16.0 User and Reference Guide

Using the -nofor_main Compiler Option (Linux* and OS X*)

Intel® Fortran subprograms can be called by C/C++ main programs. Use the -nofor_main compiler option if your C/C++ program contains the main() entry point and is calling an Intel® Fortran subprogram.