Skip to content
PaulBautin edited this page Nov 5, 2020 · 5 revisions

Welcome to the csa-atrophy wiki!

How to release

  • go to "release"
  • create new tag, e.g. rYYYYMMDD
  • from master
  • click "release"

Run on compute canada

First you must connect to compute canada with command ssh [email protected], then make sure you have the right python version installed

  • module avail python

for example you can choose (python>3.6) ex: module load python/3.7.4

Once you have installed all requirements for csa-atrophy with command pip install -e ., you are ready to submit jobs to compute canada with command:

  • run_all -config config_sct_run_batch.yml -job-template job_template.sh -n 32 (make sure to update job_template.sh)

Initialize a virtual environment

Create a target directory for the virtual environment

  • virtualenv --no-download ~/venv

then activate the virtual environment with command

  • source ~/venv/bin/activate

you can now install python packages with pip. ex:pip install num

to deactivate the virtual environment run

  • deactivate
Clone this wiki locally