Changeset 25 for trunk/slurm_drmaa/job.c


Ignore:
Timestamp:
09/11/12 20:25:02 (13 years ago)
Author:
mmamonski
Message:

Fixed DRMAA_V_EMAIL handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/slurm_drmaa/job.c

    r23 r25  
    582582                        /* only to one email address message may be send */ 
    583583                        job_desc->mail_user = fsd_strdup(vector[0]); 
     584                        job_desc->mail_type = MAIL_JOB_BEGIN | MAIL_JOB_END |  MAIL_JOB_FAIL; 
    584585                        fsd_log_debug(("# mail_user = %s\n",vector[0])); 
     586                        fsd_log_debug(("# mail_type = %o\n",job_desc->mail_type)); 
    585587                        if( vector[1] != NULL ) 
    586588                        { 
    587                                 fsd_log_error(( "LL only supports one e-mail notification address" )); 
    588                                 fsd_exc_raise_msg(FSD_DRMAA_ERRNO_INVALID_ATTRIBUTE_VALUE,"LL only supports one e-mail notification address"); 
     589                                fsd_log_error(( "SLURM only supports one e-mail notification address" )); 
     590                                fsd_exc_raise_msg(FSD_DRMAA_ERRNO_INVALID_ATTRIBUTE_VALUE,"SLURM only supports one e-mail notification address"); 
    589591                        } 
    590592                } 
Note: See TracChangeset for help on using the changeset viewer.