This post is intended to be shortened over time, eventually becoming an automated procedure… a wiki-post from dahlo’s magic until upstream patches settle down. All commands are issued on the cluster, unless otherwise stated.
Please report any issues via comments !
- Firsly, follow my earlier post on how to setup your own python virtual environment on UPPMAX.
- Once you have a prompt similar to: (devel) hostname ~$, you can continue, else, jump to 1.
- pip install drmaa Mercurial PyYAML
Add the following env variables to your .bashrc:
export DRMAA_LIBRARY_PATH=/bubo/sw/apps/build/slurm-drmaa/lib/libdrmaa.so export DRMAA_PATH=$DRMAA_LIBRARY_PATH
Create a file ~/.slurm_drmaa.conf with the contents:
job_categories: { default: “-A <your project_account> -p devel” }
Edit universe_wsgi.ini from the provided sample so that it contains:
admin_users = <your_admin_user>@example.com enable_api = True start_job_runners = drmaa default_cluster_job_runner = drmaa://-A <your project_account> -p devel
On your local machine: ssh -f
@ -L 8080:localhost:8080 -N On your local machine: Fire up your browser and connect to https://localhost:8080
As a betatester you may expect some issues when running galaxy in that way. Firstly, keep in mind that it’ll not perform as fast as a production-quality setup, it’s just a developer instance. Furthermore the node you’re in might have time limit restrictions, meaning that your instance will be killed in 30 minutes if you don’t reserve a slot beforehand as Martin recommended on the section “Run galaxy on a node”.