Users manual for bfort: Producing Fortran interfaces to C source code
In many applications, the most natural computer language to write in may be different from the most natural language to provide a library in. For example, many scientific computing applications are written in Fortran, while many software libraries-particularly those dealing with complicated data structures or dynamic memory management-are written in C. Providing an interface so that Fortran programs can call routines written in C can be a tedious and error-prone process. We describe here a tool that automatically generates a Fortran-callable wrapper for routines written in C, using only a small, structured comment and the declaration of the routine in C. This tool has been used on two large software packages, PETSc and the MPICH implementation of MPI.
- Research Organization:
- Argonne National Lab., IL (United States)
- Sponsoring Organization:
- USDOE, Washington, DC (United States)
- DOE Contract Number:
- W-31109-ENG-38
- OSTI ID:
- 93504
- Report Number(s):
- ANL/MCS-TM--208; ON: DE95014075
- Country of Publication:
- United States
- Language:
- English
Similar Records
PETSc Users Manual (Rev. 3.13)
PETSc/TAO Users Manual (Rev. 3.19)
PETSc 2.0 Users Manual: Revision 2.0.16
Technical Report
·
Sat Feb 29 23:00:00 EST 2020
·
OSTI ID:1614847
PETSc/TAO Users Manual (Rev. 3.19)
Technical Report
·
Thu Mar 30 00:00:00 EDT 2023
·
OSTI ID:1968587
PETSc 2.0 Users Manual: Revision 2.0.16
Technical Report
·
Fri Jan 31 23:00:00 EST 1997
·
OSTI ID:464159