astro-informatics / s2let

Fast wavelet transforms on the sphere.
http://astro-informatics.github.io/s2let
GNU General Public License v3.0
11 stars 2 forks source link

cannot make matlab #53

Open simaqian opened 5 months ago

simaqian commented 5 months ago

Hello, I want to try demos in Matlab. I have successfully installed the C version on the Ubuntu 20.04. And I installed the Matlab R2023a for Linux.

[ 58%] Built target s2let
[ 66%] Built target cmocka
[ 75%] Built target test_tiling
[ 83%] Built target test_adjoint
[ 91%] Built target test_back_and_forth
[100%] Built target test_axisym_vs_directional
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/lib/libs2let.a
-- Up-to-date: /usr/local/include/s2let/s2let.h
-- Up-to-date: /usr/local/include/s2let/s2let_error.h
-- Up-to-date: /usr/local/include/s2let/s2let_hpx.h
-- Up-to-date: /usr/local/include/s2let/s2let_lm.h
-- Up-to-date: /usr/local/include/s2let/s2let_mw.h
-- Up-to-date: /usr/local/include/s2let/s2let_tiling.h
-- Up-to-date: /usr/local/include/s2let/s2let_transform_axisym_mw.h
-- Up-to-date: /usr/local/include/s2let/s2let_alloc.h
-- Up-to-date: /usr/local/include/s2let/s2let_idl_hpx.h
-- Up-to-date: /usr/local/include/s2let/s2let_math.h
-- Up-to-date: /usr/local/include/s2let/s2let_so3.h
-- Up-to-date: /usr/local/include/s2let/s2let_transform_axisym_hpx.h
-- Up-to-date: /usr/local/include/s2let/s2let_types.h
-- Up-to-date: /usr/local/include/s2let/s2let_analysis.h
-- Up-to-date: /usr/local/include/s2let/s2let_helper.h
-- Up-to-date: /usr/local/include/s2let/s2let_idl_mw.h
-- Up-to-date: /usr/local/include/s2let/s2let_mex.h
-- Up-to-date: /usr/local/include/s2let/s2let_synthesis.h
-- Up-to-date: /usr/local/include/s2let/s2let_transform_axisym_lm.h
-- Up-to-date: /usr/local/include/s2let/s2let_analysis_adjoint.h
-- Up-to-date: /usr/local/include/s2let/s2let_synthesis_adjoint.h
-- Up-to-date: /usr/local/include/s2let/s2let_fits.h
-- Up-to-date: /usr/local/include/s2let/s2let_version.h
-- Up-to-date: /usr/local/include/cmocka.h
-- Up-to-date: /usr/local/include/cmocka_pbc.h
-- Up-to-date: /usr/local/lib/libcmocka.so.0.7.0
-- Up-to-date: /usr/local/lib/libcmocka.so.0
-- Up-to-date: /usr/local/lib/libcmocka.so
-- Up-to-date: /usr/local/lib/cmake/s2let/s2letConfig.cmake
-- Up-to-date: /usr/local/lib/cmake/s2let/s2letConfigVersion.cmake
-- Up-to-date: /usr/local/lib/cmake/s2let/s2letTargets.cmake
-- Up-to-date: /usr/local/lib/cmake/s2let/s2letTargets-release.cmake

When I try make matlab, I found the problem:

(base) root@LAPTOP-SD8DEOMO:~/s2let/build# make matlab
make: *** No rule to make target 'matlab'.  Stop.

You mentioned in the website that

"It can be built using make by configuring appropriate compilers and dependencies, and then running: make matlab". I am not familiar with make. Can you describe the make matlab process more clearly? Thanks.

jasonmcewen commented 4 months ago

Please see the comments in #46 , in case that helps?

I'm afraid we're not actively developing s2let any longer. I would recomment switching to s2wav, which is a new Python/JAX code implementing scale-discretised wavelet transforms on the sphere that runs on GPUs and also supports autodiff.