Hi list,
I want to implement a SLURM plugin that does the following:
Some files should be handed over to a user that runs jobs via SLURM.
These files exist per CPU (OS representation of a hardware thread) and
usually belong to root.
Currently there is no way for me to implement such a plugin. The
affinity settings are set after the last available plugin hook with
privileged access. Thus my plugin could be either called when it has the
access rights to hand over the files, or when it has the information
about which files it has to hand over. However, I need both: the
information and the privilege to perform the task.
Thus I would propose an extension to te spank plugin interfaces that is
called right before
task.c:494 (exec_task(...))
execve(task->argv[0], task->argv, job->env);
(based on git master)
At this time, there is all information about the job available.
Would it make sense to add this additional feature? I would highly
appreciate it.
Robert
--
Dipl.-Inf. Robert Schoene
Computer Scientist - R&D Energy Efficient Computing
Technische Universitaet Dresden
Center for Information Services and High Performance Computing
Distributed and Data Intensive Computing
01062 Dresden
Tel.: +49 (351) 463-42483
Fax : +49 (351) 463-37773
E-Mail: [email protected]