release slots from a running resizable job, and cancel pending job resize allocation requests
Use bresize release to explicitly release slots from a running job. When releasing slots from an allocation, a minimum of 1 slot on the first execution host must be retained.
Use bresize cancel to cancel a pending allocation request for the specified job ID. The active pending allocation request is generated by LSF automatically for autoresizable jobs. If job does not have active pending request, the command fails with an error message.
By default, only cluster administrators, queue administrators, root and the job owner are allowed to run bresize to change job allocations.
User group administrators are allowed to run bresize to change the allocation of jobs within their user groups.
Optional. Cancel the active pending resource request when releasing slots from existing allocation. By default, the command only releases slots for jobs with pending requests.
Optional. Specify the name of an executable to be invoked on the first execution host when the job allocation has been modified. This setting only applies to this release request, which overrides any notification command specified in bsub or an application profile. The resize notification command runs under the user account of job.
Cancels the resize notification command at both job-level and application-level. This setting only applies to this request.
<released_host_spec> ::= all | all <exclude_host_list_spec>|<host_list_spec>
<host_list_spec> ::= <host_spec>|<host_list_spec><host_spec>
<exclude_host_list_spec> ::= <exclude_host_spec> | <exclude_host_list_spec> <exclude_host_spec>
<exclude_host_spec> ::= ~<host_spec>
<host_spec> ::= [<positive_integer>*]<host_name>
Specifies all the slots currently being used by the job. If all is used alone, it means release every slot except one slot from the first execution node. all can also be used with a list of hosts to exclude with the tilde (not) operator (~).
Release the number of slots specified by positive_integer on the host specified by host_name. If the number of slots is not specified, all slots on specified host are released.
Specifies hosts to exclude when releasing slots. Slots on the specified hosts are not released. The tilde (not) operator (~) must be used together with all keyword.
bresize release "all ~hostA" 100