lsb_addreservation
Makes an advance reservation.Use lsb_addreservation to send a reservation request to mbatchd. If mbatchd grants the reservation, it issues the reservation ID. If mbatchd rejects the request, it issues NULL as the reservation ID.
#include <lsf/lsbatch.h>
int lsb_addreservation (struct addRsvRequest *request, char *rsvId)
Data Structures: Define Statements:
- Parameters:
*request The reservation request *rsvId Reservation ID returned from mbatchd. If the reservation fails, this is NULL. The memory for rsvid is allocated by the caller. Errors:
- Returns:
- int:0
The reservation was successful.int:-1
The reservation failed.Equivalent line commands:
- On failure, lsberrno is set to indicate the error.
Files:
- brsvadd
- none
Date Modified: 9 Sep 2009
Platform Support: support@platform.com
Platform Information Development: doc@platform.com
Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2009 Platform Computing Corporation. All rights reserved.