Changeset 52 for trunk/pbs_drmaa/submit.c
- Timestamp:
- 01/07/12 21:21:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pbs_drmaa/submit.c
r49 r52 342 342 if( input_path != NULL ) 343 343 script_len += strlen(" <") + strlen(input_path); 344 if (((pbsdrmaa_session_t)self->session)->job_exit_status_file_prefix) 345 script_len += strlen("; echo $? >") + strlen(((pbsdrmaa_session_t)self->session)->job_exit_status_file_prefix) + strlen("/$PBS_JOBID.exitcode"); 344 346 } 345 347 … … 357 359 if( input_path != NULL ) 358 360 s += sprintf( s, " <%s", input_path ); 361 if (((pbsdrmaa_session_t)self->session)->job_exit_status_file_prefix) 362 s += sprintf( s, "; echo $? >%s/$PBS_JOBID.exitcode", ((pbsdrmaa_session_t)self->session)->job_exit_status_file_prefix); 363 359 364 fsd_assert( s == script+script_len ); 360 365 }
Note: See TracChangeset
for help on using the changeset viewer.