# TaoInitializeFortran

Routine that should be called from C after the call to TaoInitialize() if one is using a C main program that calls Fortran routines that in turn call TAO routines.

## Synopsis

    int TaoInitializeFortran(void)

Collective on MPI_COMM_WORLD

## Notes

TaoInitializeFortran() initializes some of the default TAO variables for use in Fortran if a user's main program is written in C. TaoInitializeFortran() is NOT needed if a user's main program is written in Fortran; in this case, just calling TaoInitialize() in the main (Fortran) program is sufficient.

## See Also

TaoInitialize()

## Keywords

Mixing C and Fortran, passing TAO objects to Fortran

Level:intermediate
Location:src/fortran/custom/ztao_startf.c
TAO Solver Index
Table of Contents