Skip to content

Instantly share code, notes, and snippets.

@AppleBoiy
Last active June 2, 2025 03:28
Show Gist options
  • Select an option

  • Save AppleBoiy/0d7a14778082157142a2b9342ef55412 to your computer and use it in GitHub Desktop.

Select an option

Save AppleBoiy/0d7a14778082157142a2b9342ef55412 to your computer and use it in GitHub Desktop.
  1. load module
module load singularity/3.9.5
  1. pull container
singularity pull tensorflow-notebook.sif docker://jupyter/tensorflow-notebook
  1. submit job
qsub hpc_kyk_notebook.sh
  1. get notebook url
cat stdout
#!/bin/bash
#PBS -N notebook
#PBS -j oe
#PBS -q GPU-1
#PBS -l select=1:ncpus=26:ngpus=1
source /etc/profile.d/modules.sh
module purge
module load singularity
cd ${PBS_O_WORKDIR}
singularity run --nv ./tensorflow-notebook.sif >stdout 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment