flatironinstitute / FMM3D

Flatiron Institute Fast Multipole Libraries --- This codebase is a set of libraries to compute N-body interactions governed by the Laplace and Helmholtz equations, to a specified precision, in three dimensions, on a multi-core shared-memory machine.
https://fmm3d.readthedocs.io
Other
91 stars 36 forks source link

Add option to compile package for Octave #32

Open WiserOrb opened 1 year ago

WiserOrb commented 1 year ago

Octave is able to compile mex files using the command mkoctfile --mex doc. To use it you don't need to modify the makefile, simply change MEX=mex to mkoctfile --mex. Tested on openSuse Tumbleweed, all the test pass runnin octave test_*.

Maybe a maintainer could add a comment to the user manual or a makefile option. I would do it myself, but I'm not familiar with the make syntax. Dependancies:

mrachh commented 1 year ago

Hi, Thanks for this. We will incorporate octave support in the next release.

WiserOrb commented 1 year ago

Thanks!