> Am 04.10.2016 um 10:32 schrieb Mark Dixon <m.c.di...@leeds.ac.uk>: > > On Tue, 4 Oct 2016, Derrick Lin wrote: > ... >> I have had a simple implementation working. Now I need to look at a >> situation when -pe is specified. It looks like the accurate way to determine >> host/slot allocation is to get from $pe_hostfile. But $pe_hostfile seems to >> be available only in start_proc_args. > > Hi Derrick, > > Thanks for pointing out that XFS project quotas exist - I have something > working with that now, too :) > >> Does this mean in -pe situation, the quota should be created in a script >> that is specified in start_proc_args instead of prolog? > ... > > What are you trying to do here? Create a $TMPDIR on all the hosts in the job? > Presumably that means you have a per-slot consumable tracking the allocations. > > It'd be interesting for people to share what they've done with parallel jobs. > Rightly or wrongly, I currently have a per-job consumable and the $TMPDIR is > only on the node with the MASTER task.
Do you mean your implementation or the general behavior? The $TMPDIR will be created when a `qrsh -inherit ...` spans a process to a node and is removed once it returns. -- Reuti _______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users