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

Reply via email to