Things to know about working at Utah - sdss/astra GitHub Wiki

Installing bleeding-version of astra from source at Utah

You almost never want to do this. This is just for Andy Casey because this kind of information is not written down anywhere!

module switch python/3.7.3
git clone [email protected]:sdss/astra.git
cd astra/
pip install -r requirements.txt
python setup.py install --prefix=~/.local

And don't forget to set your ~/.pgpass to avoid psycopg2.OperationalError exceptions.

2020-11-09

You will also want to add these to your ~/.bash_profile:

module switch python python/3.7.3
module unload sdss_access
module unload tree
module switch sdss_access/master
module switch tree/sdss5.3

2021-01-01: Installing torch with the right conda and cuda shit

First become "sdssunit" with sudo su - sdssunit then type in your normal password.

Then ml <conda_env_name>. Then module load cuda/10.2

Then from https://pytorch.org/ with Cuda 10.2:

conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch

Request an interactive GPU node to test shit

srun --nodes=1 --ntasks=1 --partition=notchpeak-gpu --account=notchpeak-gpu --gres=gpu --time=04:00:00 --mem=24GB --pty /bin/bash -l