Discussion:
[Beowulf] Slurm SPANK GPU Compute Mode plugin
Kilian Cavalotti
2018-01-22 23:20:52 UTC
Permalink
Hi all,

We (Stanford Research Computing Center) developed a SPANK plugin which
allows users to choose the GPU compute mode [1] for their jobs.
[1] http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#compute-modes

This came from the need to give our users some control on the way GPUs
are set, so they could run specific applications requiring a given
mode, while providing defaults optimized for our general environment.

We figured it could be of interest to others, so we released our Slurm
SPANK GPU Compute Mode plugin at
https://github.com/stanford-rc/slurm-spank-gpu_cmode

Feel free to give it a try, and don't hesitate to contact us if you
have any question.


Cheers,
--
Kilian
_______________________________________________
Beowulf mailing list, ***@beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mai
Kilian Cavalotti
2018-01-23 16:19:12 UTC
Permalink
Hi Miguel,
Hi Kilian, a question on this: which version of Slurm/Lua are you running
this against??
Slurm 17.11.x and Lua 5.1
I don’t seem able to generate the RPM on 17.02.9/Lua 5.2 ; it throws similar
errors to what I had seen earlier on the original files from Mark Grondo.
+ /usr/bin/cc -I/opt/slurm/17.02.9/include -g -o lua.o -fPIC -c lua.c
lua.c:1048:31: error: ‘LUA_GLOBALSINDEX’ undeclared (first use in this
function)
lua_pushvalue (script->L, LUA_GLOBALSINDEX);
Ah right, LUA_GLOBALSINDEX seems to have been removed in Lua 5.2. :(

I'm not exactly sure what would the best approach be to fix this.
Since that code comes directly unmodified from
https://github.com/grondo/slurm-spank-plugins, maybe it would be worth
reporting the issue there?

Cheers,
--
Kilian
_______________________________________________
Beowulf mailing list, ***@beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman
Loading...