>>>>> "Tamas" == Tamas K Papp <Tamas> writes:
Tamas> Hi, Tamas> Is it possible to call a Fortran subroutine from Lisp? I have seen Tamas> the C language FFI in the docs, but I wonder if it would be possible Tamas> to call Fortran somehow. There is a subroutine for banded sparse Tamas> matrices in LAPACK I would like to use. As mentioned by others, there are already libraries that can do this. If you want to cook your own, you do need to exercise some care. All Fortran compilers I know of have, essentially, a C-compatible interface. The only thing you need to know about is how Fortran handles strings. If the existing libraries don't do what you want, please ask again here, and we can help with setting up a call to a Fortran routine. Ray