From cd6a054a6c3c44369e7f89db1795000aebd7b0d6 Mon Sep 17 00:00:00 2001 From: Zach Nussbaum Date: Tue, 11 Apr 2023 12:39:07 +0000 Subject: [PATCH] chore: remove not needed --- head_node_setup.sh | 19 ------------------- worker_node_setup.sh | 6 ------ 2 files changed, 25 deletions(-) delete mode 100644 head_node_setup.sh delete mode 100644 worker_node_setup.sh diff --git a/head_node_setup.sh b/head_node_setup.sh deleted file mode 100644 index 7a813d1e..00000000 --- a/head_node_setup.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -WORKER_IP=$1 -N_GPUS=$2 - -sudo apt install -y nfs-kernel-server -sudo mkdir -p ./data_multiplus -sudo chmod 777 ./data_multiplus -printf "${PWD}/data_multiplus ${WORKER_IP}(rw,sync,no_subtree_check)" | sudo tee -a /etc/exports -sudo systemctl restart nfs-kernel-server - -sudo apt-get install -y pdsh -export DSHPATH=$PATH -export PDSH_RCMD_TYPE=ssh - -ssh-keygen -t rsa -N '' -cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys - -sudo mkdir -p /job -printf "localhost slots=$N_GPUS\n$WORKER_IP slots=$N_GPUS" | sudo tee /job/hostfile \ No newline at end of file diff --git a/worker_node_setup.sh b/worker_node_setup.sh deleted file mode 100644 index 2c50e29d..00000000 --- a/worker_node_setup.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -HEAD_IP=$1 - -sudo apt install -y nfs-common -sudo mkdir -p ./data_multiplus -sudo mount ${HEAD_IP}:${PWD}/data_multiplus ./data_multiplus \ No newline at end of file