What is it about?
We present two packages written in the language of the Maple Computer Algebra system for creating efficient FORTRAN code. The package called Macrofort provides the user with tools for creating optimised FORTRAN code. Through a realistic application, namely the computation of molecular integrals arising in the area of quantum chemistry, we show how Macrofort can generate optimised FORTRAN code for vectorised machines. The second package called Transfor allows the user to efficiently convert Matrix operations, as written in Maple, into Basic Linear Algebra Subroutines (BLAS). These are the essential building-blocks of fast numerical computation in research and industry. BLAS routines are available for serial, vectorised and parallel machines. These tools provide results beyond the capacities of modern-day compilers.
Featured Image
Photo by Markus Spiske on Unsplash
Why is it important?
This shows how to use a computer algebra system to generate computationally efficient code, in FORTRAN.
Perspectives
This functionality which exists in the Maple computer algebra system has, to some extent, been extended to MATLAB, JAVA and other languages.
Dr Tony Cyril Scott
RWTH-Aachen University
Read the Original
This page is a summary of: Maple programs for generating efficient FORTRAN code for serial and vectorised machines, Computer Physics Communications, December 1998, Elsevier,
DOI: 10.1016/s0010-4655(98)00114-3.
You can read the full text:
Resources
Contributors
The following have contributed to this page







