This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Exposing Fortran Derived Types to C and Other Languages
July/August 2008 (vol. 10 no. 4)
pp. 86-92
Douglas McCune, Princeton Plasma Physics Laboratory
Scott Kruger, Tech-X
When building large scientific codes, you might have to mix different programming languages. The authors show how to bridge the interoperability gap between Fortran 90/95 and C, and from C to other languages, with working code examples.

1. T. Dahlgren et al., Babel User's Guide, Lawrence Livermore Nat'l Lab, 2004.
2. S. Kohn et al., "Divorcing Language Dependencies from a Scientific Software Library," Proc. 10th SIAM Conf. Parallel Processing, SIAM Press, 2001; https://computation.llnl.gov/casc/components/ docs2001-siam-pp.pdf.
3. C. Hill et al., "The Architecture of the Earth System Modeling Framework," Computing in Science &Eng., vol. 6, no. 1, 2004.
4. M. Metcalf, J. Reid, and M. Cohen, Fortran 95/2003 Explained, Oxford Univ. Press, 2004.
5. J. Reid, "The Future of Fortran," Computing in Science &Eng., vol. 5, no. 4, 2003, pp. 59–67.
6. C.E. Rasmussen et al., "CHASM: Static Analysis and Automatic Code Generation for Improved Fortran 90 and C++ Interoperability," Proc. Los Alamos Computer Science Symp., 2001; http://citeseer.ist.psu.edu/articlerasmussen01chasm.html .

Index Terms:
scientific programming, Fortran, Python, derived types, programming languages
Citation:
Alexander Pletzer, Douglas McCune, Stefan Muszala, Srinath Vadlamani, Scott Kruger, "Exposing Fortran Derived Types to C and Other Languages," Computing in Science and Engineering, vol. 10, no. 4, pp. 86-92, July-Aug. 2008, doi:10.1109/MCSE.2008.94
Usage of this product signifies your acceptance of the Terms of Use.