Hello,

As for allowing users to specify defaults for their sbatch/salloc
executions, I think the best analog in SLURM to the GridEngine .sge_request
is for users to set environment variables in their dotfiles or other means
prior to running sbatch.  e.g., SBATCH_ACCOUNT would set an implicit "-A"
on the sbatch statement.  See the sbatch man page under "INPUT ENVIRONMENT
VARIABLES" for more information.

-Doug

----
Doug Jacobsen, Ph.D.
NERSC Computer Systems Engineer
National Energy Research Scientific Computing Center <http://www.nersc.gov>

------------- __o
---------- _ '\<,_
----------(_)/  (_)__________________________


On Fri, Apr 29, 2016 at 5:45 PM, Luis Yanes (TGAC) <[email protected]>
wrote:

>
> Hi,
>
> Depending on what those options are, I guess the best way to go would be
> to place them on the Prolog of the job. Here is a link to the documentation
> http://slurm.schedmd.com/prolog_epilog.html
>
> Best,
> Luis.
> ________________________________________
> From: CB [[email protected]]
> Sent: 29 April 2016 20:31
> To: slurm-dev
> Subject: [slurm-dev] An issue with Grid Engine to Slurm migration
>
> Hello,
>
> We're using Grid Engine system "sge_request" file to add some default
> "options", which will be added to users' job submission command.
> However, if users have the same option with different value in their own
> job submission command, users can override the default options.
>
> I'm looking for something similar with Slurm.
> I've read Slurm documentations but it is not obvious to me yet.
>
> Any suggestions are appreciated.
>
> Thanks,
> - Chansup=

Reply via email to