Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System info export for debugging and bug reporting #34

Merged
merged 26 commits into from Jul 2, 2019

Conversation

@rnett
Copy link
Collaborator

commented Jun 27, 2019

Fixes eclipse#7923.

Added org.nd4j.SystemInfo with methods getSystemInfo, writeSystemInfo(File), and printSystemInfo.

Also added a quick test, org.nd4j.TestSystemInfo#testSystemInfo.

The report is a little light on system info, but afaik theres no way to get things like the NVIDIA driver version from Java.

Report looks like (CUDA info will be printed too, if available):

ND4J Info:

Nd4j Backend: org.nd4j.linalg.cpu.nativecpu.CpuBackend
Backend used: [CPU]; OS: [Windows 10]
Cores: [8]; Memory: [7.1GB];
Blas vendor: [MKL]

Executor Properties:
cores=8
os=Windows 10
backend=CPU
blas.threads=4
memory.available=7635730432
omp.threads=4
memory.free=7635730327
memoryBandwidth={0={DEVICE_TO_HOST=0, DEVICE_TO_DEVICE=0, HOST_TO_DEVICE=0, HOST_TO_HOST=0}}
blas.vendor=MKL


--------------------

Hardware Info:

Available processors (cores): 8


--------------------

OS Info:

OS: Windows 10
Version: 10.0
Arch: amd64


--------------------

Memory Settings:

Free memory (bytes): 219272848
Maximum memory (bytes): 7635730432
Total memory available to JVM (bytes): 257425408


--------------------

JVM Info:

Runtime Name: Java(TM) SE Runtime Environment
Java Version: 1.8.0_172
Runtime Version: 1.8.0_172-b11
Vendor: Oracle Corporation
Vendor Url: http://java.oracle.com/

VM Name: Java HotSpot(TM) 64-Bit Server VM
VM Version: 25.172-b11
VM Specification Name: Java Virtual Machine Specification

Library Path: C:\Program Files\Java\jdk1.8.0_172\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.6\;C:\texlive\2017\bin\win32;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk-10.0.1\bin;C:\Program Files\Java\jdk-10.0.1;C:\Program Files\wkhtmltopdf\bin;E:\Program Files (x86)\pgmodeler;C:\Program Files\PuTTY\;C:\Program Files\7-Zip;C:\Program Files\nodejs\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;E:\Program Files (x86)\Graphviz2.38\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\extras\CUPTI\libx64;C:\Program Files\CMake\bin;C:\Program Files\LLVM\bin;C:\cuda\bin;C:\cuda;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\apache-maven-3.6.0\bin;C:\msys64\mingw32\bin;C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\Program Files\Git\cmd;C:\Program Files\swigwin;C:\Program Files\ffmpeg\bin;C:\Users\jimne\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\jimne\AppData\Local\Programs\Python\Python37\;C:\Users\jimne\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\jimne\AppData\Roaming\npm;C:\Users\jimne\AppData\Local\GitHubDesktop\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;.


--------------------

Classpath:

/C:/Users/jimne/AppData/Local/JetBrains/Toolbox/apps/IDEA-U/ch-0/191.7479.19/lib/idea_rt.jar
/C:/Users/jimne/AppData/Local/JetBrains/Toolbox/apps/IDEA-U/ch-0/191.7479.19/plugins/junit/lib/junit-rt.jar
/C:/Users/jimne/AppData/Local/JetBrains/Toolbox/apps/IDEA-U/ch-0/191.7479.19/plugins/junit/lib/junit5-rt.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/charsets.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/deploy.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/access-bridge-64.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/cldrdata.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/dnsns.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/jaccess.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/jfxrt.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/localedata.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/nashorn.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/sunec.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/sunjce_provider.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/sunmscapi.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/sunpkcs11.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/ext/zipfs.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/javaws.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/jce.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/jfr.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/jfxswt.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/jsse.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/management-agent.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/plugin.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/resources.jar
/C:/Program%20Files/Java/jdk1.8.0_172/jre/lib/rt.jar
/C:/Program%20Files/Java/jdk1.8.0_172/lib/tools.jar
/C:/Skymind/deeplearning4j/nd4j/nd4j-backends/nd4j-tests/target/test-classes/
/C:/Skymind/deeplearning4j/nd4j/nd4j-backends/nd4j-tests/target/classes/
/C:/Users/jimne/.m2/repository/org/springframework/spring-core/5.0.2.RELEASE/spring-core-5.0.2.RELEASE.jar
/C:/Users/jimne/.m2/repository/org/springframework/spring-jcl/5.0.2.RELEASE/spring-jcl-5.0.2.RELEASE.jar
/C:/Users/jimne/.m2/repository/junit/junit/4.12/junit-4.12.jar
/C:/Users/jimne/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
/C:/Skymind/deeplearning4j/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/target/classes/
/C:/Users/jimne/.m2/repository/com/jakewharton/byteunits/byteunits/0.9.1/byteunits-0.9.1.jar
/C:/Users/jimne/.m2/repository/com/google/flatbuffers/flatbuffers-java/1.10.0/flatbuffers-java-1.10.0.jar
/C:/Users/jimne/.m2/repository/com/github/os72/protobuf-java-shaded-351/0.9/protobuf-java-shaded-351-0.9.jar
/C:/Users/jimne/.m2/repository/com/github/os72/protobuf-java-util-shaded-351/0.9/protobuf-java-util-shaded-351-0.9.jar
/C:/Users/jimne/.m2/repository/com/google/code/gson/gson/2.7/gson-2.7.jar
/C:/Users/jimne/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar
/C:/Users/jimne/.m2/repository/uk/com/robust-it/cloning/1.9.3/cloning-1.9.3.jar
/C:/Users/jimne/.m2/repository/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar
/C:/Users/jimne/.m2/repository/commons-net/commons-net/3.1/commons-net-3.1.jar
/C:/Skymind/deeplearning4j/nd4j/nd4j-buffer/target/classes/
/C:/Skymind/deeplearning4j/nd4j/nd4j-context/target/classes/
/C:/Skymind/deeplearning4j/nd4j/nd4j-common/target/classes/
/C:/Users/jimne/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
/C:/Users/jimne/.m2/repository/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.jar
/C:/Users/jimne/.m2/repository/org/apache/commons/commons-compress/1.16.1/commons-compress-1.16.1.jar
/C:/Users/jimne/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
/C:/Users/jimne/.m2/repository/net/ericaro/neoitertools/1.0.0/neoitertools-1.0.0.jar
/C:/Skymind/deeplearning4j/nd4j/nd4j-backends/nd4j-api-parent/nd4j-native-api/target/classes/
/C:/Users/jimne/.m2/repository/org/bytedeco/javacpp/1.5/javacpp-1.5.jar
/C:/Skymind/deeplearning4j/nd4j/nd4j-serde/nd4j-jackson/target/classes/
/C:/Skymind/deeplearning4j/nd4j/nd4j-shade/jackson/target/classes/
/C:/Users/jimne/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.5.1/jackson-core-2.5.1.jar
/C:/Users/jimne/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.5.1/jackson-databind-2.5.1.jar
/C:/Users/jimne/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.5.0/jackson-annotations-2.5.0.jar
/C:/Users/jimne/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.5.1/jackson-dataformat-yaml-2.5.1.jar
/C:/Users/jimne/.m2/repository/org/yaml/snakeyaml/1.12/snakeyaml-1.12.jar
/C:/Users/jimne/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-xml/2.5.1/jackson-dataformat-xml-2.5.1.jar
/C:/Users/jimne/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar
/C:/Users/jimne/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.5.1/jackson-datatype-joda-2.5.1.jar
/C:/Users/jimne/.m2/repository/joda-time/joda-time/2.2/joda-time-2.2.jar
/C:/Users/jimne/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar
/C:/Users/jimne/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar
/C:/Skymind/deeplearning4j/nd4j/nd4j-serde/nd4j-camel-routes/nd4j-kafka/target/classes/
/C:/Users/jimne/.m2/repository/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar
/C:/Users/jimne/.m2/repository/io/netty/netty/3.10.4.Final/netty-3.10.4.Final.jar
/C:/Users/jimne/.m2/repository/net/jpountz/lz4/lz4/1.3.0/lz4-1.3.0.jar
/C:/Users/jimne/.m2/repository/org/xerial/snappy/snappy-java/1.1.2.6/snappy-java-1.1.2.6.jar
/C:/Users/jimne/.m2/repository/org/apache/camel/camel-kafka/2.16.3/camel-kafka-2.16.3.jar
/C:/Users/jimne/.m2/repository/org/apache/camel/camel-core/2.16.3/camel-core-2.16.3.jar
/C:/Users/jimne/.m2/repository/org/apache/kafka/kafka_2.11/0.8.2.2/kafka_2.11-0.8.2.2.jar
/C:/Users/jimne/.m2/repository/org/scala-lang/modules/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar
/C:/Users/jimne/.m2/repository/com/yammer/metrics/metrics-core/2.2.0/metrics-core-2.2.0.jar
/C:/Users/jimne/.m2/repository/net/sf/jopt-simple/jopt-simple/3.2/jopt-simple-3.2.jar
/C:/Users/jimne/.m2/repository/org/scala-lang/modules/scala-parser-combinators_2.11/1.0.2/scala-parser-combinators_2.11-1.0.2.jar
/C:/Users/jimne/.m2/repository/com/101tec/zkclient/0.3/zkclient-0.3.jar
/C:/Users/jimne/.m2/repository/org/apache/kafka/kafka-clients/0.8.2.2/kafka-clients-0.8.2.2.jar
/C:/Users/jimne/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar
/C:/Users/jimne/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
/C:/Users/jimne/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
/C:/Users/jimne/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar
/C:/Users/jimne/.m2/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar
/C:/Users/jimne/.m2/repository/org/reflections/reflections/0.9.10/reflections-0.9.10.jar
/C:/Users/jimne/.m2/repository/com/google/guava/guava/20.0/guava-20.0.jar
/C:/Users/jimne/.m2/repository/org/javassist/javassist/3.19.0-GA/javassist-3.19.0-GA.jar
/C:/Skymind/deeplearning4j/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/target/classes/
/C:/Users/jimne/.m2/repository/org/bytedeco/openblas/0.3.5-1.5/openblas-0.3.5-1.5.jar
/C:/Users/jimne/.m2/repository/org/bytedeco/openblas/0.3.5-1.5/openblas-0.3.5-1.5-windows-x86_64.jar
/C:/Users/jimne/.m2/repository/org/bytedeco/mkl/2019.3-1.5/mkl-2019.3-1.5.jar
/C:/Users/jimne/.m2/repository/org/bytedeco/mkl/2019.3-1.5/mkl-2019.3-1.5-windows-x86_64.jar
/C:/Users/jimne/.m2/repository/org/bytedeco/mkl-dnn/0.18.1-1.5/mkl-dnn-0.18.1-1.5.jar
/C:/Users/jimne/.m2/repository/org/bytedeco/mkl-dnn/0.18.1-1.5/mkl-dnn-0.18.1-1.5-windows-x86_64.jar
/C:/Users/jimne/.m2/repository/com/github/stephenc/findbugs/findbugs-annotations/1.3.9-1/findbugs-annotations-1.3.9-1.jar
/C:/Users/jimne/.m2/repository/org/projectlombok/lombok/1.18.2/lombok-1.18.2.jar
/C:/Users/jimne/.m2/repository/org/deeplearning4j/dl4j-test-resources/1.0.0-SNAPSHOT/dl4j-test-resources-1.0.0-SNAPSHOT.jar
/C:/Users/jimne/AppData/Local/JetBrains/Toolbox/apps/IDEA-U/ch-0/191.7479.19/lib/idea_rt.jar


--------------------

Launch Command:

Launch Command: com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit4 org.nd4j.TestSystemInfo,testSystemInfo
JVM Arguments: [-ea, -Dorg.nd4j.linalg.defaultbackend=org.nd4j.linalg.cpu.nativecpu.CpuBackend, -Dorg.nd4j.linalg.tests.backendstorun=org.nd4j.linalg.cpu.nativecpu.CpuBackend, -Ddtype=float, -Xmx8g, -Didea.test.cyclic.buffer.size=1048576, -javaagent:C:\Users\jimne\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.7479.19\lib\idea_rt.jar=56816:C:\Users\jimne\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.7479.19\bin, -Dfile.encoding=UTF-8]


--------------------

System Properties:

java.runtime.name=Java(TM) SE Runtime Environment
sun.boot.library.path=C:\Program Files\Java\jdk1.8.0_172\jre\bin
java.vm.version=25.172-b11
org.nd4j.linalg.tests.backendstorun=org.nd4j.linalg.cpu.nativecpu.CpuBackend
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
path.separator=;
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg=sun.io
user.country=US
user.script=
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\Skymind\deeplearning4j\nd4j\nd4j-backends\nd4j-tests
java.runtime.version=1.8.0_172-b11
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=C:\Program Files\Java\jdk1.8.0_172\jre\lib\endorsed
os.arch=amd64
java.io.tmpdir=C:\Users\jimne\AppData\Local\Temp\
line.separator=

