networkmanager-fortisslvpn-git from aur
networkmanager-fortisslvpn had problems setting the DNS
correctly - aur package magically fixes it so did not investigate
furtherssh-copy-id $MYUSERNAME@turing.cse.iitk.ac.inln -s /homepages/global/$MYUSERNAME ~/wwwssh $MYUSERNAME@gpu1.cse.iitk.ac.in
or ssh $MYUSERNAME@gpu2.cse.iitk.ac.in
image.cse.iitk.ac.in or
image1.cse.iitk.ac.in or image2.cse.iitk.ac.in
if GPU is not needed/data:
mkdir /data/$MYUSERNAME && chmod 700 /data/$MYUSERNAMEcd /data/$MYUSERNAME && curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && bash Miniconda3-latest-Linux-x86_64.shq and then typing
yes/data/$MYUSERNAME/miniconda3yes for executing
conda initmambaforge:
cd /data/$USERwget -O Mambaforge.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"bash Mambaforge.sh -p /data/$USER/mambaforge
<ENTER> -> yes ->
<ENTER> -> yes ->
<ENTER>. ~/.bashrcecho '[[ -f ~/.bashrc ]] && source ~/.bashrc' >> ~/.bash_profile
~/.bashrc is sourced on sshconda create --name dlprojectconda activate dlproject
conda install jupyterlab pandas tensorflow-gpuconda install librosajupyter lab --ip=0.0.0.0 --no-browsercheck GPU usage: watch -d -n 0.5 nvidia-smi
check and limit GPUs to be used in python:
gpus = tf.config.list_physical_devices("GPU")
gpus # list of GPUs available - 3 as on 2022.04.06
# only use the 3rd GPU
tf.config.set_visible_devices(gpus[2], "GPU")disk usage: df -h /data (overall) or
du -sh /data/$MYUSERNAME (per user)
wpa_supplicant.conf
file for raspbiancountry=IN
network={
ssid="iitk(Highspeed-5GHz)"
scan_ssid=1
key_mgmt=WPA-EAP
eap=TTLS
identity="youruserid"
password="yourpassword"
phase2="auth=PAP"
}
interface eth0
# dummy values below
static ip_address=198.51.100.235/21
static routers=198.51.100.1
static domain_name_servers=172.31.1.1 172.31.1.130
static domain_name=h5.iitk.ac.in
static domain_search=cc.iitk.ac.in iitk.ac.in
# make wlan0 higher priority interface
interface wlan0
metric 100