Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

CHASM : Static Analysis and Automatic Code Generation for Improved Fortran 90 and C++ Interoperability /

Conference ·
OSTI ID:975726

The relative simplicity and design of the Fortran 77 language allowed for reasonable interoperability with C and C++. Fortran 90, on the other hand, introduces several new and complex features to the language that severely degrade the ability of a mixed Fortran and C++ development environment. Major new items added to Fortran are user-defined types, pointers, and several new array features. Each of these items introduce difficulties because the Fortran 90 procedure calling convention was not designed with interoperability as an important design goal. For example, Fortran 90 arrays are passed by array descriptor, which is not specified by the language and therefore depends on a particular compiler implementation. This paper describes a set of software tools that parses Fortran 90 source code and produces mediating interface functions which allow access to Fortran 90 libraries from C++.

Research Organization:
Los Alamos National Laboratory
Sponsoring Organization:
DOE
OSTI ID:
975726
Report Number(s):
LA-UR-01-4955
Country of Publication:
United States
Language:
English

Similar Records

Fortran 90 pointers vs "Cray" pointers
Technical Report · Wed Oct 23 00:00:00 EDT 1991 · OSTI ID:10118824

Fortran 90 pointers vs "Cray" pointers
Technical Report · Wed Oct 23 00:00:00 EDT 1991 · OSTI ID:5793103

Babel Fortran 2003 Binding for Structured Data Types
Conference · Fri May 02 00:00:00 EDT 2008 · OSTI ID:938498