org.bytedeco.openblas_nolapack.load=mklml
java.vm.specification.vendor=Oracle Corporation
user.variant=
os.name=Windows 10
sun.jnu.encoding=Cp1252
java.library.path=C:\Program Files\Java\jdk1.8.0_172\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.6\;C:\texlive\2017\bin\win32;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk-10.0.1\bin;C:\Program Files\Java\jdk-10.0.1;C:\Program Files\wkhtmltopdf\bin;E:\Program Files (x86)\pgmodeler;C:\Program Files\PuTTY\;C:\Program Files\7-Zip;C:\Program Files\nodejs\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;E:\Program Files (x86)\Graphviz2.38\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\extras\CUPTI\libx64;C:\Program Files\CMake\bin;C:\Program Files\LLVM\bin;C:\cuda\bin;C:\cuda;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\apache-maven-3.6.0\bin;C:\msys64\mingw32\bin;C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\Program Files\Git\cmd;C:\Program Files\swigwin;C:\Program Files\ffmpeg\bin;C:\Users\jimne\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\jimne\AppData\Local\Programs\Python\Python37\;C:\Users\jimne\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\jimne\AppData\Roaming\npm;C:\Users\jimne\AppData\Local\GitHubDesktop\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;.
java.specification.name=Java Platform API Specification
java.class.version=52.0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
os.version=10.0
user.home=C:\Users\jimne
user.timezone=America/Los_Angeles
java.awt.printerjob=sun.awt.windows.WPrinterJob
file.encoding=UTF-8
java.specification.version=1.8
dtype=float
java.class.path=C:\Users\jimne\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.7479.19\lib\idea_rt.jar;C:\Users\jimne\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.7479.19\plugins\junit\lib\junit-rt.jar;C:\Users\jimne\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.7479.19\plugins\junit\lib\junit5-rt.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_172\lib\tools.jar;C:\Skymind\deeplearning4j\nd4j\nd4j-backends\nd4j-tests\target\test-classes;C:\Skymind\deeplearning4j\nd4j\nd4j-backends\nd4j-tests\target\classes;C:\Users\jimne\.m2\repository\org\springframework\spring-core\5.0.2.RELEASE\spring-core-5.0.2.RELEASE.jar;C:\Users\jimne\.m2\repository\org\springframework\spring-jcl\5.0.2.RELEASE\spring-jcl-5.0.2.RELEASE.jar;C:\Users\jimne\.m2\repository\junit\junit\4.12\junit-4.12.jar;C:\Users\jimne\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Skymind\deeplearning4j\nd4j\nd4j-backends\nd4j-api-parent\nd4j-api\target\classes;C:\Users\jimne\.m2\repository\com\jakewharton\byteunits\byteunits\0.9.1\byteunits-0.9.1.jar;C:\Users\jimne\.m2\repository\com\google\flatbuffers\flatbuffers-java\1.10.0\flatbuffers-java-1.10.0.jar;C:\Users\jimne\.m2\repository\com\github\os72\protobuf-java-shaded-351\0.9\protobuf-java-shaded-351-0.9.jar;C:\Users\jimne\.m2\repository\com\github\os72\protobuf-java-util-shaded-351\0.9\protobuf-java-util-shaded-351-0.9.jar;C:\Users\jimne\.m2\repository\com\google\code\gson\gson\2.7\gson-2.7.jar;C:\Users\jimne\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;C:\Users\jimne\.m2\repository\uk\com\robust-it\cloning\1.9.3\cloning-1.9.3.jar;C:\Users\jimne\.m2\repository\org\slf4j\slf4j-api\1.7.21\slf4j-api-1.7.21.jar;C:\Users\jimne\.m2\repository\commons-net\commons-net\3.1\commons-net-3.1.jar;C:\Skymind\deeplearning4j\nd4j\nd4j-buffer\target\classes;C:\Skymind\deeplearning4j\nd4j\nd4j-context\target\classes;C:\Skymind\deeplearning4j\nd4j\nd4j-common\target\classes;C:\Users\jimne\.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;C:\Users\jimne\.m2\repository\org\apache\commons\commons-lang3\3.6\commons-lang3-3.6.jar;C:\Users\jimne\.m2\repository\org\apache\commons\commons-compress\1.16.1\commons-compress-1.16.1.jar;C:\Users\jimne\.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;C:\Users\jimne\.m2\repository\net\ericaro\neoitertools\1.0.0\neoitertools-1.0.0.jar;C:\Skymind\deeplearning4j\nd4j\nd4j-backends\nd4j-api-parent\nd4j-native-api\target\classes;C:\Users\jimne\.m2\repository\org\bytedeco\javacpp\1.5\javacpp-1.5.jar;C:\Skymind\deeplearning4j\nd4j\nd4j-serde\nd4j-jackson\target\classes;C:\Skymind\deeplearning4j\nd4j\nd4j-shade\jackson\target\classes;C:\Users\jimne\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.5.1\jackson-core-2.5.1.jar;C:\Users\jimne\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.5.1\jackson-databind-2.5.1.jar;C:\Users\jimne\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.5.0\jackson-annotations-2.5.0.jar;C:\Users\jimne\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.5.1\jackson-dataformat-yaml-2.5.1.jar;C:\Users\jimne\.m2\repository\org\yaml\snakeyaml\1.12\snakeyaml-1.12.jar;C:\Users\jimne\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-xml\2.5.1\jackson-dataformat-xml-2.5.1.jar;C:\Users\jimne\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\jimne\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-joda\2.5.1\jackson-datatype-joda-2.5.1.jar;C:\Users\jimne\.m2\repository\joda-time\joda-time\2.2\joda-time-2.2.jar;C:\Users\jimne\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\jimne\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Skymind\deeplearning4j\nd4j\nd4j-serde\nd4j-camel-routes\nd4j-kafka\target\classes;C:\Users\jimne\.m2\repository\org\scala-lang\scala-library\2.11.12\scala-library-2.11.12.jar;C:\Users\jimne\.m2\repository\io\netty\netty\3.10.4.Final\netty-3.10.4.Final.jar;C:\Users\jimne\.m2\repository\net\jpountz\lz4\lz4\1.3.0\lz4-1.3.0.jar;C:\Users\jimne\.m2\repository\org\xerial\snappy\snappy-java\1.1.2.6\snappy-java-1.1.2.6.jar;C:\Users\jimne\.m2\repository\org\apache\camel\camel-kafka\2.16.3\camel-kafka-2.16.3.jar;C:\Users\jimne\.m2\repository\org\apache\camel\camel-core\2.16.3\camel-core-2.16.3.jar;C:\Users\jimne\.m2\repository\org\apache\kafka\kafka_2.11\0.8.2.2\kafka_2.11-0.8.2.2.jar;C:\Users\jimne\.m2\repository\org\scala-lang\modules\scala-xml_2.11\1.0.2\scala-xml_2.11-1.0.2.jar;C:\Users\jimne\.m2\repository\com\yammer\metrics\metrics-core\2.2.0\metrics-core-2.2.0.jar;C:\Users\jimne\.m2\repository\net\sf\jopt-simple\jopt-simple\3.2\jopt-simple-3.2.jar;C:\Users\jimne\.m2\repository\org\scala-lang\modules\scala-parser-combinators_2.11\1.0.2\scala-parser-combinators_2.11-1.0.2.jar;C:\Users\jimne\.m2\repository\com\101tec\zkclient\0.3\zkclient-0.3.jar;C:\Users\jimne\.m2\repository\org\apache\kafka\kafka-clients\0.8.2.2\kafka-clients-0.8.2.2.jar;C:\Users\jimne\.m2\repository\org\apache\zookeeper\zookeeper\3.4.6\zookeeper-3.4.6.jar;C:\Users\jimne\.m2\repository\jline\jline\0.9.94\jline-0.9.94.jar;C:\Users\jimne\.m2\repository\com\sun\xml\bind\jaxb-core\2.2.11\jaxb-core-2.2.11.jar;C:\Users\jimne\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2.11\jaxb-impl-2.2.11.jar;C:\Users\jimne\.m2\repository\org\apache\commons\commons-math3\3.6.1\commons-math3-3.6.1.jar;C:\Users\jimne\.m2\repository\org\reflections\reflections\0.9.10\reflections-0.9.10.jar;C:\Users\jimne\.m2\repository\com\google\guava\guava\20.0\guava-20.0.jar;C:\Users\jimne\.m2\repository\org\javassist\javassist\3.19.0-GA\javassist-3.19.0-GA.jar;C:\Skymind\deeplearning4j\nd4j\nd4j-backends\nd4j-backend-impls\nd4j-native\target\classes;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl\2019.3-1.5\mkl-2019.3-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl\2019.3-1.5\mkl-2019.3-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl-dnn\0.18.1-1.5\mkl-dnn-0.18.1-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl-dnn\0.18.1-1.5\mkl-dnn-0.18.1-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\com\github\stephenc\findbugs\findbugs-annotations\1.3.9-1\findbugs-annotations-1.3.9-1.jar;C:\Users\jimne\.m2\repository\org\projectlombok\lombok\1.18.2\lombok-1.18.2.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\dl4j-test-resources\1.0.0-SNAPSHOT\dl4j-test-resources-1.0.0-SNAPSHOT.jar;C:\Users\jimne\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.7479.19\lib\idea_rt.jar
user.name=Ryan
java.vm.specification.version=1.8
sun.java.command=com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit4 org.nd4j.TestSystemInfo,testSystemInfo
java.home=C:\Program Files\Java\jdk1.8.0_172\jre
sun.arch.data.model=64
user.language=en
java.specification.vendor=Oracle Corporation
org.nd4j.linalg.defaultbackend=org.nd4j.linalg.cpu.nativecpu.CpuBackend
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
java.version=1.8.0_172
java.ext.dirs=C:\Program Files\Java\jdk1.8.0_172\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
sun.boot.class.path=C:\Program Files\Java\jdk1.8.0_172\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_172\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_172\jre\classes
java.vendor=Oracle Corporation
file.separator=\
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
idea.test.cyclic.buffer.size=1048576
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.desktop=windows
sun.cpu.isalist=amd64


