Hi,
I'd like to write a prolog script that changes the GPU compute mode of
the allocated GPU card(s). This change can only be done by root. My
initial idea was that the prolog scipt would use an environment variable
as a switch.

The problem that I face are:
 - prolog or prologctld have a reduced amount of environment variables.
Specifically, they miss "CUDA_VISIBLE_DEVICE" assigned by the GRes
plugin, as well as any user environment flag.


Is there an easy workaround? Will I have to patch the current GRes
plugin or to tinker with a new spank plugin?

Any help is welcome!

Regards,
Albert

-- 
---------------------------------
  Dr. Albert Solernou
  Research Associate
  Oxford Supercomputing Centre,
  University of Oxford
  Tel: +44 (0)1865 610631
---------------------------------

Reply via email to