That functionality has already been added to version 13.12. I would
not recommend backporting this to version 2.6 since the changes are
fairly extensive in terms of function arguments changing and new
remote procedure calls, but the changes can be seen here:
https://github.com/SchedMD/slurm/commit/2ecab57b3f2713134f4c0b116b820bbcac13380b
Quoting Ulf Markwardt <[email protected]>:
Dear Slurm developers,
I now have my plugin nearly operational. One more thing: In order to
give teh user as much information as possible I would like to tell
her the current quota which is causing the job rejection.
"info ()" writes to the log file. What I would need is a function to
output to the user.
It would help to have (dynamic) error messages coming from the
plugin library instead of static messages in src/common/slurm_errno.c.
Best,
Ulf
--
___________________________________________________________________
Dr. Ulf Markwardt
Technische Universität Dresden
Center for Information Services and High Performance Computing (ZIH)
01062 Dresden, Germany
Phone: (+49) 351/463-33640 WWW: http://www.tu-dresden.de/zih