--------------------

Environment Variables:

USERDOMAIN_ROAMINGPROFILE=HOME-DESKTOP
PROCESSOR_LEVEL=6
SESSIONNAME=Console
ALLUSERSPROFILE=C:\ProgramData
PGMODELER_SCHEMAS_DIR=E:\Program Files (x86)\pgmodeler\schemas
PROCESSOR_ARCHITECTURE=AMD64
PSModulePath=C:\Program Files (x86)\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\AWS Tools\PowerShell\;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\PowerShell
SystemDrive=C:
PGMODELER_APP_PATH=E:\Program Files (x86)\pgmodeler\pgmodeler.exe
USERNAME=Ryan
ProgramFiles(x86)=C:\Program Files (x86)
FPS_BROWSER_USER_PROFILE_STRING=Default
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
DriverData=C:\Windows\System32\Drivers\DriverData
PGMODELER_PLUGINS_DIR=E:\Program Files (x86)\pgmodeler\plugins
PGMODELER_CLI_PATH=E:\Program Files (x86)\pgmodeler\pgmodeler-cli.exe
PGMODELER_SAMPLES_DIR=E:\Program Files (x86)\pgmodeler\samples
ProgramData=C:\ProgramData
ProgramW6432=C:\Program Files
HOMEPATH=\Users\jimne
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
ProgramFiles=C:\Program Files
PUBLIC=C:\Users\Public
PGMODELER_CHANDLER_PATH=E:\Program Files (x86)\pgmodeler\pgmodeler-ch.exe
windir=C:\WINDOWS
=::=::\
VS150COMCOMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\
LOCALAPPDATA=C:\Users\jimne\AppData\Local
MSMPI_BIN=C:\Program Files\Microsoft MPI\Bin\
USERDOMAIN=HOME-DESKTOP
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
LOGONSERVER=\\HOME-DESKTOP
JAVA_HOME=C:\Program Files\Java\jdk-10.0.1
FSHARPINSTALLDIR=C:\Program Files (x86)\Microsoft SDKs\F#\10.1\Framework\v4.0\
DL4J_TEST_RESOURCES=C:\Skymind\dl4j-test-resources
OneDrive=C:\Users\jimne\OneDrive
APPDATA=C:\Users\jimne\AppData\Roaming
LIBND4J_HOME=Skymind/deeplearning4j/libnd4j
PGMODELER_TMPL_CONF_DIR=E:\Program Files (x86)\pgmodeler\conf
CommonProgramFiles=C:\Program Files\Common Files
Path=C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.6\;C:\texlive\2017\bin\win32;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk-10.0.1\bin;C:\Program Files\Java\jdk-10.0.1;C:\Program Files\wkhtmltopdf\bin;E:\Program Files (x86)\pgmodeler;C:\Program Files\PuTTY\;C:\Program Files\7-Zip;C:\Program Files\nodejs\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;E:\Program Files (x86)\Graphviz2.38\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\extras\CUPTI\libx64;C:\Program Files\CMake\bin;C:\Program Files\LLVM\bin;C:\cuda\bin;C:\cuda;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\apache-maven-3.6.0\bin;C:\msys64\mingw32\bin;C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\Program Files\Git\cmd;C:\Program Files\swigwin;C:\Program Files\ffmpeg\bin;C:\Users\jimne\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\jimne\AppData\Local\Programs\Python\Python37\;C:\Users\jimne\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\jimne\AppData\Roaming\npm;C:\Users\jimne\AppData\Local\GitHubDesktop\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;
OS=Windows_NT
COMPUTERNAME=HOME-DESKTOP
PROCESSOR_REVISION=5e03
CommonProgramW6432=C:\Program Files\Common Files
ComSpec=C:\WINDOWS\system32\cmd.exe
PGMODELER_LANG_DIR=E:\Program Files (x86)\pgmodeler\lang
SystemRoot=C:\WINDOWS
TEMP=C:\Users\jimne\AppData\Local\Temp
HOMEDRIVE=C:
USERPROFILE=C:\Users\jimne
TMP=C:\Users\jimne\AppData\Local\Temp
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
NUMBER_OF_PROCESSORS=8
JDK_16=C:\Program Files\Java\jdk1.8.0_172\bin


--------------------
rnett added 2 commits Jun 27, 2019
System info export for debugging and bug reporting
Signed-off-by: Ryan Nett <rnett@skymind.io>
class name fix
Signed-off-by: Ryan Nett <rnett@skymind.io>
@AlexDBlack

This comment has been minimized.

Copy link

commented Jun 28, 2019

So far this looks great.

As for CUDA driver version - I wonder if we can (for CUDA backend) just create a process to call nvidia-smi, and capture the output?
If we're doing that, doing the same with "nvcc --version" wouldn't hurt either.

It won't always work (for example if these are not on the system path) but maybe trying the default locations (such as C:\Program files\NVIDIA Corporation\NVSMI\nvidia-smi.exe on Windows) would be enough.

Finally, let's also report the same info as here:
https://github.com/eclipse/deeplearning4j/blob/master/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/util/CrashReportingUtil.java#L363-L441
especially the CUDA memory, and javacpp Pointer memory stats.

One minor thing - I'd rather throw a runtime exception in writeSystemInfo(File) than just print the exception...

} catch (IOException e) {
	e.printStackTrace();
}
@AlexDBlack

This comment has been minimized.

Copy link

commented Jun 28, 2019

Oh, and version info too wouldn't hurt as per the link below.
We can probably just move that whole method to ND4J and use it from DL4J
https://github.com/eclipse/deeplearning4j/blob/master/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/util/CrashReportingUtil.java#L641-L660

@rnett

This comment has been minimized.

Copy link
Collaborator Author

commented Jun 28, 2019

Afaik, ND4J doesn't have the com.github.oshi:oshi-core:3.4.2 dependency, which is what DL4J uses to get the os/hardware info.

It doesn't have access to NativeOps either.

rnett added 2 commits Jun 28, 2019
add version information, pointer memory info
Signed-off-by: Ryan Nett <rnett@skymind.io>
add nvidia-smi and nvcc info
Signed-off-by: Ryan Nett <rnett@skymind.io>
@rnett

This comment has been minimized.

Copy link
Collaborator Author

commented Jun 28, 2019

I don't have CUDA builds set up, will this PR be run through CI?

rnett added 2 commits Jun 28, 2019
line cleanup
Signed-off-by: Ryan Nett <rnett@skymind.io>
nvidia-smi run works
Signed-off-by: Ryan Nett <rnett@skymind.io>
@AlexDBlack

This comment has been minimized.

Copy link

commented Jun 28, 2019

Afaik, ND4J doesn't have the com.github.oshi:oshi-core:3.4.2 dependency, which is what DL4J uses to get the os/hardware info.

