Hi Seren,

I am not sure exactly what a "submit host" is in SGE, but in SLURM any  
node with SLURM installed and with the matching configuration files  
can submit to your cluster. That would typically include compute nodes  
(where the parallel jobs run) and the nodes where users log in. If you  
want to prevent users from submitting jobs from some node(s), a  
job_submit plugin could be used for that purpose. See  
http://www.schedmd.com/slurmdocs/job_submit_plugins.html (the Lua  
version would be simplest to use).

The mail processing logic can be found in src/slurmctld/agent.c  
mail_job_info(). If you decide to work on this, I would suggest that  
you post ideas and any work you do to the mailing list so that it can  
be incorporated into the code for everyone to use.

Thanks,
Moe Jette
SchedMD

Quoting Seren Soner <[email protected]>:

>
> Dear all,
>
> I have two little questions that I'm sure there are really quick
> answers to, just couldn't figure them out, so I decided I should
> finally send a question to the list :)
>
> First of all, can I set some nodes as "submit hosts", as in SGE ? I
> want batch jobs to be submitted from not only front-end but also the
> compute nodes that I am using. When I try that, I get, "sbatch: error:
> Batch job submission failed: Access/permission denied". I've looked
> into sacctmgr manual, but failed to find anything related.
>
> Secondly, what is the easiest way to modify sbatch mailer, i.e. the
> mail that we receive when a job begins, completes etc. It only has a
> subject, and no text in it, and I think there could be some more
> features that could be added to the mail. I thought of writing a
> jobcomp script to do that, but this won't work in the job begin case.
> Any ideas on that end ?
>
> Thank you all in advance,
> Seren Soner
> Bogazici University

Reply via email to