...
- Visibility: Public
- Change Control: Stable
- Details: Introduce new job attribute Remove_Files using "R" option for with qsub, which means "remove ouput/error files upon job completion".
- "job completion" means terminated with no errors.
- qsub -R oe job.sh
- The admin can make this behavior as default by using "default_qsub_arguments = -Roe".
- The user has the choice to tell which files has to be deleted. (.e or .o or both)
- This will reflect in qstat -f output as: Remove_Files = oe
The format is string and the valid values are "e" or "o" or both of them.
- The default value is None. (option will be disabled)
- This attribute can be set or read by user, operator, manager.
- If the job has a remove file attribute and the job has succeeded, std_files doesn't has to be copied. In that case, server will not send a stage out request to mom. In this scenario, $PBS_HOME/spool will contain the std_files and they will be removed as part of the cleanup routines.
Interface 3: Warning messages(MOM) will be generated in the following scenarios.
- Visibility: Public
- Change Control: Stable
- Details:
- The following warning message will be logged if direct write was requested but the path(s) are not usecp-able from the primary execution host.
- "Direct write is requested for job:$job_id but the destination: $final_destination_directory is not usecp-able from $mom_hostname" (DEBUG3)
- Same message will be logged into job's stderr file as well.
The following warning message will be logged if Mom had a problem and wants to have the post job processing restarted, and direct_write is enabled.
"Skipping copy of directly written $which file on rerun of job $jobid" (DEBUG4)
- The following warning will come if the mom comes to a conclusion that the stdout/err files might have written directly and thereby it is not available in the spool area.
- "Skipping directly written/absent spool file$file_path" (DEBUG4)
...