"Dr. Thomas Orgis" <thomas.or...@uni-hamburg.de> writes: > Am Sun, 21 Aug 2016 17:29:39 -0700 > schrieb Christopher Samuel <sam...@unimelb.edu.au>: > >> Unfortunately you can only do this as part of the taskprolog, so >> prepending to the users stdout. > > Thanks for confirming the (for me) puzzling state of affairs. Since I > need to append info about the resources the job acutally used, it has > to be at the end …
We use the following: Each job script is supposed to source a setup file (/cluster/bin/jobsetup). Among other things, this sets up a signal handler for the EXIT "signal", which prints out resource usage. As long as users remember to source the setup file, they get the usage statistics in the bottom of their stdout file. Not very elegant, but it works. -- Bjørn-Helge Mevik, dr. scient, Department for Research Computing, University of Oslo