Objet : Developers list for StarPU
Archives de la liste
Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling
Chronologique Discussions
- From: Cyril Roelandt <cyril.roelandt@inria.fr>
- To: Ludovic Courtès <ludovic.courtes@inria.fr>
- Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>, starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling
- Date: Fri, 13 Jan 2012 15:12:00 +0100
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
On 12/15/2011 03:48 PM, Ludovic Courtès wrote:
Hi,
Samuel Thibault<samuel.thibault@ens-lyon.org> skribis:
Cyril Roelandt, le Mon 12 Dec 2011 17:03:48 +0100, a écrit :
As Ludovic Courtes pointed out, the StarPU samplings should probably be
stored in $XDG_CACHE_HOME/starpu/sampling rather than in
$HOME/.starpu/sampling.
Some of our users are probably used to having these files in
$HOME/.starpu/sampling though, so it would be nice if nothing was to change
for them.
The following patch makes sure we store our perfmodels in $XDG_CACHE_HOME or
$HOME/.cache if $HOME/.starpu/sampling does not exist :
I'd rather have a clear simple algorithm: try all the paths in a given
order, and if none of them exists, create the first path in the order.
Otherwise it's a mess to document and care about.
I think the goal should be to deprecate ~/.starpu and move towards XDG
compliance. What do you think?
If we agree on that, then Cyril’s patch looks fine to me. Perhaps it
should issue a warning when something is found under ~/.starpu, and/or
move it to the new location.
Do we want to use ~/.starpu if it already exists, no matter what environment variables are set ? Should we ignore it ? Move it to the new directory ?
Cyril.
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Cyril Roelandt, 13/01/2012
Archives gérées par MHonArc 2.6.19+.