int GRBabortbatch ( GRBbatch *batch )

This function instructs the Cluster Manager to abort the processing of this batch request, changing its status to ABORTED. Please refer to the Batch Status Codes section for further details.

Return value:

A non-zero return value indicates that a problem occurred while aborting the batch request. Refer to the Error Code table for a list of possible return values. Details on the error can be obtained by calling GRBgeterrormsg.


batch: The batch that will be aborted.

Example usage:

      /* request to abort the batch */
      error = GRBabortbatch(batch);
      if (error) goto QUIT;