-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildCondaCerebro.slurm
executable file
·60 lines (48 loc) · 1.73 KB
/
buildCondaCerebro.slurm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env zsh
#SBATCH --job-name buildBpreveal
#SBATCH --ntasks=3
#SBATCH --nodes=1
#SBATCH --mem=10gb
#SBATCH --time=1:00:00
#SBATCH --output=log%j.log
#SBATCH --partition=gpu
#SBATCH --gres gpu:0
# This is a script that you can run on Cerebro (the cluster at Stowers)
# to install bpreveal. If you're not on a cluster, see the buildCondaLocal.zsh
# script.
################
# CHANGE THESE #
################
SHELL=zsh
# I need to source my .shrc to get conda on the path.
# CHANGE this to your own shell rc file, or it may
# work without this line for you.
export SHELL_RC_FILE=/home/cm2363/.zshrc
# The location where you cloned the git repository.
# CHANGE to reflect your directory.
export BPREVEAL_DIR=/n/projects/cm2363/bpreveal
# -p if you're specifying a path, -n if you're specifying a name.
# CHANGE the environment name to your own preference.
export ENV_FLAG=-n
export ENV_NAME=bpreveal-cerebro
# CHANGE this to conda if you don't have mamba installed.
# (I recommend using mamba; it's way faster.)
export CONDA_BIN=mamba
export PIP_BIN=pip
# Do you want to install Jupyter?
# Options: true or false
export INSTALL_JUPYTER=true
#Do you want the tools used for development?
# These are needed to run the code quality checks and build the html documentation.
# Options: true or false
export INSTALL_DEVTOOLS=true
# Do you want to install pydot and graphviz? This is needed to render an image from showModel.
export INSTALL_PYDOT=true
# Do you want to install some miscellaneous stuff that Charles likes?
# I recommend that you set this to False, as these are not necessary for
# anything in BPReveal.
export INSTALL_MISC=true
######################
# DON'T CHANGE BELOW #
######################
${SHELL} ${BPREVEAL_DIR}/etc/buildCondaSuite.zsh