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: Samuel Thibault <samuel.thibault@ens-lyon.org>
- To: Ludovic Courtès <ludovic.courtes@inria.fr>
- Cc: 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: Tue, 20 Dec 2011 23:11:59 +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>
Ludovic Courtès, le Thu 15 Dec 2011 15:48:49 +0100, a écrit :
> 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?
Why not.
> 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.
I don't think we should move anything, that'd be very unexpected from
the user.
We can probably replace the just-added STARPU_HOME with a STARPU_ROOT
which is used as container of sampling/ if it exists, and the other
paths otherwise.
Samuel
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Ludovic Courtès, 13/12/2011
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Nathalie Furmento, 13/12/2011
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Ludovic Courtès, 13/12/2011
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Cyril Roelandt, 13/12/2011
- Message indisponible
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Samuel Thibault, 13/12/2011
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Ludovic Courtès, 13/12/2011
- Message indisponible
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Samuel Thibault, 13/12/2011
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Nathalie Furmento, 13/12/2011
- <Suite(s) possible(s)>
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Ludovic Courtès, 15/12/2011
- Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling, Samuel Thibault, 20/12/2011
Archives gérées par MHonArc 2.6.19+.