Yeah, pretty sure it doesn't. I'm fine adding it (and given that we already use it in DL4J, we don't need to worry about Eclipse review).

It doesn't have access to NativeOps either.

Hm... that's in nd4j-native-api (which has nd4j-api as a depnedency). Not sure yet how I want to handle that yet...
I mean we could put SystemInfo in nd4j-native-api. Not ideal, but it's an option.
ServiceLoader mechanism is also an option, put the 'main' stuff in nd4j-api and have some method/interface to load the rest from places like nd4j-native-api. That's kind of overkill for just this, but it'll provide a lot of flexibility. For example we could put the CUDA-specific info in nd4j-cuda backend, rather than messing with reflection like we do in CrashReportingUtil.

I don't have CUDA builds set up, will this PR be run through CI?

Not until it's in a PR to merge back to eclipse/deeplearning4j. CUDA should build OK locally for you but there may be issues at runtime. I can build/test later on one of my boxes too if required.

rnett added 8 commits Jun 28, 2019
add oshi dependency
Signed-off-by: Ryan Nett <rnett@skymind.io>
use OS info, add workspaces info
Signed-off-by: Ryan Nett <rnett@skymind.io>
use ServiceLoader to load GPU information
Signed-off-by: Ryan Nett <rnett@skymind.io>
register service
Signed-off-by: Ryan Nett <rnett@skymind.io>
moved service out of NativeOpsHolder (private constructor)
Signed-off-by: Ryan Nett <rnett@skymind.io>
added newline
Signed-off-by: Ryan Nett <rnett@skymind.io>
added license
Signed-off-by: Ryan Nett <rnett@skymind.io>
and one more
Signed-off-by: Ryan Nett <rnett@skymind.io>

@rnett rnett requested a review from AlexDBlack Jun 29, 2019

@AlexDBlack
Copy link

left a comment

A few minor issues flagged, plus copyright headers.
Otherwise this is looking pretty good.
I haven't built/run it to test on CUDA yet.
Updated report format (in PR comment) would be good to see also...

Brief javadoc on the new classes/interfaces would be good. Feel free to add @author tag in javadoc on new classes if you want.

rnett added 7 commits Jun 29, 2019
copyright update
Signed-off-by: Ryan Nett <rnett@skymind.io>
fixes
Signed-off-by: Ryan Nett <rnett@skymind.io>
removed unused imports
Signed-off-by: Ryan Nett <rnett@skymind.io>
removed more unused imports
Signed-off-by: Ryan Nett <rnett@skymind.io>
close streams
Signed-off-by: Ryan Nett <rnett@skymind.io>
and another one
Signed-off-by: Ryan Nett <rnett@skymind.io>
use method
Signed-off-by: Ryan Nett <rnett@skymind.io>

@rnett rnett requested a review from AlexDBlack Jun 29, 2019

one more copyright
Signed-off-by: Ryan Nett <rnett@skymind.io>
@AlexDBlack
Copy link

left a comment

Looks good - other than the dual copyright header.
Once that is fixed I think this can be merged...

rnett added 2 commits Jul 1, 2019
remove double license
Signed-off-by: Ryan Nett <rnett@skymind.io>
moved test to correct package
Signed-off-by: Ryan Nett <rnett@skymind.io>
@rnett

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 1, 2019

Updated output:

---------------ND4J Info---------------

Deeplearning4j Version                  1.0.0-SNAPSHOT
Deeplearning4j CUDA                     deeplearning4j-cuda-10.0

Nd4j Backend: JCublasBackend
Backend used: [CUDA]; OS: [Windows 10]
Cores: [8]; Memory: [4.0GB];
Blas vendor: [CUBLAS]
Device Name: [GeForce GTX 1070]; CC: [6.1]; Total/free memory: [8589934592]

Executor Properties:
blas.vendor=CUBLAS
memory.free=4286578583
memoryBandwidth={0={HOST_TO_DEVICE=0, DEVICE_TO_HOST=0, DEVICE_TO_DEVICE=0, HOST_TO_HOST=0}}
cores=8
os=Windows 10
cuda.devicesInformation=[{cuda.freeMemory=6633082060, cuda.deviceMajor=6, cuda.deviceName=GeForce GTX 1070, cuda.deviceMinor=1, cuda.totalMemory=8589934592}]
cuda.availableDevices=1
backend=CUDA
memory.available=4286578688


---------------Hardware Info---------------

Available processors (cores): 8
Operating System                        Microsoft Windows 10
CPU                                     Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
CPU Cores - Physical                    4
CPU Cores - Logical                     8
Total System Memory                      15.96 GiB (17138921472)

Number of GPUs Detected                 1
  Name                           CC                Total Memory              Used Memory              Free Memory
  GeForce GTX 1070               6.1      8.00 GiB (8589934592)    1.82 GiB (1956852532)    6.18 GiB (6633082060)


---------------CUDA Info---------------

Nvidia-smi:
Mon Jul 01 11:06:29 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 411.31                 Driver Version: 411.31                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070   WDDM  | 00000000:01:00.0  On |                  N/A |
|  0%   47C    P2    36W / 185W |   1386MiB /  8192MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1312    C+G   Insufficient Permissions                   N/A      |
|    0      7016    C+G   C:\Windows\explorer.exe                    N/A      |
|    0      7760    C+G   ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A      |
|    0      7964    C+G   ...dows.Cortana_cw5n1h2txyewy\SearchUI.exe N/A      |
|    0      8752    C+G   ...11411.0_x64__8wekyb3d8bbwe\Video.UI.exe N/A      |
|    0      9892    C+G   ...0174.0_x64__8wekyb3d8bbwe\HxOutlook.exe N/A      |
|    0     10236    C+G   ...DIA GeForce Experience\NVIDIA Share.exe N/A      |
|    0     12404    C+G   ...6)\Google\Chrome\Application\chrome.exe N/A      |
|    0     13704    C+G   ...4.0_x64__8wekyb3d8bbwe\WinStore.App.exe N/A      |
|    0     14136    C+G   ...Files (x86)\Razer\Synapse\RzSynapse.exe N/A      |
|    0     14512    C+G   ....410.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A      |
|    0     15164    C+G   ...AppData\Local\slack\app-3.4.3\slack.exe N/A      |
|    0     16624      C   ...gram Files\Java\jdk-10.0.1\bin\java.exe N/A      |
|    0     16900    C+G   ...hell.Experiences.TextInput.InputApp.exe N/A      |
+-----------------------------------------------------------------------------+


nvcc --version:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:04_Central_Daylight_Time_2018
Cuda compilation tools, release 10.0, V10.0.130



---------------OS Info---------------

OS: Windows 10
Version: 10.0
Arch: amd64


---------------Memory Settings---------------

Free memory (bytes): 230399400
Maximum memory (bytes): 4286578688
Total memory available to JVM (bytes): 268435456

JVM Memory: XMX                           3.99 GiB (4286578688)
JVM Memory: current                     256.00 MiB (268435456)
JavaCPP Memory: Max Bytes                 3.99 GiB (4286578688)
JavaCPP Memory: Max Physical              7.98 GiB (8573157376)
JavaCPP Memory: Current Bytes               1.00 B
JavaCPP Memory: Current Physical          1.64 GiB (1762328576)
Periodic GC Enabled                     false


---------------Workspace Information---------------

Workspaces: # for current thread        0
Workspaces total size                        .00 B


---------------JVM Info---------------

Runtime Name: Java(TM) SE Runtime Environment
Java Version: 10.0.1
Runtime Version: 10.0.1+10
Vendor: "Oracle Corporation"
Vendor Url: http://java.oracle.com/

VM Name: Java HotSpot(TM) 64-Bit Server VM
VM Version: 10.0.1+10
VM Specification Name: Java Virtual Machine Specification

Library Path: C:\Program Files\Java\jdk-10.0.1\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.6\;C:\texlive\2017\bin\win32;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk-10.0.1\bin;C:\Program Files\Java\jdk-10.0.1;C:\Program Files\wkhtmltopdf\bin;E:\Program Files (x86)\pgmodeler;C:\Program Files\PuTTY\;C:\Program Files\7-Zip;C:\Program Files\nodejs\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;E:\Program Files (x86)\Graphviz2.38\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\extras\CUPTI\libx64;C:\Program Files\CMake\bin;C:\Program Files\LLVM\bin;C:\cuda\bin;C:\cuda;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\apache-maven-3.6.0\bin;C:\msys64\mingw32\bin;C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\Program Files\Git\cmd;C:\Program Files\swigwin;C:\Program Files\ffmpeg\bin;C:\Program Files\NVIDIA Corporation\NVSMI;C:\Users\jimne\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\jimne\AppData\Local\Programs\Python\Python37\;C:\Users\jimne\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\jimne\AppData\Roaming\npm;C:\Users\jimne\AppData\Local\GitHubDesktop\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;.


