Visible to Intel only — GUID: GUID-7ED4305D-D762-4F0E-BA38-B1E7663C96F8
Visible to Intel only — GUID: GUID-7ED4305D-D762-4F0E-BA38-B1E7663C96F8
for_rtl_init_
Run-Time Subroutine: Initializes the Fortran run-time environment and causes Fortran procedures and subroutines to behave the same as when called from a Fortran main program. On Linux* and macOS, it also establishes handlers and floating-point exception handling.
This routine should be called from a C main program; it is invoked by default from a Fortran main program.
CALL for_rtl_init_ (argcount,actarg)
argcount |
Is a command-line parameter describing the argument count. |
actarg |
Is a command-line parameter describing the actual arguments. |
To clean up the Fortran run-time environment, use function for_rtl_finish_.
Consider the following C code:
int argc;
char **argv;
void for_rtl_init_ (int *, char **);
for_rtl_init_ (&argc, argv);