I think that this will work!! Thanks for your help, but instead of adding
"<...>-gpu", I added "<...>-cpus" to the 6-cpus line. In Rocks Clusters I
also had to make this...

rocks add host fisesta-21-3-cpus membership="compute" rack=21 rank=3
rocks set host cpus fisesta-21-3-cpus cpus=6
rocks set host cpus fisesta-21-3 cpus=2
rocks set host attr fisesta-21-3-cpus slurm_partitions value='|FISESTA|'
(rocks list host)
rocks add host interface fisesta-21-3-cpus iface=eth0 ip=10.1.21.3
subnet=private name=fisesta-21-3-cpus
(rocks list host interface)

Cheers!

El vie., 3 de nov. de 2017 a la(s) 13:12, Merlin Hartley <
merlin-sl...@mrc-mbu.cam.ac.uk> escribió:

> They would need to have different NodeNames - but the same NodeAddr for
> example:
>
> NodeName=fisesta-21-3 NodeAddr=10.1.21.3 CPUs=6 Weight=20485797
> Feature=rack-21,6CPUs
> NodeName=fisesta-21-3-gpu NodeAddr=10.1.21.3 CPUs=2 Weight=20485797
> Feature=rack-21,2CPUs Gres=gpu:1
>
> Hope this is useful!
>
>
> Merlin
>
> --
> Merlin Hartley
> Computer Officer
> MRC Mitochondrial Biology Unit
> Cambridge, CB2 0XY
> United Kingdom
>
> On 3 Nov 2017, at 15:43, Ing. Gonzalo E. Arroyo <
> garr...@ifimar-conicet.gob.ar> wrote:
>
> Hi Merlin! Thanks for helping. Are you sure I can put 2 lines in the
> nodenames.conf file with the same NodeName ?? How can the SLURM choose
> which line is per partition? I have this now...
>
> #### Auto Created ########
>
> NodeName=flash-10-1 NodeAddr=10.1.10.1 CPUs=4 Weight=20482899
> Feature=rack-10,4CPUs
> NodeName=flash-10-2 NodeAddr=10.1.10.2 CPUs=4 Weight=20482898
> Feature=rack-10,4CPUs
> NodeName=flash-10-3 NodeAddr=10.1.10.3 CPUs=4 Weight=20482897
> Feature=rack-10,4CPUs
> NodeName=flash-10-4 NodeAddr=10.1.10.4 CPUs=4 Weight=20482896
> Feature=rack-10,4CPUs
> NodeName=flash-10-5 NodeAddr=10.1.10.5 CPUs=4 Weight=20482895
> Feature=rack-10,4CPUs
> NodeName=flash-10-6 NodeAddr=10.1.10.6 CPUs=4 Weight=20482894
> Feature=rack-10,4CPUs
> NodeName=flash-10-7 NodeAddr=10.1.10.7 CPUs=4 Weight=20482893
> Feature=rack-10,4CPUs
> NodeName=fisesta-20-1 NodeAddr=10.1.20.1 CPUs=8 Weight=20485899
> Feature=rack-20,8CPUs
> NodeName=fisesta-20-2 NodeAddr=10.1.20.2 CPUs=8 Weight=20485898
> Feature=rack-20,8CPUs
> NodeName=fisesta-20-3 NodeAddr=10.1.20.3 CPUs=8 Weight=20485897
> Feature=rack-20,8CPUs
> NodeName=fisesta-20-4 NodeAddr=10.1.20.4 CPUs=8 Weight=20485896
> Feature=rack-20,8CPUs
> NodeName=fisesta-20-5 NodeAddr=10.1.20.5 CPUs=8 Weight=20485895
> Feature=rack-20,8CPUs
> NodeName=fisesta-21-3 NodeAddr=10.1.21.3 CPUs=8 Weight=20485797
> Feature=rack-21,8CPUs Gres=gpu:1
> NodeName=calc-30-1 NodeAddr=10.1.30.1 CPUs=2 Weight=20478899
> Feature=rack-30,2CPUs
> NodeName=calc-30-2 NodeAddr=10.1.30.2 CPUs=2 Weight=20478898
> Feature=rack-30,2CPUs
> NodeName=ifimar-255-1 NodeAddr=10.1.255.1 CPUs=40 Weight=20494399
> Feature=rack-255,40CPUs
>
> (I'm using Rocks Clusters, the card is installed in fisesta-21-3)
>
> *Este mensaje es confidencial. Puede contener información amparada por el
> secreto comercial. Si usted ha recibido este e-mail por error, deberá
> eliminarlo de su sistema. No deberá copiar el mensaje ni divulgar su
> contenido a ninguna persona. Muchas gracias.*
> This message is confidential. It may also contain information that is
> privileged or not authorized to be disclosed. If you have received it by
> mistake, delete it from your system. You should not copy the messsage nor
> disclose its contents to anyone. Thanks.
>
> El vie., 3 de nov. de 2017 a la(s) 12:12, Merlin Hartley <
> merlin-sl...@mrc-mbu.cam.ac.uk> escribió:
>
>> Sounds like you would need 2 different NodeName lines - one in each
>> partition.
>>
>>
>> --
>> Merlin Hartley
>> Computer Officer
>> MRC Mitochondrial Biology Unit
>> Cambridge, CB2 0XY
>> United Kingdom
>>
>> On 3 Nov 2017, at 15:08, Ing. Gonzalo E. Arroyo <
>> garr...@ifimar-conicet.gob.ar> wrote:
>>
>> Hi Gents!
>>
>> I would need some configuration to setup a compute node that has 8 cores,
>> so I can use 6 for normal compute tasks, then 2 cores for GPU partition. I
>> made 2 partitions in SLURM, but both detect 8 cores per each, I would need
>> one partition with 6 and the GPU with 2. Thanks!
>>
>> *Ing. Gonzalo E. Arroyo - CPA Profesional*
>> IFIMAR - CONICET
>> *www.ifimar-conicet.gob.ar <http://www.ifimar-conicet.gob.ar/>*
>>
>> *Este mensaje es confidencial. Puede contener información amparada por el
>> secreto comercial. Si usted ha recibido este e-mail por error, deberá
>> eliminarlo de su sistema. No deberá copiar el mensaje ni divulgar su
>> contenido a ninguna persona. Muchas gracias.*
>> This message is confidential. It may also contain information that is
>> privileged or not authorized to be disclosed. If you have received it by
>> mistake, delete it from your system. You should not copy the messsage nor
>> disclose its contents to anyone. Thanks.
>> --
>> Ing. Gonzalo Arroyo
>> --
>> Ing. Gonzalo Arroyo
>>
>>
>> --
> Ing. Gonzalo Arroyo
>
>
>
>
> --
> Merlin Hartley
> Computer Officer
> MRC Mitochondrial Biology Unit
> Cambridge, CB2 0XY
> United Kingdom
>
> --
Ing. Gonzalo Arroyo

Reply via email to