User Tools

Site Tools


cluster:172

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cluster:172 [2018/08/23 14:43]
hmeij07 [Lammps]
cluster:172 [2018/08/23 18:33]
hmeij07
Line 20: Line 20:
   * unmount NFS mounts while installing nvidia as root   * unmount NFS mounts while installing nvidia as root
   * install other software as regular user    * install other software as regular user 
-  *  
 ==== Nvidia ==== ==== Nvidia ====
  
Line 34: Line 33:
 yum update kernel kernel-tools kernel-tools-libs yum update kernel kernel-tools kernel-tools-libs
 yum install kernel-devel kernel-headers (remove old headers after reboot) yum install kernel-devel kernel-headers (remove old headers after reboot)
-yum install gcc gcc-devel gcc-gfortran gcc-c+++yum install gcc gcc-gfortran gcc-c++  (done in CHROOT)
  
 # download runfiles from https://developer.nvidia.com/cuda-downloads # download runfiles from https://developer.nvidia.com/cuda-downloads
 +# files in /usr/local/src
 sh cuda_name_of_runfile sh cuda_name_of_runfile
 sh cuda_name_of_runfile_patch sh cuda_name_of_runfile_patch
Line 55: Line 55:
 (y)es/(n)o/(q)uit: n (y)es/(n)o/(q)uit: n
  
-#/etc/modprobe.d/blacklist-nouveau.confreboot before driver instllation+# /etc/modprobe.d/blacklist-nouveau.conf 
 +reboot before driver installation - done in CHROOTls -l /et
 blacklist nouveau blacklist nouveau
 options nouveau modeset=0 options nouveau modeset=0
Line 72: Line 73:
 [root@n37 src]# find /usr/local/cuda-9.2 -name nvidia-xconfig* [root@n37 src]# find /usr/local/cuda-9.2 -name nvidia-xconfig*
 [root@n37 src]# [root@n37 src]#
-[root@n37 src]# scp n78:/etc/X11/xorg.conf /etc/X11/+[root@n37 src]# scp n78:/etc/X11/xorg.conf /etc/X11/  - done in CHROOT
  
 # Device files/dev/nvidia* exist with 0666 permissions? # Device files/dev/nvidia* exist with 0666 permissions?
Line 326: Line 327:
 ==== mapd ==== ==== mapd ====
  
 +  * https://www.mapd.com/docs/latest/4_centos7-yum-gpu-ce-recipe.html
  
 +<code>
 +
 +useradd -U mapd
 +
 +# mapd.repo
 +[mapd-ce-cuda]
 +name=mapd ce - cuda
 +baseurl=https://releases.mapd.com/ce/yum/stable/cuda
 +gpgcheck=1
 +gpgkey=https://releases.mapd.com/GPG-KEY-mapd
 +
 +yum  install \
 +  copy-jdk-configs java-1.8.0-openjdk-headless \
 +  javapackages-tools libxslt \
 +  lksctp-tools python-javapackages \
 +  python-lxml tzdata-java \
 +  mapd 
 +  # n37:/usr/local/src
 +
 +# User specific aliases and functions
 +export MAPD_USER=mapd
 +export MAPD_GROUP=mapd
 +export MAPD_STORAGE=/var/lib/mapd
 +export MAPD_PATH=/opt/mapd
 +# The $MAPD_STORAGE directory must be dedicated to MapD
 +
 +</code>
 +
 +==== Finish ====
 +
 +  * Make the final tar file for /usr/local and post with CHROOT
 +  * Install all the packages of this page in CHROOT
 \\ \\
 **[[cluster:0|Back]]** **[[cluster:0|Back]]**
cluster/172.txt · Last modified: 2020/07/15 17:52 by hmeij07