> -----Original Message-----
> From: Moe Jette [mailto:[email protected]]
> Sent: Monday, November 05, 2012 12:24 PM
> To: slurm-dev
> Subject: [slurm-dev] Re: Access to account in lua job submit plugin
> 
> 
> Hi Kent,
> 
> Responses in-line below.
> 
> Quoting Kent Engström <[email protected]>:

[...]

> > - More general: would it be worthwhile to have another layer of
> >   environment variables, so that the order of precedence could be
> >
> >   1) -A on the command line
> >   2) Environment variable SBATCH_ACCOUNT
> >   3) -A in the batch file
> >   4) Environment variable SBATCH_ACCOUNT_DEFAULT (or some other name)
> 
> Perhaps. I'll let others respond to this.

I just wanted to mention that instead of creating a new SBATCH_ACCOUNT_DEFAULT 
env variable, the user can always update their own default account for a 
specific cluster:

sacctmgr modify user myName cluster=myCluster set 
DefaultAccount=myFavoriteAccount

Don

Reply via email to