uncomplicate

quadron 2021-02-14T23:20:59.000800Z

on a machine with nvidia 2060super, with the following requirements [uncomplicate.neanderthal.core :as unc] [uncomplicate.neanderthal.native :as unn] [uncomplicate.neanderthal.vect-math :as unvm] [uncomplicate.neanderthal.math :as unm] [uncomplicate.neanderthal.cuda :as uncu] [uncomplicate.commons.core :as ucc] [uncomplicate.fluokitten.core :as ufc] [uncomplicate.clojurecuda.core :as uccc] the following code: (uccc/with-default (ucc/with-release [cuda-factory (uncu/cuda-float (uccc/current-context) uccc/default-stream)] (this-particular-network cuda-factory)))

quadron 2021-02-14T23:21:09.001100Z

gives me the following error:

quadron 2021-02-14T23:22:33.001900Z

Execution error (UnsatisfiedLinkError) at jcuda.LibUtils/loadLibrary (LibUtils.java:193). Error while loading native library "JNvrtc-11.1.1-linux-x86_64" Operating system name: Linux Architecture : amd64 Architecture bit size: 64 ---(start of nested stack traces)--- Stack trace from the attempt to load the library as a file: java.lang.UnsatisfiedLinkError: no JNvrtc-11.1.1-linux-x86_64 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:871) at java.lang.System.loadLibrary(System.java:1124) at jcuda.LibUtils.loadLibrary(LibUtils.java:143) at jcuda.nvrtc.JNvrtc.<clinit>(JNvrtc.java:59) at uncomplicate.clojurecuda.internal.impl$program_STAR_.invokeStatic(impl.clj:153) at uncomplicate.clojurecuda.internal.impl$program_STAR_.invoke(impl.clj:147) at uncomplicate.clojurecuda.core$program.invokeStatic(core.clj:616) at uncomplicate.clojurecuda.core$program.invoke(core.clj:612) at uncomplicate.clojurecuda.core$program.invokeStatic(core.clj:619) at uncomplicate.clojurecuda.core$program.invoke(core.clj:612) at uncomplicate.neanderthal.internal.device.cublas$eval103047$cublas_float__103051.invoke(cublas.clj:2493) at mycotensor.tutorial.six_cuda_and_opencl$eval122746.invokeStatic(NO_SOURCE_FILE:101) at mycotensor.tutorial.six_cuda_and_opencl$eval122746.invoke(NO_SOURCE_FILE:100) at clojure.lang.Compiler.eval(Compiler.java:7177) at clojure.lang.Compiler.eval(Compiler.java:7167) at clojure.lang.Compiler.eval(Compiler.java:7132) at clojure.core$eval.invokeStatic(core.clj:3214) at clojure.core$eval.invoke(core.clj:3210) at nrepl.middleware.interruptible_eval$evaluate$fn__960$fn__961.invoke(interruptible_eval.clj:87) at clojure.lang.AFn.applyToHelper(AFn.java:152) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invokeStatic(core.clj:665) at clojure.core$with_bindings_STAR_.invokeStatic(core.clj:1973) at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1973) at clojure.lang.RestFn.invoke(RestFn.java:425) at nrepl.middleware.interruptible_eval$evaluate$fn__960.invoke(interruptible_eval.clj:87) at clojure.main$repl$read_eval_print__9086$fn__9089.invoke(main.clj:437) at clojure.main$repl$read_eval_print__9086.invoke(main.clj:437) at clojure.main$repl$fn__9095.invoke(main.clj:458) at clojure.main$repl.invokeStatic(main.clj:458) at clojure.main$repl.doInvoke(main.clj:368) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:665) at clojure.core$apply.invoke(core.clj:660) at refactor_nrepl.ns.slam.hound.regrow$wrap_clojure_repl$fn__10341.doInvoke(regrow.clj:20) at clojure.lang.RestFn.invoke(RestFn.java:1523) at nrepl.middleware.interruptible_eval$evaluate.invokeStatic(interruptible_eval.clj:84) at nrepl.middleware.interruptible_eval$evaluate.invoke(interruptible_eval.clj:56) at nrepl.middleware.interruptible_eval$interruptible_eval$fn__991$fn__995.invoke(interruptible_eval.clj:152) at clojure.lang.AFn.run(AFn.java:22) at nrepl.middleware.session$session_exec$main_loop__1058$fn__1062.invoke(session.clj:202) at nrepl.middleware.session$session_exec$main_loop__1058.invoke(session.clj:201) at clojure.lang.AFn.run(AFn.java:22) at java.lang.Thread.run(Thread.java:748) Stack trace from the attempt to load the library as a resource: java.lang.UnsatisfiedLinkError: /tmp/libJNvrtc-11.1.1-linux-x86_64.so: libnvrtc.so.11.1: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817) at java.lang.Runtime.load0(Runtime.java:810) at java.lang.System.load(System.java:1088) at jcuda.LibUtils.loadLibraryResource(LibUtils.java:260) at jcuda.LibUtils.loadLibrary(LibUtils.java:158) at jcuda.nvrtc.JNvrtc.<clinit>(JNvrtc.java:59) at uncomplicate.clojurecuda.internal.impl$program_STAR_.invokeStatic(impl.clj:153) at uncomplicate.clojurecuda.internal.impl$program_STAR_.invoke(impl.clj:147) at uncomplicate.clojurecuda.core$program.invokeStatic(core.clj:616) at uncomplicate.clojurecuda.core$program.invoke(core.clj:612) at uncomplicate.clojurecuda.core$program.invokeStatic(core.clj:619) at uncomplicate.clojurecuda.core$program.invoke(core.clj:612) at uncomplicate.neanderthal.internal.device.cublas$eval103047$cublas_float__103051.invoke(cublas.clj:2493) at mycotensor.tutorial.six_cuda_and_opencl$eval122746.invokeStatic(NO_SOURCE_FILE:101) at mycotensor.tutorial.six_cuda_and_opencl$eval122746.invoke(NO_SOURCE_FILE:100) at clojure.lang.Compiler.eval(Compiler.java:7177) at clojure.lang.Compiler.eval(Compiler.java:7167) at clojure.lang.Compiler.eval(Compiler.java:7132) at clojure.core$eval.invokeStatic(core.clj:3214) at clojure.core$eval.invoke(core.clj:3210) at nrepl.middleware.interruptible_eval$evaluate$fn__960$fn__961.invoke(interruptible_eval.clj:87) at clojure.lang.AFn.applyToHelper(AFn.java:152) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invokeStatic(core.clj:665) at clojure.core$with_bindings_STAR_.invokeStatic(core.clj:1973) at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1973) at clojure.lang.RestFn.invoke(RestFn.java:425) at nrepl.middleware.interruptible_eval$evaluate$fn__960.invoke(interruptible_eval.clj:87) at clojure.main$repl$read_eval_print__9086$fn__9089.invoke(main.clj:437) at clojure.main$repl$read_eval_print__9086.invoke(main.clj:437) at clojure.main$repl$fn__9095.invoke(main.clj:458) at clojure.main$repl.invokeStatic(main.clj:458) at clojure.main$repl.doInvoke(main.clj:368) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:665) at clojure.core$apply.invoke(core.clj:660) at refactor_nrepl.ns.slam.hound.regrow$wrap_clojure_repl$fn__10341.doInvoke(regrow.clj:20) at clojure.lang.RestFn.invoke(RestFn.java:1523) at nrepl.middleware.interruptible_eval$evaluate.invokeStatic(interruptible_eval.clj:84) at nrepl.middleware.interruptible_eval$evaluate.invoke(interruptible_eval.clj:56) at nrepl.middleware.interruptible_eval$interruptible_eval$fn__991$fn__995.invoke(interruptible_eval.clj:152) at clojure.lang.AFn.run(AFn.java:22) at nrepl.middleware.session$session_exec$main_loop__1058$fn__1062.invoke(session.clj:202) at nrepl.middleware.session$session_exec$main_loop__1058.invoke(session.clj:201) at clojure.lang.AFn.run(AFn.java:22) at java.lang.Thread.run(Thread.java:748) ---(end of nested stack traces)--- ERROR: Unhandled REPL handler exception processing message {:nrepl.middleware.print/stream? 1, :nrepl.middleware.print/print cider.nrepl.pprint/pprint, :nrepl.middleware.print/quota 1048576, :nrepl.middleware.print/buffer-size 4096, :nrepl.middleware.print/options {:right-margin 70}, :op stacktrace, :session 49f4853f-44a8-4302-bdcb-64aa99c728c7, :id 15} java.lang.NoClassDefFoundError: Could not initialize class jcuda.nvrtc.JNvrtc ...

quadron 2021-02-14T23:25:35.002500Z

what do? :thinking_face: