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

Loris Bennett loris.bennett at fu-berlin.de
Mon Nov 18 07:06:04 UTC 2019


Yann Bouteiller <yann.bouteiller at polymtl.ca> writes:

> Hello Brian, thank you for your answer.
>
> 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 think I cannot
> share homes.

How are you prevented from installing things in your home directory?
How do the powers that be distinguish between a file which has been
"installed" and one you just copied to or created in your home
directory?

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett at fu-berlin.de



More information about the slurm-users mailing list