[gridengine users] emails when -M not in script?

Mike Hanby mhanby at uab.edu
Mon Jul 25 21:11:13 UTC 2011


What about adding

-M default_admin at mydom.com

or whatever to /opt/gridengine/default/common/sge_request (adjust path to suit your env)

Alternatively, create a ~/.sge_request file for each user (add this to your user account creation script) and assign their default email addy there:

cat ~jondoe/.sge_request

-M jondoe at example.com

Mike

> -----Original Message-----
> From: users-bounces at gridengine.org [mailto:users-
> bounces at gridengine.org] On Behalf Of Reuti
> Sent: Friday, July 22, 2011 2:24 PM
> To: Mark Suhovecky
> Cc: users at gridengine.org
> Subject: Re: [gridengine users] emails when -M not in script?
> 
> Am 22.07.2011 um 21:11 schrieb Mark Suhovecky:
> 
> > Occasionally users submit SGE scripts on our system without the -M
> option set.
> > I would expect these to go to admin_mail address defined under the
> general cluster settings;
> > instead, they're going to root on the local compute node. Is there
> something missing in my settings?
> > Can I configure this behavior?
> 
> But the nodes can send to the outside world?
> 
> Usually postfix needs to be set up on the nodes to use the headnode as
> a relay. Then the users can just define their real email address in
> ~/.forward and it will reach them all the time. It might also be
> necessary to change the sender, as root at node01 might be rejected by
> some MTAs.
> 
> Or you set it up for all in /etc/aliases
> 
> (Second way: Using a JSV to attach an email address to the jobs would
> need to look up in a database or the above file, whereto to send the
> emails. The forwarding must be set up anyway.)
> 
> -- Reuti
> 
> 
> > I took a quick stab at finding threads on this in the old
> mailmark.org archives, but came up empty.
> >
> > Thanks for any input,
> >
> > Mark
> >
> > Mark Suhovecky
> > HPC System Administrator
> > Center for Research Computing
> > University of Notre Dame
> > suhovecky at nd.edu
> > _______________________________________________
> > users mailing list
> > users at gridengine.org
> > https://gridengine.org/mailman/listinfo/users
> 
> 
> _______________________________________________
> users mailing list
> users at gridengine.org
> https://gridengine.org/mailman/listinfo/users




More information about the users mailing list