You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to do complex math, and I found out owl is the library for this.
However, I just can't install it. opam fails to build it, when building it for source there's an error and I don't know how to use docker.
Here are the exact error messages
with opam install:
[ERROR] The compilation of owl.1.2 failed at "dune build -p owl -j 15".
#=== ERROR while compiling owl.1.2 ============================================#
# context 2.3.0 | linux/x86_64 | ocaml.5.3.0 | https://opam.ocaml.org#d23a0933cc802b20b4fc13a237d0689eda64ea6e
# path ~/.opam/default/.opam-switch/build/owl.1.2
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p owl -j 15
# exit-code 1
# env-file ~/.opam/log/owl-25310-d7fd40.env
# output-file ~/.opam/log/owl-25310-d7fd40.out
### output ###
# [...]
# src/owl/fftpack/owl_fftpack_impl.h:143:7: warning: unused variable βnβ [-Wunused-variable]
# src/owl/fftpack/owl_fftpack_impl.h: In function βvalue float32_rfftb(value, value, value, value, value)β:
# src/owl/fftpack/owl_fftpack_impl.h:203:7: warning: unused variable βnβ [-Wunused-variable]
# src/owl/fftpack/owl_fftpack_impl.h:213:7: warning: unused variable βncomplexβ [-Wunused-variable]
# src/owl/fftpack/owl_fftpack_impl.h: In function βvalue float32_dct(value, value, value, value, value, value, value)β:
# src/owl/fftpack/owl_fftpack_impl.h:277:7: warning: unused variable βnβ [-Wunused-variable]
# src/owl/fftpack/owl_fftpack_impl.h: In function βvalue float32_dst(value, value, value, value, value, value, value)β:
# src/owl/fftpack/owl_fftpack_impl.h:343:7: warning: unused variable βnβ [-Wunused-variable]
# (cd _build/default/src/owl && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -O3 -march=native -mfpmath=sse -msse2 -funroll-loops -fno-math-errno -fno-rounding-math -fno-signaling-nans -fexcess-precision=fast -DSFMT_MEXP=19937 -fno-strict-aliasing -I/usr/include/openblas -g -I /home/baptiste/.opam/default/lib/ocaml -I /h[...]
# src/owl/core/owl_ndarray_maths_map.h: In function βcomplex64_elt_less_equal_scalarβ:
# src/owl/core/owl_ndarray_maths_stub.c:1701:30: warning: value computed is not used [-Wunused-value]
# src/owl/core/owl_ndarray_maths_map.h:213:5: note: in expansion of macro βMAPFNβ
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
ββ The following actions failed
β Ξ» build owl 1.2
ββ
βΆβ No changes have been performed
when trying to build from source:
dune build @install
File "src/owl/dune", line 88, characters 3-26:
88 | owl_stats_dist_exponpow
^^^^^^^^^^^^^^^^^^^^^^^
src/owl/stats/owl_stats_dist_exponpow.c: In function βexponpow_rvsβ:
src/owl/stats/owl_stats_dist_exponpow.c:36:14: error: too many arguments to function βstd_gaussian_rvsβ; expected 0, have 1
In file included from src/owl/stats/owl_stats_dist_exponpow.c:7:
src/owl/stats/owl_stats.h:111:15: note: declared here
src/owl/stats/owl_stats_dist_exponpow.c:43:11: error: too many arguments to function βstd_gaussian_rvsβ; expected 0, have 1
src/owl/stats/owl_stats.h:111:15: note: declared here
make: *** [Makefile:9: build] Error 1
I'm not very good at troubleshooting and I'm really at a loss here
Also, sorry if this isn't the place for this, I tried asking somewhere else and got told to ask here
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to do complex math, and I found out owl is the library for this.
However, I just can't install it. opam fails to build it, when building it for source there's an error and I don't know how to use docker.
Here are the exact error messages
with opam install:
when trying to build from source:
I'm not very good at troubleshooting and I'm really at a loss here
Also, sorry if this isn't the place for this, I tried asking somewhere else and got told to ask here
Beta Was this translation helpful? Give feedback.
All reactions