

@jmhimara Feel free to ask about the source of flomat
.

Hi @soegaard2 . Sure. Where you able to call Fortran directly, or did you have to create a C intermediate?

I used CBLAS instead of BLAS.

What about Lapack?

or is there a C equivalent of that as well?

I believe CBLAS doesn’t use “bindings” for BLAS, but rather is the result of running a Fortran to C converter (but I could misremember - there is a ton of BLAS implementations).

I don’t think I did anything special for LAPACK.

Cool. Frankly I didn’t expect that there was a BLAS/LAPACK interface in Racket


Maybe LAPACK is in C?

I’m not a computer science guy, but it’s possible that C ".so" files and Fortran ".so" files are equivalent from an FFI perspective

that’s just a wild speculation though

Could be - or at least close enough, that the standard libffi for C can be used.

Anyway, thanks!

Usually if my filename contains a “chess”, it won’t appear as an identifier in that file…

I used to do that too, but moved away from it because filenames don’t show up in Racket code enough for them to establish context well.

yup :grin: