uncomplicate

Joe R. Smith 2025-06-07T16:24:51.329119Z

@blueberry when building platform I’m getting these errors (accelerate built fine):

Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: org.uncomplicate:accelerate:jar:linux-x86_64:0.1.0-1.5.12-SNAPSHOT (absent), org.uncomplicate:accelerate:jar:linux-arm64:0.1.0-1.5.12-SNAPSHOT (absent), org.uncomplicate:accelerate:jar:windows-x86_64:0.1.0-1.5.12-SNAPSHOT (absent): Could not find artifact org.uncomplicate:accelerate:jar:linux-x86_64:0.1.0-1.5.12-SNAPSHOT

Joe R. Smith 2025-06-07T16:25:05.511249Z

^ looks like it’s looking for different platforms

Joe R. Smith 2025-06-07T16:26:46.836359Z

fixed by commenting out the (hopefully) irrelevant dependencies in pom.xml

👍 1
Joe R. Smith 2025-06-07T16:36:01.415449Z

Ok, I’ve got the dep org.uncomplicate/neanderthal-apple {:mvn/version "0.54.0-SNAPSHOT"} but getting this warning and error at runtime:

Warning: Versions of org.bytedeco:javacpp:1.5.10 and org.bytedeco:openblas:0.3.29-1.5.12-SNAPSHOT do not match.
Execution error (NullPointerException) at uncomplicate.neanderthal.internal.cpp.common/int-ptr (common.clj:33).
Cannot invoke "uncomplicate.neanderthal.internal.api.Block.buffer()" because "x" is null

Joe R. Smith 2025-06-07T16:44:04.030419Z

minimum reproduction:

(uncomplicate.commons.core/with-release [z (uncomplicate.neanderthal.native/dv 128)]
  (uncomplicate.neanderthal.random/rand-normal! 0.0 1.0 z))

Execution error (NullPointerException) at uncomplicate.neanderthal.internal.cpp.common/int-ptr (common.clj:33).
Cannot invoke "uncomplicate.neanderthal.internal.api.Block.buffer()" because "x" is null
java.lang.NullPointerException: Cannot invoke "uncomplicate.neanderthal.internal.api.Block.buffer()" because "x" is null
	at uncomplicate.neanderthal.internal.cpp.common$int_ptr.invokeStatic(common.clj:33)
	at uncomplicate.neanderthal.internal.cpp.common$int_ptr.invoke(common.clj:32)
	at uncomplicate.neanderthal.internal.cpp.accelerate.factory$fn__22306.invokeStatic(factory.clj:424)
	at uncomplicate.neanderthal.internal.cpp.accelerate.factory$fn__22306.invoke(factory.clj:424)
	at uncomplicate.neanderthal.internal.api$fn__13772$G__13746__13785.invoke(api.clj:198)
	at uncomplicate.neanderthal.random$rand_normal_BANG_.invokeStatic(random.clj:34)
	at uncomplicate.neanderthal.random$rand_normal_BANG_.invoke(random.clj:27)