Skip to content

Commit

Permalink
add script to setup CSD3 accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
tavareshugo committed Jun 28, 2024
1 parent 8fa6685 commit 41a7a4e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions utils/setup_csd3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

# see https://github.com/cambiotraining/hpc-intro/issues/46

# backup bashrc
cp ~/.bashrc ~/.bashrc_bkp

# unzip data to hpc-work
unzip ~/rds/rds-introhpc/data.zip -d ~/rds/hpc-work/hpc_workshop

# install mamba
bash ~/rds/rds-introhpc/Miniforge3-$(uname)-$(uname -m).sh -b -p $HOME/miniforge3
$HOME/miniforge3/bin/mamba init
source ~/.bashrc
conda config --add channels defaults; conda config --add channels bioconda; conda config --add channels conda-forge
conda config --set remote_read_timeout_secs 1000

# set R up
mamba install -y -n base r-argparse==2.2.2

# additional conda environments
mamba create -y -n scipy scipy==1.12.0 numpy==1.26.4 matplotlib==3.8.3
mamba create -y -n mapping bowtie2==2.5.3

0 comments on commit 41a7a4e

Please sign in to comment.