Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

#!/bin/bash
#PBS -N test
#PBS -P <project code>
#PBS -q normal
#PBS -l walltime=5:00:00
#PBS -l ncpus=96
#PBS -l mem=384GB
#PBS -l jobfs=100GB
#PBS -l storage=gdata/dk92+scratch/<project code>+gdata/<project code>
module use /g/data/dk92/apps/Modules/modulefiles
module load NCI-data-analysis/20222023.0602
module load gadi_jupyterlab/2223.0602
jupyter.ini.sh [ options ]
sleep infinity

...

Submit an interactive job with "qsub -I " command. Then you can manually run jupyter.ini.sh command within the interactive PBS job.

$ module use /g/data/dk92/apps/Modules/modulefiles
$ module load NCI-data-analysis/2023.02
$ module load gadi_jupyterlab/23.02
$ jupyter.ini.sh [ options ]

In both batch and interactive PBS jobs, jupyter.ini.sh command accepts several options as below

...

$ jupyter server --generate-config
$ jupyter server password

Configuring your JupyterLab password on Gadi is only needed when you use JupyterLab for the very first time. This is necessary only during the initial usage of JupyterLab. This password serves as a stand-alone password that you will use later credential exclusively for accessing the your JupyterLab session . Note, on Gadi. It is important to note that this password is separate distinct from your NCI account password , and used only is solely intended for the Gadi JupyterLab session. You can use this command to At any point, you can reset the password at any timeusing the provided command.

Run the following command in a Gadi PBS job 

...