Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] [Starpu-commits] [Review needed] Move $HOME/.starpu/sampling to $XDG_CACHE_HOME/starpu/sampling

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: ludovic.courtes@inria.fr (Ludovic Courtès)
  • To: Samuel Thibault <samuel.thibault@ens-lyon.org>
  • 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: Thu, 15 Dec 2011 15:48:49 +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>

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.

Thanks,
Ludo’.





Archives gérées par MHonArc 2.6.19+.

Haut de le page