Docker to run powerfit application, includes oneclient to access OneData Data Management framework
353
Dockerfile to run powerfit on CPUs or GPUs
It depends/installs as well the oneclient in order to use oneprovider
The image is built from the ansible-role of the following github repository:
The base image is now one that has the nvidia driver.
The NVIDIA driver version of the image has to match the one on the physical machine. The ansible-role repository shows the version with which the current image is built. The details maybe found in:
The ansible-role has a variable which is the NVDIDIA driver, as such if you have a different version you will have to can run the ansible-role specifying the correct version.
The NVIDIA driver version is tagged in the docker image as follows
The image can be built with
docker build -t powerfit-oneclient .
Or you can pull it from the dockerhub:
docker pull indigodatacloudapps/powerfit-oneclient
The docker containes the opencl application hosted in:
Read section "Options" for examples to run the application. To run the powerfit in CPUs, you can instantiate the container:
$ docker run -it indigodatacloudapps/powerfit-oneclient /bin/bash
# cd /home
# ./run-powerfitCPU.sh
To run the powerfit in GPU, you can instantiate the container and import the NVIDIA devices:
$ docker run \
--device=/dev/nvidia0:/dev/nvidia0 \
--device=/dev/nvidiactl:/dev/nvidiactl \
--device=/dev/nvidia-uvm:/dev/nvidia-uvm \
-it \
indigodatacloudapps/powerfit-oneclient /bin/bash
# cd /home
# ./run-powerfitGPU.sh
Apache v2
Mario David: [email protected]
LIP Lisbon: http://www.lip.pt
Indigo DataCloud: https://www.indigo-datacloud.eu/
Content type
Image
Digest
Size
574.5 MB
Last updated
almost 10 years ago
docker pull indigodatacloudapps/powerfit-oneclient