Hi,

That makes sense - It wasn't clear to me from the examples give here

  https://easybuild.readthedocs.io/en/latest/Submitting_jobs.html

that that would work, although there is mention of "the default
mechanism ...  to pick a number of cores".  It would be nice if there
were a Slurm-only example which mentioned the fact explicitly that the
standard Slurm environment variable will be used.

Cheers,

Loris

Åke Sandgren <[email protected]> writes:

> 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
>> ------------------------------------------------------------------------------------------------
>> ------------------------------------------------------------------------------------------------
>> 
-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to