Fortran and IMSL: It's MacOS's Turn

International Mathematical and Statistics Library for MacOS/Intel


July 20, 2007
URL:http://www.drdobbs.com/parallel/fortran-and-imsl-its-macoss-turn/201002096

Joining us today is Wood Lotz, president of Absoft -- a company that specializes in developing software development tools for Fortran, C/C++, and high-performance computing on Windows, OS X, and Linux on 32-bit and 64-bit processors from Intel, IBM, and AMD.

DDJ: Wood, you recently announced the availability of the IMSL Fortran Numerical Library -- the first implementation of such a library, in fact, for the MacOS/Intel. What is the IMSL library?

WL: IMSL in an acronym for "International Mathematical and Statistics Library". It is a platform-independent numerical library of core subroutines useful in a wide variety of fields and important for those who develop numerically intensive applications. The library consists of over 1000 special function routines and is deployed on over 70 different platforms (Mac, Windows, Linux/Intel, Linux/SPARC, AIX, etc.) worldwide. IMSL libraries are generally regarded as the most sophisticated, flexible, and scalable numerical libraries available. They dominate that space in the U.S., the Far East, and have a good presence in Europe. The benefits of having a platform-independent numerical library such as IMSL benefit customers in three ways:

DDJ: So what was it like to implement the library for this platform? More difficult than you expected? What were the stumbling blocks, if any?

WL: Absoft has been porting the IMSL library to various platforms for over 17 years. The library consists of almost 8500 FORTRAN 77 and Fortran 90 source files. Porting is simplified with an extensive makefile system developed for the gnu toolset (make, as, ar, ld, ranlib, etc).

The first step is to build the library at the highest optimization level. The library is then tested with an extensive test suite. Failures are identified and optimization is reduced until the failure is eliminated.

There are four library configurations: basic, SMP (with ATLAS BLAS), MPI, and MPI/SMP.

Once all test cases pass for all library configurations, the library is submitted to VNI for final acceptance testing and packaging.

Neither the 32-bit nor the 64-bit port of the library posed any significant problems on the Macintosh.

Two issues were identified:

Other than that, things went very smoothly. Our IMSL customers include virtually all large universities, Fortune 100 companies, and most national labs.

DDJ: With all the hoopla about Java, Ruby, Python, and other languages of the day, Fortran seems to get lost in the shuffle at times. Are developers still using it? If so, for what and where?

WL: You are certainly correct that Fortran does not enjoy high visibility in the current fashion world of computer languages. Fortran used to be taught in many of the colleges but with the trend toward Linux the focus has moved to C. C is also used to build the majority of commercial business applications and newer languages like Java and Ruby always attract attention. However, Fortran is still alive and well, just not highly visible...

DDJ: Can you point to a website that readers can visit for more information on FORTRAN and other such topics?

WL: Readers should feel free to come to Absoft and we welcome questions. Also, you may recall the space shuttle Columbia which broke apart during re-entry in 2003. Absoft Fortran was one of the primary tools used to help diagnose the cause of the shuttle disaster. This article describes the process and provides a good practical illustration of how Fortran helps solve modern problems. It is quite interesting.

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.