This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I just tried the following:
{:paths ["src"]
:deps {org.clojure/clojure {:mvn/version "1.12.0-alpha5"}
uncomplicate/neanderthal {:mvn/version "0.48.0"}
org.bytedeco/mkl$linux-x86_64-redist {:mvn/version "2024.0-1.5.10"}
org.bytedeco/cuda$linux-x86_64-redist {:mvn/version "12.3-8.9-1.5.10"}
nrepl/nrepl {:mvn/version "1.0.0"}
refactor-nrepl/refactor-nrepl {:mvn/version "3.6.0"}
cider/cider-nrepl {:mvn/version "0.31.0"}}}
with a dummy main
(ns main
(:require
[uncomplicate.neanderthal.core :as nean]
[uncomplicate.neanderthal.native :as native]))
(defn -main [& args]
(println "Hello world!"))
But when running clj --main main
I get an integer overflow errorThe problem seems to happen when requiring uncomplicate.neanderthal.native
:thinking_face:
I think I have the same problem. Discussed here: https://github.com/uncomplicate/deep-diamond/issues/22 I believe it is related to setting not setting of any of these;
(set! *warn-on-reflection* true)
(set! *assert* false)
(set! *unchecked-math* :warn-on-boxed)
(set! *print-length* 16)
So it does work in the neanderthsal provided leining based example repos, as they do set it.
in my setup it's absolutely clear. It fails with above exception, unless I use: "(set! unchecked-math :warn-on-boxed)"