Using the -nofor-main Compiler Option (Linux* and
macOS*)
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.