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

cannot make matlab #53

Open
simaqian opened this issue Mar 2, 2024 · 1 comment
Open

cannot make matlab #53

simaqian opened this issue Mar 2, 2024 · 1 comment

Comments

@simaqian
Copy link

simaqian commented Mar 2, 2024

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
Copy link
Contributor

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.

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