The IntelĀ® Fortran main program can call Intel Fortran subprograms, including subprograms in static and shared libraries.
For mixed-language applications, the Intel Fortran main program can call subprograms written in C/C++ if the appropriate calling conventions are used (see Calling C Procedures from a Fortran program).
Intel Fortran subprograms can be called by C/C++ main programs. If the main program is C/C++, you need to use the -nofor_main compiler option to indicate this.
You can use subprograms in static libraries if the main program is written in Intel Fortran or C/C++.
You can use subprograms in shared libraries in mixed-language applications if the main program is written in Intel Fortran or C/C++.