We do it like this: - Prolog creates $SCRATCH, chowns it to the user - Task Prolog exports the $SCRATCH variable to the job step - Users can use a command "savefile" in their job script that registers the file(s) so that the epilog can copy them back (the command simply writes the file names to a dot file in $SCRATCH) - The Epilog copies any registered files back to the job submit dir (it uses "su - $USER" when doing this). - The epilog deletes the directory
-- Regards, Bjørn-Helge Mevik, dr. scient, Department for Research Computing, University of Oslo
signature.asc
Description: PGP signature