---------------Classpath---------------

Can't cast class loader to URLClassLoader


---------------Launch Command---------------

Launch Command: TestKt
JVM Arguments: [-javaagent:C:\Users\jimne\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.7479.19\lib\idea_rt.jar=52236:C:\Users\jimne\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\191.7479.19\bin, -Dfile.encoding=UTF-8]


---------------System Properties---------------

sun.desktop=windows
awt.toolkit=sun.awt.windows.WToolkit
java.specification.version=10
file.encoding.pkg=sun.io
sun.cpu.isalist=amd64
sun.jnu.encoding=Cp1252
java.class.path=C:\Skymind\dl4jtests\build\classes\java\main;C:\Skymind\dl4jtests\build\classes\kotlin\main;C:\Users\jimne\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk8\1.3.40\2d1d0a2f27fd060787075c69113846803fc27734\kotlin-stdlib-jdk8-1.3.40.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-cuda-10.0\1.0.0-SNAPSHOT\deeplearning4j-cuda-10.0-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-core\1.0.0-SNAPSHOT\deeplearning4j-core-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native-platform\1.0.0-SNAPSHOT\nd4j-native-platform-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-cuda-10.0\1.0.0-SNAPSHOT\nd4j-cuda-10.0-1.0.0-SNAPSHOT-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-cuda-10.0\1.0.0-SNAPSHOT\nd4j-cuda-10.0-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk7\1.3.40\2995de8f68444ad47f29e7b59962ac31e6301d7e\kotlin-stdlib-jdk7-1.3.40.jar;C:\Users\jimne\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib\1.3.40\b8a521c687329303778548e2f09b0ba5b2665236\kotlin-stdlib-1.3.40.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-tsne\1.0.0-SNAPSHOT\deeplearning4j-tsne-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-datasets\1.0.0-SNAPSHOT\deeplearning4j-datasets-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-datavec-iterators\1.0.0-SNAPSHOT\deeplearning4j-datavec-iterators-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-modelimport\1.0.0-SNAPSHOT\deeplearning4j-modelimport-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\nearestneighbor-core\1.0.0-SNAPSHOT\nearestneighbor-core-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-nn\1.0.0-SNAPSHOT\deeplearning4j-nn-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\datavec\datavec-data-image\1.0.0-SNAPSHOT\datavec-data-image-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\datavec\datavec-api\1.0.0-SNAPSHOT\datavec-api-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-android-arm.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-android-arm64.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-android-x86.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-android-x86_64.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-ios-arm64.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-ios-x86_64.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-linux-x86_64.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-macosx-x86_64.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-linux-ppc64le.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native\1.0.0-SNAPSHOT\nd4j-native-1.0.0-SNAPSHOT-linux-armhf.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-native-api\1.0.0-SNAPSHOT\nd4j-native-api-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-utility-iterators\1.0.0-SNAPSHOT\deeplearning4j-utility-iterators-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-util\1.0.0-SNAPSHOT\deeplearning4j-util-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-api\1.0.0-SNAPSHOT\nd4j-api-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-ui-components\1.0.0-SNAPSHOT\deeplearning4j-ui-components-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\deeplearning4j\deeplearning4j-common\1.0.0-SNAPSHOT\deeplearning4j-common-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-buffer\1.0.0-SNAPSHOT\nd4j-buffer-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-context\1.0.0-SNAPSHOT\nd4j-context-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-common\1.0.0-SNAPSHOT\nd4j-common-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\com\github\oshi\oshi-core\3.4.2\oshi-core-3.4.2.jar;C:\Users\jimne\.m2\repository\org\slf4j\slf4j-api\1.7.24\slf4j-api-1.7.24.jar;C:\Users\jimne\.m2\repository\org\apache\commons\commons-math3\3.5\commons-math3-3.5.jar;C:\Users\jimne\.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;C:\Users\jimne\.m2\repository\org\apache\commons\commons-compress\1.16.1\commons-compress-1.16.1.jar;C:\Users\jimne\.m2\repository\com\github\os72\protobuf-java-util-shaded-351\0.9\protobuf-java-util-shaded-351-0.9.jar;C:\Users\jimne\.m2\repository\com\google\guava\guava\20.0\guava-20.0.jar;C:\Users\jimne\.m2\repository\org\apache\commons\commons-lang3\3.6\commons-lang3-3.6.jar;C:\Users\jimne\.m2\repository\org\nd4j\nd4j-jackson\1.0.0-SNAPSHOT\nd4j-jackson-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\nd4j\jackson\1.0.0-SNAPSHOT\jackson-1.0.0-SNAPSHOT.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas-platform\0.3.5-1.5\openblas-platform-0.3.5-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl-platform\2019.3-1.5\mkl-platform-2019.3-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl-dnn-platform\0.18.1-1.5\mkl-dnn-platform-0.18.1-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\cuda-platform\10.0-7.4-1.5\cuda-platform-10.0-7.4-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\cuda\10.0-7.4-1.5\cuda-10.0-7.4-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\cuda\10.0-7.4-1.5\cuda-10.0-7.4-1.5-linux-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\cuda\10.0-7.4-1.5\cuda-10.0-7.4-1.5-linux-ppc64le.jar;C:\Users\jimne\.m2\repository\org\bytedeco\cuda\10.0-7.4-1.5\cuda-10.0-7.4-1.5-macosx-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\cuda\10.0-7.4-1.5\cuda-10.0-7.4-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\javacv\1.5\javacv-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-android-arm.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-android-arm64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-android-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-android-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-ios-arm64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-ios-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-linux-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-linux-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-linux-armhf.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-linux-ppc64le.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-macosx-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-windows-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\openblas\0.3.5-1.5\openblas-0.3.5-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl\2019.3-1.5\mkl-2019.3-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl\2019.3-1.5\mkl-2019.3-1.5-linux-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl\2019.3-1.5\mkl-2019.3-1.5-linux-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl\2019.3-1.5\mkl-2019.3-1.5-macosx-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl\2019.3-1.5\mkl-2019.3-1.5-windows-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl\2019.3-1.5\mkl-2019.3-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl-dnn\0.18.1-1.5\mkl-dnn-0.18.1-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl-dnn\0.18.1-1.5\mkl-dnn-0.18.1-1.5-linux-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl-dnn\0.18.1-1.5\mkl-dnn-0.18.1-1.5-macosx-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\mkl-dnn\0.18.1-1.5\mkl-dnn-0.18.1-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\hdf5-platform\1.10.5-1.5\hdf5-platform-1.10.5-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\hdf5\1.10.5-1.5\hdf5-1.10.5-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\hdf5\1.10.5-1.5\hdf5-1.10.5-1.5-linux-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\hdf5\1.10.5-1.5\hdf5-1.10.5-1.5-linux-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\hdf5\1.10.5-1.5\hdf5-1.10.5-1.5-linux-ppc64le.jar;C:\Users\jimne\.m2\repository\org\bytedeco\hdf5\1.10.5-1.5\hdf5-1.10.5-1.5-macosx-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\hdf5\1.10.5-1.5\hdf5-1.10.5-1.5-windows-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\hdf5\1.10.5-1.5\hdf5-1.10.5-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv-platform\4.0.1-1.5\opencv-platform-4.0.1-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\flandmark\1.07-1.5\flandmark-1.07-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-android-arm.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-android-arm64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-android-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-android-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-ios-arm64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-ios-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-linux-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-linux-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-linux-armhf.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-linux-ppc64le.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-macosx-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-windows-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\opencv\4.0.1-1.5\opencv-4.0.1-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\ffmpeg\4.1.3-1.5\ffmpeg-4.1.3-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\flycapture\2.13.3.31-1.5\flycapture-2.13.3.31-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\libdc1394\2.2.5-1.5\libdc1394-2.2.5-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\libfreenect\0.5.7-1.5\libfreenect-0.5.7-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\libfreenect2\0.2.0-1.5\libfreenect2-0.2.0-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\librealsense\1.12.1-1.5\librealsense-1.12.1-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\videoinput\0.200-1.5\videoinput-0.200-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\artoolkitplus\2.3.1-1.5\artoolkitplus-2.3.1-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica-platform\1.78.0-1.5\leptonica-platform-1.78.0-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\tesseract\4.0.0-1.5\tesseract-4.0.0-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-android-arm.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-android-arm64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-android-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-android-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-linux-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-linux-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-linux-armhf.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-linux-ppc64le.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-macosx-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-windows-x86.jar;C:\Users\jimne\.m2\repository\org\bytedeco\leptonica\1.78.0-1.5\leptonica-1.78.0-1.5-windows-x86_64.jar;C:\Users\jimne\.m2\repository\org\bytedeco\javacpp\1.5\javacpp-1.5.jar;C:\Users\jimne\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-common\1.3.40\ff8f3da514fc2877d1303d55e22d6da8156c29fb\kotlin-stdlib-common-1.3.40.jar;C:\Users\jimne\.m2\repository\org\jetbrains\annotations\13.0\annotations-13.0.jar;C:\Users\jimne\.m2\repository\org\lucee\oswego-concurrent\1.3.4\oswego-concurrent-1.3.4.jar;C:\Users\jimne\.m2\repository\com\clearspring\analytics\stream\2.7.0\stream-2.7.0.jar;C:\Users\jimne\.m2\repository\it\unimi\dsi\fastutil\6.5.7\fastutil-6.5.7.jar;C:\Users\jimne\.m2\repository\uk\com\robust-it\cloning\1.9.3\cloning-1.9.3.jar;C:\Users\jimne\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;C:\Users\jimne\.m2\repository\com\jakewharton\byteunits\byteunits\0.9.1\byteunits-0.9.1.jar;C:\Users\jimne\.m2\repository\com\google\flatbuffers\flatbuffers-java\1.10.0\flatbuffers-java-1.10.0.jar;C:\Users\jimne\.m2\repository\com\github\os72\protobuf-java-shaded-351\0.9\protobuf-java-shaded-351-0.9.jar;C:\Users\jimne\.m2\repository\commons-net\commons-net\3.1\commons-net-3.1.jar;C:\Users\jimne\.m2\repository\net\ericaro\neoitertools\1.0.0\neoitertools-1.0.0.jar;C:\Users\jimne\.m2\repository\org\yaml\snakeyaml\1.12\snakeyaml-1.12.jar;C:\Users\jimne\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;C:\Users\jimne\.m2\repository\joda-time\joda-time\2.2\joda-time-2.2.jar;C:\Users\jimne\.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;C:\Users\jimne\.m2\repository\org\freemarker\freemarker\2.3.23\freemarker-2.3.23.jar;C:\Users\jimne\.m2\repository\net\sf\opencsv\opencsv\2.3\opencsv-2.3.jar;C:\Users\jimne\.m2\repository\com\tdunning\t-digest\3.2\t-digest-3.2.jar;C:\Users\jimne\.m2\repository\com\github\jai-imageio\jai-imageio-core\1.3.0\jai-imageio-core-1.3.0.jar;C:\Users\jimne\.m2\repository\com\twelvemonkeys\imageio\imageio-jpeg\3.1.1\imageio-jpeg-3.1.1.jar;C:\Users\jimne\.m2\repository\com\twelvemonkeys\imageio\imageio-tiff\3.1.1\imageio-tiff-3.1.1.jar;C:\Users\jimne\.m2\repository\com\twelvemonkeys\imageio\imageio-psd\3.1.1\imageio-psd-3.1.1.jar;C:\Users\jimne\.m2\repository\com\twelvemonkeys\imageio\imageio-bmp\3.1.1\imageio-bmp-3.1.1.jar;C:\Users\jimne\.m2\repository\net\java\dev\jna\jna-platform\4.3.0\jna-platform-4.3.0.jar;C:\Users\jimne\.m2\repository\org\threeten\threetenbp\1.3.3\threetenbp-1.3.3.jar;C:\Users\jimne\.m2\repository\com\google\code\gson\gson\2.7\gson-2.7.jar;C:\Users\jimne\.m2\repository\com\twelvemonkeys\imageio\imageio-metadata\3.1.1\imageio-metadata-3.1.1.jar;C:\Users\jimne\.m2\repository\com\twelvemonkeys\imageio\imageio-core\3.1.1\imageio-core-3.1.1.jar;C:\Users\jimne\.m2\repository\com\twelvemonkeys\common\common-image\3.1.1\common-image-3.1.1.jar;C:\Users\jimne\.m2\repository\com\twelvemonkeys\common\common-io\3.1.1\common-io-3.1.1.jar;C:\Users\jimne\.m2\repository\com\twelvemonkeys\common\common-lang\3.1.1\common-lang-3.1.1.jar;C:\Users\jimne\.m2\repository\net\java\dev\jna\jna\4.3.0\jna-4.3.0.jar
java.vm.vendor="Oracle Corporation"
sun.arch.data.model=64
user.variant=
java.vendor.url=http://java.oracle.com/
user.timezone=America/Los_Angeles
os.name=Windows 10
java.vm.specification.version=10
sun.java.launcher=SUN_STANDARD
user.country=US
sun.boot.library.path=C:\Program Files\Java\jdk-10.0.1\bin
sun.java.command=TestKt
jdk.debug=release
sun.cpu.endian=little
user.home=C:\Users\jimne
user.language=en
java.specification.vendor=Oracle Corporation
java.version.date=2018-04-17
java.home=C:\Program Files\Java\jdk-10.0.1
file.separator=\
java.vm.compressedOopsMode=Zero based
line.separator=

