Commit 3c6a1850 authored by Andrey Filippov's avatar Andrey Filippov

testing maven os version activation

parent 249561ff
......@@ -54,23 +54,6 @@
<!-- <version>1.53j</version> -->
<version>1.54f</version>
</dependency>
<dependency>
<groupId>org.jcuda</groupId>
<artifactId>jcuda</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>12.6.0</version>
</dependency>
<!--
As of 2018/09/11 TF for GPU on Maven supports CUDA 9.0 (vs latest 9.2)
Workaround:
~$ sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb
~$ sudo apt install cuda-9.0
# install or link back to cuda-9.2:
~$ sudo rm /usr/local/cuda; sudo ln -sf /usr/local/cuda-9.2 /usr/local/cuda
Then in Eclipse's Run configurations... add an environment variable:
LD_LIBRARY_PATH = /usr/local/cuda-9.0/lib64
-->
<dependency>
<groupId>org.tensorflow</groupId>
<artifactId>libtensorflow</artifactId>
......@@ -187,6 +170,83 @@
</dependency>
</dependencies>
<!--TODO: improve profile activation. Currently 11.2.0 only for my old computer OS version, all others use 12.6.0-->
<profiles>
<profile>
<id>profileCuda11</id>
<activation>
<os>
<name>Linux</name>
<version>5.15.0-139-generic</version>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.jcuda</groupId>
<artifactId>jcuda</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>11.2.0</version>
</dependency>
<!-- jcuda-natives -->
<dependency>
<groupId>org.jcuda</groupId>
<artifactId>jcuda-natives</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>11.2.0</version>
</dependency>
<!--
As of 2018/09/11 TF for GPU on Maven supports CUDA 9.0 (vs latest 9.2)
Workaround:
~$ sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb
~$ sudo apt install cuda-9.0
# install or link back to cuda-9.2:
~$ sudo rm /usr/local/cuda; sudo ln -sf /usr/local/cuda-9.2 /usr/local/cuda
Then in Eclipse's Run configurations... add an environment variable:
LD_LIBRARY_PATH = /usr/local/cuda-9.0/lib64
-->
</dependencies>
</profile>
<profile>
<id>profileCuda12</id>
<activation>
<!-- <activeByDefault>true</activeByDefault>-->
<os>
<name>Linux</name>
<version>!5.15.0-139-generic</version>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.jcuda</groupId>
<artifactId>jcuda</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>12.6.0</version>
</dependency>
<!-- jcuda-natives -->
<dependency>
<groupId>org.jcuda</groupId>
<artifactId>jcuda-natives</artifactId>
<!-- <version>10.1.0</version> -->
<!--<version>11.2.0</version> -->
<version>12.6.0</version>
</dependency>
<!--
As of 2018/09/11 TF for GPU on Maven supports CUDA 9.0 (vs latest 9.2)
Workaround:
~$ sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb
~$ sudo apt install cuda-9.0
# install or link back to cuda-9.2:
~$ sudo rm /usr/local/cuda; sudo ln -sf /usr/local/cuda-9.2 /usr/local/cuda
Then in Eclipse's Run configurations... add an environment variable:
LD_LIBRARY_PATH = /usr/local/cuda-9.0/lib64
-->
</dependencies>
</profile>
</profiles>
<build>
<resources>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment