spinw icon indicating copy to clipboard operation
spinw copied to clipboard

Octave support

Open mkhorton opened this issue 6 years ago • 4 comments

Hi, I hope this is the appropriate place to ask questions about SpinW, please refer me to the appropriate venue if not!

Has SpinW been tested with Octave? Are there any plans for support? Asking because we have limited Matlab licenses available, and would be nice to be able to run core SpinW features (even if not, say, symbolic calculations) using free software.

mkhorton avatar Aug 01 '17 03:08 mkhorton

Unfortunately Octave is incompatible with MATLAB for object oriented programming, the technique SpinW uses and I don't have the resources to create and support a non-object oriented version of SpinW. However I am working on a compiled version of SpinW that does not require MATLAB license and can be called from Python. Currently I have a stable version for MacOS and the Linux version is under development. What operating system are you using?

tsdev avatar Aug 02 '17 07:08 tsdev

A compiled version with a Python bridge would actually be perfect. My development machine is macOS, but I have a MATLAB license I can use for now, the license issue I mentioned would be for scripting many calculations running on a Linux machine, for which a Python bridge would be really helpful. I'd be happy to beta-test the mac version once it's ready to be shared.

mkhorton avatar Aug 02 '17 18:08 mkhorton

I just shared the compiled code for all main operating systems: https://github.com/tsdev/spinw/releases/tag/v3.0.2py Be careful, this is for testing. I am looking forward to your feedback, if you have problems please submit an issue here, if you have general questions, please submit it on the Google Forum: https://groups.google.com/forum/#!categories/spinwforum

tsdev avatar Aug 03 '17 06:08 tsdev

Thank you! I can confirm this works and installs smoothly on macOS 10.12.6 w/ Python 3.6 (via Homebrew), will try Linux soon + send any issues/questions to the appropriate places if they come up :)

mkhorton avatar Aug 05 '17 17:08 mkhorton