java.specification.name=Java Platform API Specification
java.vm.specification.vendor=Oracle Corporation
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
user.script=
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
java.runtime.version=10.0.1+10
user.name=Ryan
path.separator=;
os.version=10.0
java.runtime.name=Java(TM) SE Runtime Environment
file.encoding=UTF-8
jnidispatch.path=C:\Users\jimne\AppData\Local\Temp\jna-2562260\jna4008507065694406004.dll
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vendor.version=18.3
jna.loaded=true
java.vendor.url.bug=http://bugreport.java.com/bugreport/
java.io.tmpdir=C:\Users\jimne\AppData\Local\Temp\
java.version=10.0.1
user.dir=C:\Skymind\dl4jtests
os.arch=amd64
java.vm.specification.name=Java Virtual Machine Specification
java.awt.printerjob=sun.awt.windows.WPrinterJob
sun.os.patch.level=
java.library.path=C:\Program Files\Java\jdk-10.0.1\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.6\;C:\texlive\2017\bin\win32;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk-10.0.1\bin;C:\Program Files\Java\jdk-10.0.1;C:\Program Files\wkhtmltopdf\bin;E:\Program Files (x86)\pgmodeler;C:\Program Files\PuTTY\;C:\Program Files\7-Zip;C:\Program Files\nodejs\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;E:\Program Files (x86)\Graphviz2.38\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\extras\CUPTI\libx64;C:\Program Files\CMake\bin;C:\Program Files\LLVM\bin;C:\cuda\bin;C:\cuda;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\apache-maven-3.6.0\bin;C:\msys64\mingw32\bin;C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\Program Files\Git\cmd;C:\Program Files\swigwin;C:\Program Files\ffmpeg\bin;C:\Program Files\NVIDIA Corporation\NVSMI;C:\Users\jimne\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\jimne\AppData\Local\Programs\Python\Python37\;C:\Users\jimne\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\jimne\AppData\Roaming\npm;C:\Users\jimne\AppData\Local\GitHubDesktop\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;.
java.vendor=Oracle Corporation
java.vm.info=mixed mode
java.vm.version=10.0.1+10
sun.io.unicode.encoding=UnicodeLittle
java.class.version=54.0


