[torqueusers] submit filter

David Jackson jacksond at clusterresources.com
Mon Apr 4 19:15:12 MDT 2005


Chris,

  Thanks for the patch!  It has been rolled into the latest pre-patch 3
snapshot.

Dave

On Tue, 2005-04-05 at 08:52 +1000, Chris Samuel wrote:
> +    if (WEXITSTATUS(filter_retval) ==
> SUBMIT_FILTER_ADMIN_REJECT_CODE)
> +      {
> +      fprintf( stderr, "qsub: Your job has been administratively
> rejected by the queueing system.\n");
> +      fprintf( stderr, "qsub: There may be a more detailed
> explanation prior to this notice.\n");
> +
> +      unlink(tmp_name2);
> +      unlink(tmp_name3);
> +
> +      return(3);
> +      }
> +
> +    if (WEXITSTATUS(filter_retval))
> +      {
> +      fprintf( stderr, "qsub: submit filter returned an error code,
> aborting job submission.\n");
> +
> +      unlink(tmp_name2);
> +      unlink(tmp_name3);
> +
> +      return(3);
> +      }
> +



More information about the torqueusers mailing list