Skip to content

Instantly share code, notes, and snippets.

@bikashg
Created December 16, 2016 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bikashg/103719eec116bd6600df1ddd83b30035 to your computer and use it in GitHub Desktop.
Save bikashg/103719eec116bd6600df1ddd83b30035 to your computer and use it in GitHub Desktop.
bikash@albinoni:~/workspace/projects/srl$ mvn exec:java -Dexec.mainClass="utils.MyDeepNN.CoreClasses.CustomDataSetReader"
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for bikash:srl:jar:0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @ line 45, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building srl 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.5.0:java (default-cli) @ srl ---
19:14:47.134 [utils.MyDeepNN.CoreClasses.CustomDataSetReader.main()] INFO org.nd4j.nativeblas.NativeOps - Number of threads used for NativeOps: 32
19:14:47.149 [utils.MyDeepNN.CoreClasses.CustomDataSetReader.main()] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for BLAS: 4
[WARNING]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError
at org.nd4j.jita.concurrency.CudaAffinityManager.<clinit>(CudaAffinityManager.java:33)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:259)
at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5409)
at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5352)
at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:186)
at utils.MyDeepNN.CoreClasses.CustomDataSetReader.<init>(CustomDataSetReader.java:52)
at utils.MyDeepNN.CoreClasses.CustomDataSetReader.main(CustomDataSetReader.java:149)
... 6 more
Caused by: java.lang.RuntimeException: No CUDA devices were found in system
at org.nd4j.jita.conf.Configuration.<init>(Configuration.java:345)
at org.nd4j.jita.conf.CudaEnvironment.<init>(CudaEnvironment.java:24)
at org.nd4j.jita.conf.CudaEnvironment.<clinit>(CudaEnvironment.java:18)
... 14 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.324 s
[INFO] Finished at: 2016-12-16T19:14:47+01:00
[INFO] Final Memory: 13M/1588M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java (default-cli) on project srl: An exception occured while executing the Java class. null: InvocationTargetException: ExceptionInInitializerError: No CUDA devices were found in system -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment