-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24/08/13 20:41, Chris Samuel wrote:
> *But* I can get it to work from inside that same salloc if I do: > > [samuel@barcoo ~]$ srun --exclusive --ntasks 2 --gres=mic:2 hostname Interestingly the gres request there is unnecessary, if I drop it the srun will still work (and get allocated the MICs it's asked for via sbatch/salloc which is nice). So it appears that the use of --gres *requires* the use of --exclusive *and* --ntasks for it to work across multiple nodes. I can get this working for mpirun with: export SLURM_NTASKS=<num> export SLURM_EXCLUSIVE=1 Is there any documentation explaining why these are required, or is this a bug? All the best, Chris - -- Christopher Samuel Senior Systems Administrator VLSCI - Victorian Life Sciences Computation Initiative Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545 http://www.vlsci.org.au/ http://twitter.com/vlsci -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlIasDcACgkQO2KABBYQAh/jaQCfYae+p4lI+aKdv4x5MdprRuRC eWkAnA7UcQlUM0HrJI2ntwV6DKaRFJZo =2RIr -----END PGP SIGNATURE-----