You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** These steps below are for interactive computing ***
Host Jupyter Notebook Server
jupyter notebook --port=XXXX --no-browser --ip=127.0.0.1
Set the port number yourself to a random port number. Check the statements printed after running this to confirm if your server is on the port you selected. Copy the URL the terminal provides to access the Jupyter Notebook Server.
SSH into Jupyter Notebook Server (step is necessary in order to access the server when you run VS code)
Open a new terminal window and run:
ssh -L XXXX:127.0.0.1:XXXX [email protected] ssh -L XXXX:127.0.0.1:XXXX "hostname"
XXXX is the port number you selected, and "hostname" is the hostname you received in Step 3.
Open up Visual Studio Code and select the kernel to an Existing Jupyter Notebook Server. Paste the URL you copied in Step 7.
The instructions are now complete, you will be able to run the workflow on the L40S GPU node in an interactive Jupyter Notebook Session.
The text was updated successfully, but these errors were encountered:
Step by Step instructions to setup a conda environment and run model on L40S GPU node for Hurricane data GAN project
ssh -Y "netID"@keeling.earth.illinois.edu
"netID" is your Illinois account netID
Activate L40S GPU node
qlogin -p l40s -N 1 -n 96 --gres=gpu:L40S:1 --mem=250000 --time=2:00:00
Find hostname of node: (This will be used later on in the Jupyter Notebook Server setup)
hostname
Activate conda installation:
source .bashrc
Create conda environment
conda create --name "my-env"
"my-env" is the name you create for your environment
Pytorch Install Instructions: https://pytorch.org/get-started/locally/
Code: conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
Jupyter Notebook: conda install jupyter notebook
Matplotlib: conda install matplotlib
Xarray: conda install -c conda-forge xarray netCDF4 h5netcdf
*** These steps below are for interactive computing ***
Host Jupyter Notebook Server
jupyter notebook --port=XXXX --no-browser --ip=127.0.0.1
Set the port number yourself to a random port number. Check the statements printed after running this to confirm if your server is on the port you selected. Copy the URL the terminal provides to access the Jupyter Notebook Server.
SSH into Jupyter Notebook Server (step is necessary in order to access the server when you run VS code)
Open a new terminal window and run:
ssh -L XXXX:127.0.0.1:XXXX [email protected] ssh -L XXXX:127.0.0.1:XXXX "hostname"
XXXX is the port number you selected, and "hostname" is the hostname you received in Step 3.
The instructions are now complete, you will be able to run the workflow on the L40S GPU node in an interactive Jupyter Notebook Session.
The text was updated successfully, but these errors were encountered: