Use JupyterLab@NERSC
BerkeleyGW-Team
08/18/2025
Log in with your training account
If jupiter redirect you automatically to your usual NERSC’s account, open a new windows in incognito mode.
Click here.
Select institution (NERSC should be available for training accounts).
Enter training account username and password.
Start a Perlmutter session.
Wait for server to start up (up to a min.)
Start a terminal window
Do your calculations in this window.
You can open multiple windows by clicking “+” here or click File > New > your choice
Quickly navigate to $SCRATCH and monitor the files
Plotting with Jupyter Notebook
Start a Jupyter Notebook
Plotting with Jupyter Notebook
Right click to select Rename to rename the file
Reopen an existing Notebook file
Double click to open the Notebook file in a new window.
Plotting with Jupyter Notebook
Simple example: sine function
Run script
Simple example: sine function
Read data from file
Use io.open and np.genfromtxt to read a file
Replace workdir with your own path
Choose the name of the file from which you want to read
Save a plot
Use plt.savefig to save a plot.
Choose the path and the name of your image file.
View an image file
Double click to open the image file in a new window.