[slurm-users] About srun command
Mahmood Naderan
mahmood.nt at gmail.com
Wed Dec 26 11:56:27 MST 2018
Yes thank you very much.
Regards,
Mahmood
On Wed, Dec 26, 2018 at 10:18 PM Ing. Gonzalo E. Arroyo <
garroyo at ifimar-conicet.gob.ar> wrote:
> Hi! You should try salloc with similar parameters, then you will have
> access to the required nodes or cores...
>
> *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.
>
>
> El mié., 26 dic. 2018 a las 14:31, Mahmood Naderan (<mahmood.nt at gmail.com>)
> escribió:
>
>> Hi
>> I use the following command to bring up a qmeu guest supported by spankx11
>>
>> $ srun -n 1 -c 20 --mem=10G -p QEMU -A q20_10 --spankx11 ./run_qemu.sh
>>
>> where run_qemu.sh is a command like this
>>
>> $ cat run_qemu.sh
>> #!/bin/bash
>> USERN=`whoami`
>> qemu-system-x86_64 -m 8192 -smp cores=20 -hda win7_64_snap.img -boot c
>> -usbdevice tablet -enable-kvm -device e1000,netdev=host_files -netdev
>> user,net=
>> 10.0.2.0/24,id=host_files,restrict=off,smb=/home/$USERN,smbserver=10.0.2.4
>>
>>
>> Is there anyway to include some of the srun options in the script? It
>> seems that #SBATCH is not valid here.
>>
>>
>> Regards,
>> Mahmood
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20181226/758d9183/attachment.html>
More information about the slurm-users
mailing list