---------------Environment Variables---------------

USERDOMAIN_ROAMINGPROFILE=HOME-DESKTOP
PROCESSOR_LEVEL=6
SESSIONNAME=Console
ALLUSERSPROFILE=C:\ProgramData
PGMODELER_SCHEMAS_DIR=E:\Program Files (x86)\pgmodeler\schemas
PROCESSOR_ARCHITECTURE=AMD64
PSModulePath=C:\Program Files (x86)\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\AWS Tools\PowerShell\;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\PowerShell
SystemDrive=C:
PGMODELER_APP_PATH=E:\Program Files (x86)\pgmodeler\pgmodeler.exe
USERNAME=Ryan
ProgramFiles(x86)=C:\Program Files (x86)
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
DriverData=C:\Windows\System32\Drivers\DriverData
PGMODELER_PLUGINS_DIR=E:\Program Files (x86)\pgmodeler\plugins
PGMODELER_CLI_PATH=E:\Program Files (x86)\pgmodeler\pgmodeler-cli.exe
PGMODELER_SAMPLES_DIR=E:\Program Files (x86)\pgmodeler\samples
ProgramData=C:\ProgramData
ProgramW6432=C:\Program Files
HOMEPATH=\Users\jimne
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
ProgramFiles=C:\Program Files
PUBLIC=C:\Users\Public
PGMODELER_CHANDLER_PATH=E:\Program Files (x86)\pgmodeler\pgmodeler-ch.exe
windir=C:\WINDOWS
=::=::\
VS150COMCOMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\
LOCALAPPDATA=C:\Users\jimne\AppData\Local
MSMPI_BIN=C:\Program Files\Microsoft MPI\Bin\
USERDOMAIN=HOME-DESKTOP
LOGONSERVER=\\HOME-DESKTOP
JAVA_HOME=C:\Program Files\Java\jdk-10.0.1
FSHARPINSTALLDIR=C:\Program Files (x86)\Microsoft SDKs\F#\10.1\Framework\v4.0\
DL4J_TEST_RESOURCES=C:\Skymind\dl4j-test-resources
OneDrive=C:\Users\jimne\OneDrive
APPDATA=C:\Users\jimne\AppData\Roaming
LIBND4J_HOME=Skymind/deeplearning4j/libnd4j
PGMODELER_TMPL_CONF_DIR=E:\Program Files (x86)\pgmodeler\conf
CommonProgramFiles=C:\Program Files\Common Files
Path=C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.6\;C:\texlive\2017\bin\win32;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk-10.0.1\bin;C:\Program Files\Java\jdk-10.0.1;C:\Program Files\wkhtmltopdf\bin;E:\Program Files (x86)\pgmodeler;C:\Program Files\PuTTY\;C:\Program Files\7-Zip;C:\Program Files\nodejs\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;E:\Program Files (x86)\Graphviz2.38\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\extras\CUPTI\libx64;C:\Program Files\CMake\bin;C:\Program Files\LLVM\bin;C:\cuda\bin;C:\cuda;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\apache-maven-3.6.0\bin;C:\msys64\mingw32\bin;C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\Program Files\Git\cmd;C:\Program Files\swigwin;C:\Program Files\ffmpeg\bin;C:\Program Files\NVIDIA Corporation\NVSMI;C:\Users\jimne\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\jimne\AppData\Local\Programs\Python\Python37\;C:\Users\jimne\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\jimne\AppData\Roaming\npm;C:\Users\jimne\AppData\Local\GitHubDesktop\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;
OS=Windows_NT
COMPUTERNAME=HOME-DESKTOP
PROCESSOR_REVISION=5e03
CommonProgramW6432=C:\Program Files\Common Files
ComSpec=C:\WINDOWS\system32\cmd.exe
PGMODELER_LANG_DIR=E:\Program Files (x86)\pgmodeler\lang
SystemRoot=C:\WINDOWS
TEMP=C:\Users\jimne\AppData\Local\Temp
HOMEDRIVE=C:
USERPROFILE=C:\Users\jimne
TMP=C:\Users\jimne\AppData\Local\Temp
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
NUMBER_OF_PROCESSORS=8
JDK_16=C:\Program Files\Java\jdk1.8.0_172\bin
rnett added 2 commits Jul 1, 2019
classpath update
Signed-off-by: Ryan Nett <rnett@skymind.io>
classpath for java >8 fix
Signed-off-by: Ryan Nett <rnett@skymind.io>
@rnett

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 1, 2019

URLClassLoader isn't used in Java >8, which makes getting the classpath using it not work. I can work around that a bit by using the java.class.path property, but it can be wrong (apparently). And since we're not using Java 9+, I can't access module loader info.

@AlexDBlack do you know of any way around this? If not I'll merge it.

@AlexDBlack
Copy link

left a comment

LGTM 👍

@rnett rnett merged commit 3480e6d into master Jul 2, 2019

@rnett rnett deleted the rn_system_info branch Jul 2, 2019

AlexDBlack added a commit that referenced this pull request Jul 20, 2019
System info export for debugging and bug reporting (#34)
* System info export for debugging and bug reporting

Signed-off-by: Ryan Nett <rnett@skymind.io>

* class name fix

Signed-off-by: Ryan Nett <rnett@skymind.io>

* add version information, pointer memory info

Signed-off-by: Ryan Nett <rnett@skymind.io>

* add nvidia-smi and nvcc info

Signed-off-by: Ryan Nett <rnett@skymind.io>

* line cleanup

Signed-off-by: Ryan Nett <rnett@skymind.io>

* nvidia-smi run works

Signed-off-by: Ryan Nett <rnett@skymind.io>

* add oshi dependency

Signed-off-by: Ryan Nett <rnett@skymind.io>

* use OS info, add workspaces info

Signed-off-by: Ryan Nett <rnett@skymind.io>

* use ServiceLoader to load GPU information

Signed-off-by: Ryan Nett <rnett@skymind.io>

* register service

Signed-off-by: Ryan Nett <rnett@skymind.io>

* moved service out of NativeOpsHolder (private constructor)

Signed-off-by: Ryan Nett <rnett@skymind.io>

* added newline

Signed-off-by: Ryan Nett <rnett@skymind.io>

* added license

Signed-off-by: Ryan Nett <rnett@skymind.io>

* and one more

Signed-off-by: Ryan Nett <rnett@skymind.io>

* copyright update

Signed-off-by: Ryan Nett <rnett@skymind.io>

* fixes

Signed-off-by: Ryan Nett <rnett@skymind.io>

* removed unused imports

Signed-off-by: Ryan Nett <rnett@skymind.io>

* removed more unused imports

Signed-off-by: Ryan Nett <rnett@skymind.io>

* close streams

Signed-off-by: Ryan Nett <rnett@skymind.io>

* and another one

Signed-off-by: Ryan Nett <rnett@skymind.io>

* use method

Signed-off-by: Ryan Nett <rnett@skymind.io>

* one more copyright

Signed-off-by: Ryan Nett <rnett@skymind.io>

* remove double license

Signed-off-by: Ryan Nett <rnett@skymind.io>

* moved test to correct package

Signed-off-by: Ryan Nett <rnett@skymind.io>

* classpath update

Signed-off-by: Ryan Nett <rnett@skymind.io>

* classpath for java >8 fix

Signed-off-by: Ryan Nett <rnett@skymind.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.