It's really the env vars to sbatch you should look at, that's what is
used to submit jobs.

On 12/4/19 10:53 AM, Alan O'Cais wrote:
> Sorry,  https://slurm.schedmd.com/srun.html#lbAH
> 
> On Wed, 4 Dec 2019 at 10:36, Alan O'Cais <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Hi Loris,
> 
>     You can use environment variables for that,
>     see https://slurm.schedmd.com/srun.html#lbAI
> 
>     Alan
> 
>     On Wed, 4 Dec 2019 at 10:23, Loris Bennett
>     <[email protected] <mailto:[email protected]>> wrote:
> 
>         Hi,
> 
>         With Kenneth's help I have realised/remembered that I need to
>         compile
>         Keras / TensorFlow on a machine with the appropriate CUDA
>         drivers.  This
>         seemed like a good scenario in which to use the
> 
>           --job
> 
>         option.  However, if I write
> 
>           ... --job --job-backend=Slurm --job-cores=4
> 
>         I would still need to specify the partition with the GPU nodes,
>         so that
>         the job is indeed scheduled to a machine on which the drivers are
>         installed.
> 
>         How would I do that?
> 
>         Cheers,
> 
>         Loris
> 
>         -- 
>         Dr. Loris Bennett (Mr.)
>         ZEDAT, Freie Universität Berlin         Email
>         [email protected] <mailto:[email protected]>
> 
> 
> 
>     -- 
>     Dr. Alan O'Cais
>     E-CAM Software Manager
>     Juelich Supercomputing Centre
>     Forschungszentrum Juelich GmbH
>     52425 Juelich, Germany
> 
>     Phone: +49 2461 61 5213
>     Fax: +49 2461 61 6656
>     E-mail: [email protected] <mailto:[email protected]>
>     WWW:    http://www.fz-juelich.de/ias/jsc/EN
> 
> 
> 
> -- 
> Dr. Alan O'Cais
> E-CAM Software Manager
> Juelich Supercomputing Centre
> Forschungszentrum Juelich GmbH
> 52425 Juelich, Germany
> 
> Phone: +49 2461 61 5213
> Fax: +49 2461 61 6656
> E-mail: [email protected] <mailto:[email protected]>
> WWW:    http://www.fz-juelich.de/ias/jsc/EN
> 
> 
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> 

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [email protected]   Phone: +46 90 7866134 Fax: +46 90-580 14
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se

Reply via email to