org.apache.spark.SparkException: Could not initialize CUDA, because native jCuda libraries were not detected - make sure Driver and Executors are able to load them

GitHub | TPolzer | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Maven executes tests for gpu-enabler before native libs are deployed

    GitHub | 6 months ago | TPolzer
    org.apache.spark.SparkException: Could not initialize CUDA, because native jCuda libraries were not detected - make sure Driver and Executors are able to load them

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class jcuda.driver.JCudaDriver

      at com.ibm.gpuenabler.TestJavaCUDASuite.MultiSum()
    2. com.ibm.gpuenabler
      TestJavaCUDASuite.MultiSum
      1. com.ibm.gpuenabler.TestJavaCUDASuite.MultiSum(TestJavaCUDASuite.java:106)
      1 frame