Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Environment variables over starpu_conf?

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Environment variables over starpu_conf?


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@ens-lyon.org>
  • To: Cyril Roelandt <cyril.roelandt@inria.fr>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Environment variables over starpu_conf?
  • Date: Mon, 6 Feb 2012 14:01:40 +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>

Cyril Roelandt, le Mon 06 Feb 2012 12:10:09 +0100, a écrit :
> On 12/20/2011 01:24 AM, Samuel Thibault wrote:
> >ATM the starpu_conf structure passed to starpu_init takes precedence
> >over environment variables. I'd say it should be the converse,
> >shouldn't it?
> >
>
> I agree with you. Do all applications make sure environment variables take
> precedence over their configuration ? Is that a convention, or is it up to
> every application ?

I've usually seen environment variables taking precedence over
source-code-hardcoded values. Command-line options then usually take
precedence over environment variables.

> If we choose to modify the behaviour of StarPU regarding environment
> variables, this should be done before 1.0.0, along with the API changes.
> Maybe for rc3 ?

The earliest, the better, so I'd say rc2.

Samuel





Archives gérées par MHonArc 2.6.19+.

Haut de le page