diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-07-05 16:22:58 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-07-05 16:22:58 +0200 |
commit | 0b3d99f96dabb1aa2fbf7f99559852916a97d610 (patch) | |
tree | b56e453cf5182a24c6878c23f5985781928d1e57 /roles/cuda/defaults | |
parent | 5416f8599ffa92b69bb87434dc1175d760760bbe (diff) | |
parent | 813756495d5ef33fa3cc95d69b6d88418ebe7bb1 (diff) | |
download | itm-0b3d99f96dabb1aa2fbf7f99559852916a97d610.tar.gz itm-0b3d99f96dabb1aa2fbf7f99559852916a97d610.tar.bz2 itm-0b3d99f96dabb1aa2fbf7f99559852916a97d610.tar.xz itm-0b3d99f96dabb1aa2fbf7f99559852916a97d610.zip |
Merge commit '813756495d5ef33fa3cc95d69b6d88418ebe7bb1' as 'roles/cuda'
Diffstat (limited to 'roles/cuda/defaults')
-rw-r--r-- | roles/cuda/defaults/main.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/roles/cuda/defaults/main.yml b/roles/cuda/defaults/main.yml new file mode 100644 index 0000000..57efd6b --- /dev/null +++ b/roles/cuda/defaults/main.yml @@ -0,0 +1,23 @@ +--- +# defaults file for ansible-role-cuda +# By default gpu is False, set it to True on the gpu nodes in the hosts file + +gpu: False +cuda_repo_url: "http://developer.download.nvidia.com/compute/cuda/repos/" +cuda_rpm_key_path: /etc/rpm/nvidia_packaging_key.asc +cuda_packages: + - cuda +cuda_restart_node_on_install: True +cuda_init: True +cuda_init_restart_service: True +cuda_init_compute_mode: 3 +cuda_init_persistence_mode: 1 +cuda_gpu_name0: "/dev/nvidia0" +cuda_bash_profile: True +cuda_bash_path: "/usr/local/cuda/bin" +cuda_bash_ld_lib_path: "/usr/local/cuda/lib64" +cuda_bash_cuda_root: "/usr/local/cuda" +cuda_bash_cuda_inc_dir: "/usr/local/cuda/bin" +cuda_bash_cpath: "/usr/local/cuda/include" + +# vim:ft=ansible: |