Re: Mixing programming with Fortran
- From: Glenn.Ehrlich@xxxxxxxxxxxxx
- Date: 24 Mar 2006 09:08:55 -0800
You might try looking at Matlisp, as it calls BLAS and LAPACK. It
should give you some good ideas. I think the set of interfaces and
macros they came up for calling the BLAS and LAPACK routines are quite
good, and could provide good inspiration and / or some tools for
calling other Fortran routines.
You might also look at cffi. It might be possible to extend cffi to
know about Fortran. This might be simple or even a non-issue if
linking against g77 or g95 compiled libraries. Maybe some of the cffi
folks have thought about this, you might want to shoot their mailing
list a question about this.
Even though you only mentioned SBCL and CMUCL, I'd like to add that
Allegro's FFI already knows about Fortran, although I haven't done
anything other than read the docs on it.
http://matlisp.sourceforge.net/
http://common-lisp.net/project/cffi/
Glenn
Dmitry V. Gorbatovsky wrote:
I would highly appreciate
any link/help on mixing programming Fortran
with Common Lisp(SBCL or CMUCL) and/or
calling Fortran libraries/functions
from Lisp.
.
- References:
- Mixing programming with Fortran
- From: Dmitry V. Gorbatovsky
- Mixing programming with Fortran
- Prev by Date: Re: simple funcall question
- Next by Date: Re: Mixing programming with Fortran
- Previous by thread: Re: Mixing programming with Fortran
- Next by thread: Re: Mixing programming with Fortran
- Index(es):
Relevant Pages
|