This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup GPU env variables required by Chapel | |
export PATH=$CHPL_HOME/bin/linux64-x86_64/:$PATH | |
export CPATH=$CPATH:/usr/local/cuda/include | |
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda/lib64 | |
export PATH=/usr/local/cuda/bin/:$PATH | |
export CHPL_TARGET_CPU=native | |
export CHPL_LOCALE_MODEL=gpu | |
export CHPL_RE2=bundled | |
export CHPL_COMM_SUBSTRATE=smp | |
export CHPL_COMM=none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set CUDA env | |
``` | |
export PATH=/usr/local/cuda/bin/:$PATH | |
``` | |
Within chapel-gpu dir, create build dir and execute following commands: | |
``` | |
(base) kjyost@einhorn:~/development/git/hokiegeek2-forks/chapel-gpu/build$ cmake .. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# as detailed here: https://askubuntu.com/questions/1203635/installing-latest-cmake-on-ubuntu-18-04-3-lts-run-via-wsl-openssl-error | |
sudo apt-get update | |
sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget | |
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - | |
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' | |
sudo apt-get update | |
# Example: update Ubuntu 18.04 to latest cmake (3.10 to 3.24) | |
(base) kjyost@podacter:~/development/git/chapel$ sudo apt-get install cmake | |
Reading package lists... Done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://itsfoss.com/fix-ubuntu-install-error/ | |
# try this first | |
sudo killall apt-get | |
# if above does not work, try the following in order | |
sudo rm /var/lib/apt/lists/lock | |
sudo rm /var/cache/apt/archives/lock | |
sudo rm /var/lib/dpkg/lock | |
# finally, try this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Purge all NVIDIA libs from system | |
sudo apt-get remove --purge '^nvidia-.*' | |
sudo apt-get remove --purge '^libnvidia-.*' | |
sudo apt-get remove --purge '^cuda-.*' | |
# Update linux-headers | |
sudo apt-get install linux-headers-$(uname -r) | |
# autoremove all unneeded dependent llibs | |
sudo apt autoremove |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vi /etc/default/grub | |
GRUB_CMDLINE_LINUX="cgroup_memory=1 cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0" | |
vi /etc/sysctl.conf | |
net.bridge.bridge-nf-call-iptables=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Rust | |
Run the following command and restart shell | |
``` | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
``` | |
# Install Prerequisites |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#wipe a rancher-k8s node | |
curl -sLO https://github.com/rancherlabs/support-tools/raw/master/extended-rancher-2-cleanup/extended-cleanup-rancher2.sh | |
sudo bash extended-cleanup-rancher2.sh -f -i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# some good tips here https://itsfoss.com/free-up-space-ubuntu-linux/ | |
# and here: https://askubuntu.com/questions/5980/how-do-i-free-up-disk-space |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# arkouda.proto | |
syntax = "proto3"; | |
package arkouda; | |
service Arkouda { | |
rpc HandleRequest(ArkoudaRequest) returns (ArkoudaResponse) {} | |
} | |
message ArkoudaRequest { |
OlderNewer