Skip to content

Instantly share code, notes, and snippets.

@rhine3
Forked from sammlapp/bridges.md
Last active November 18, 2020 15:38
Show Gist options
  • Select an option

  • Save rhine3/b6f894a1a71f0fdb839672bd69db4649 to your computer and use it in GitHub Desktop.

Select an option

Save rhine3/b6f894a1a71f0fdb839672bd69db4649 to your computer and use it in GitHub Desktop.
Bridges PSC

2020-11-18

Docs

https://www.psc.edu/resources/bridges/

Nodes:

we will typically use two types:

RSM with 128 G ram - analagous to SMP

AI-GPU (V100's) - for GPU

File spaces

Two places to typically store files

Home space: 10 Gb only!

pylon5 ($SCRATCH): persistant or scratch (data storage) /pylon5/bio200037p/sammlapp We have 2000 something (Gb?)

Node-local ($LOCAL): disk that can be used from within a node on a job (temporary!)

Memory files ($RAMDISK)

Trasfers

Can use globus to transfer files

Software

Anaconda and ffmpeg are available. We'll need to add them as some sort of module in an environment.

module -v to get help

search for modules, such as anaconda: module avail anaconda

load: module load anaconda3/2019.10 #python 3.7.4 module purge #remove all modules

set up virtualenvwrapper and poetry

pip install --user virtualenvwrapper pip install --user poetry

now run which virtualenvwrapper_lazy.sh and copy the path of that document

then open your ~/.bashrc and add these lines:

source ~/.local/bin/virtualenvwrapper_lazy.sh
export WORKON_HOME=~/.cache/pypoetry/virtualenvs

just this time: run source ~/.bashrc since it isn't sourced yet

use virtualenvwrapper as normal mkvirtualenv testenv

On Demand

A replacement for JupyterHub / R Studio

Loging in

First, make sure you have ssh set up by loging into xsede website and setting up dual authentication.

ssh [USER]@login.xsede.org use duo-push to log in gsissh bridges

see what's up:

sacctmgr show cluster sinfo

check a node: scontrol show node r007

Check our allocations projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment