[slurm-users] Slurm and available libraries
John Hearns
hearnsj at googlemail.com
Wed Jan 17 06:39:44 MST 2018
Hi Elisabetta. No, you normally do not need to install software on all the
compute nodes separately.
It is quite common to use the 'modules' environment to manage software like
this
http://www.admin-magazine.com/HPC/Articles/Environment-Modules
Once you have numpy installed on a shared drive on the cluster, and have a
Modules file in place, your users put this at the start of their job
scripts:
module load numpy
You might also want to look at Easybuild
http://easybuild.readthedocs.io/en/latest/Introduction.html
There are Easybuild 'recipes' for numpy. We use them where I work.
On 17 January 2018 at 14:28, Elisabetta Falivene <e.falivene at ilabroma.com>
wrote:
> Hi,
> let's say I need to execute a python script with slurm. The script require
> a particular library installed on the system like numpy.
> If the library is not installed to the system, it is necessary to install
> it on the master AND the nodes, right? This has to be done on each machine
> separately or there's a way to install it one time for all the machine
> (master and nodes)?
>
> Elisabetta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180117/793fc5bd/attachment.html>
More information about the slurm-users
mailing list