next up previous
Next: Performance Up: Client Interfaces Previous: The MATLAB Interface

C and FORTRAN interfaces



In addition to the MATLAB interface, we have developed two programming interfaces, one for Fortran and one for C. Unlike the interactive interfaces, programming interfaces require some programming effort from the user. But again, with a view to simplicity, the NetSolve libraries contain only a few routines, and their use has been made as straightforward as possible. As in MATLAB, the user can call NetSolve asynchronously.

A very attractive feature of these interfaces is that NetSolve preserves the original calling sequence of the underlying numerical software. It is then almost immediate to convert a code to NetSolve, as shown in the short FORTRAN example below :

C     Linear system solve : Call to LAPACK


C     Linear system solve : Call to NetSolve


Jack Dongarra
Thu Aug 29 16:27:43 EDT 1996