Re: [slurm-users] How to use a pyhon virtualenv with srun?

2019-11-18 Thread Yann Bouteiller
Hello, thank you for your help. I had asked on this list because I am a beginner with slurm so I didn't know how to do this. Also reading at the CC documentation I believed that installing a venv on each node was the right way to go. Gareth was right: I needed to sleep forever at the end th

Re: [slurm-users] How to use a pyhon virtualenv with srun?

2019-11-18 Thread Mark Hahn
Actually, you are not allowed to install things in your home on computecanada, this is why you need to install everything in a virtualenv with pip install. Also, you have to install each virtualenv in $SLURM_TMDIR which is the local drive of the node, because everything else is slow, so I thin