Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure looks for fftw3 but the binaries aren't linked with libfftw3.so #62

Open
yurivict opened this issue Aug 6, 2022 · 3 comments

Comments

@yurivict
Copy link

yurivict commented Aug 6, 2022

-- Checking for module 'fftw3'
--   Found fftw3, version 3.3.10
-- Found FFTW3: /usr/local/lib/libfftw3.so (found version "3.3.10") found components: DOUBLE_SERIAL 
@jasonmcewen
Copy link
Contributor

jasonmcewen commented Aug 9, 2022

Thanks for your recent comments @yurivict. We're actually writing a completely new version of ssht in jax, to be released in the coming months. This will be pure python/jax so installation should be more straightfortward. I'm afraid we don't have the capacity to put further time into improving the current ssht at present since it will be superseded soon. I guess that doesn't help you at the moment but I hope the fact that there will be a new clean code in the near future is some consolidation. Watch this space! And in the meantime, the best way to get ssht installed is through pip, which leverages a PyPi/conan setup (see installation instructions here.).

@yurivict
Copy link
Author

yurivict commented Aug 9, 2022

This will be pure python/jax so shouldn't installation should be more straightfortward.

But the description says "Fast and exact spin spherical harmonic transforms" and Python is slow.

@jasonmcewen
Copy link
Contributor

The current ssht version is implemented in C under the hood with python wrappers. JAX uses XLA for hardware acceleration and JIT compilation so can be super fast. The upcoming JAX version should be much faster than the current code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants