astro-informatics / ssht

Fast and exact spin spherical harmonic transforms
http://astro-informatics.github.io/ssht/
GNU General Public License v3.0
11 stars 2 forks source link

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

Open yurivict opened 2 years ago

yurivict commented 2 years ago
-- 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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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.