soegaard2
2021-7-27 11:43:40

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


jmhimara
2021-7-27 15:01:44

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


soegaard2
2021-7-27 15:02:16

I used CBLAS instead of BLAS.


jmhimara
2021-7-27 15:02:59

What about Lapack?


jmhimara
2021-7-27 15:04:14

or is there a C equivalent of that as well?


soegaard2
2021-7-27 15:04:24

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).


soegaard2
2021-7-27 15:04:53

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


jmhimara
2021-7-27 15:05:43

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



soegaard2
2021-7-27 15:06:30

Maybe LAPACK is in C?


jmhimara
2021-7-27 15:07:43

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


jmhimara
2021-7-27 15:07:57

that’s just a wild speculation though


soegaard2
2021-7-27 15:09:57

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


jmhimara
2021-7-27 15:11:47

Anyway, thanks!


chansey97
2021-7-27 16:16:21

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


notjack
2021-7-27 19:12:18

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.


notjack
2021-7-27 19:12:56

yup :grin: