Knowledge Center Contents Previous Next |
lsb_pendreason()
Explains why a job is pending.
DESCRIPTION
Use lsb_pendreason() to determine why a job is pending. Each pending reason is associated with one or more hosts.
SYNOPSIS
#include <lsf/lsbatch.h> char *lsb_pendreason (int numReasons, int *rsTb, struct jobInfoHead *jInfoH, struct loadIndexLog *ld, int clusterId) struct jobInfoHead{ int numJobs; LS_LONG_INT *jobIds; int numHosts; char **hostNames; int numClusters; char **clusterNames; int *numRemoteHosts; char ***remoteHosts; }; struct loadIndexLog { int nIdx; char **name; };PARAMETERS
numReasons
The number of reasons in the rsTb reason table.
rsTb
The reason table. Each entry in the table contains one of the following pending reasons:
PEND_JOB_NEW
A new job is waiting to be scheduled.
PEND_JOB_START_TIME
The job is held until its specified start time.
PEND_JOB_DEPEND
The job is waiting for its dependency condition(s) to be satisfied.
PEND_JOB_DEP_INVALID
The dependency condition is invalid or never satisfied.
PEND_JOB_MIG
The migrating job is waiting to be rescheduled.
PEND_JOB_PRE_EXEC
The job's pre-exec command exited with non-zero status.
PEND_JOB_NO_FILE
Unable to access the job file.
PEND_JOB_ENV
Unable to set the job's environment variables.
PEND_JOB_PATHS
Unable to determine the job's home or working directories.
PEND_JOB_OPEN_FILES
Unable to open the job's input and output files.
PEND_JOB_EXEC_INIT
Job execution initialization failed.
PEND_JOB_RESTART_FILE
Unable to copy restarting job's checkpoint files.
PEND_JOB_DELAY_SCHED
Scheduling of the job is delayed.
PEND_JOB_SWITCH
Waiting for the re-scheduling of the job after switching queues.
PEND_JOB_DEP_REJECT
An event is rejected by eeventd due to a syntax error.
PEND_JOB_JS_DISABLED
A JobScheduler feature is not enabled.
PEND_JOB_NO_PASSWD
Failed to get a user password.
PEND_JOB_LOGON_FAIL
The job is pending due to logon failure.
PEND_JOB_MODIFY
The job is waiting to be re-scheduled after its parameters have been changed.
PEND_JOB_TIME_INVALID
The job time event is invalid.
PEND_TIME_EXPIRED
The job time event has expired.
PEND_JOB_REQUEUED
The job has been requeued..
PEND_WAIT_NEXT
Waiting for the next time event.
PEND_JGRP_HOLD
The parent group is held.
PEND_JGRP_INACT
The parent group is inactive.
PEND_JGRP_WAIT
The parent group is waiting for scheduling.
PEND_JOB_RCLUS_UNREACH
The remote cluster(s) are unreachable.
PEND_JOB_QUE_REJECT
SNDJOBS_TO queue rejected by remote cluster(s).
PEND_JOB_RSCHED_START
Waiting for remote scheduling session.
PEND_JOB_RSCHED_ALLOC
Waiting for allocation replies from remote cluster(s).
PEND_JOB_FORWARDED
The job is forwarded to a remote cluster.
PEND_JOB_RMT_ZOMBIE
The job running remotely is in a zombie state.
PEND_JOB_ENFUGRP
The job's enforced user group share account is not selected.
PEND_SYS_UNABLE
The system is unable to schedule the job.
PEND_JGRP_RELEASE
The parent group has just been released.
PEND_HAS_RUN
The job has run since the parent group was active.
PEND_JOB_ARRAY_JLIMIT
The job has reached its running element limit.
PEND_CHKPNT_DIR
The checkpoint directory is invalid.
PEND_CHUNK_FAIL
The first job in the chunk failed (all other jobs in the chunk are set to PEND).
PEND_JOB_SLA_MET
Optimum number of running jobs for SLA has been reached.
PEND_JOB_APP_NOEXIST
Specified application profile does not exist
PEND_APP_PROCLIMIT
Job no longer satisfies application profile PROCLIMIT configuration
PEND_EGO_NO_HOSTS
No hosts for the job from EGO.
PEND_JGRP_JLIMIT
PEND_PREEXEC_LIMIT
PEND_REQUEUE_LIMIT
PEND_BAD_RESREQ
PEND_RSV_INACTIVE
PEND_WAITING_RESUME
PEND_QUE_INACT
The queue is inactivated by the administrator.
PEND_QUE_WINDOW
The queue is inactivated by its time windows.
PEND_QUE_JOB_LIMIT
The queue has reached its job slot limit.
PEND_QUE_USR_JLIMIT
The user has reached the per-user job slot limit of the queue.
PEND_QUE_USR_PJLIMIT
Not enough per-user job slots of the queue for the parallel job.
PEND_QUE_PRE_FAIL
The queue's pre-exec command exited with non-zero status.
PEND_NQS_RETRY
The job was not accepted by the NQS host. Attempt again later.
PEND_NQS_REASONS
Unable to send the job to an NQS host.
PEND_NQS_FUN_OFF
Unable to contact NQS host.
PEND_SYS_NOT_READY
The system is not ready for scheduling after reconfiguration.
PEND_SBD_JOB_REQUEUE
The requeued job is waiting for rescheduling.
PEND_JOB_SPREAD_TASK
Not enough hosts to meet the job's spanning requirement.
PEND_QUE_SPREAD_TASK
Not enough hosts to meet the queue's spanning requirement.
PEND_QUE_PJOB_LIMIT
The queue has not enough job slots for the parallel job.
PEND_QUE_WINDOW_WILL_CLOSE
The job will not finish before queue's run window is closed.
PEND_QUE_PROCLIMIT
The job no longer satisfies queue PROCLIMIT configuration.
PEND_SBD_PLUGIN
The job requeued due to plug-in failure.
PEND_WAIT_SIGN_LEASE
Waiting for lease signing.
PEND_USER_JOB_LIMIT
The job slot limit is reached.
PEND_UGRP_JOB_LIMIT
A user group has reached its job slot limit.
PEND_USER_PJOB_LIMIT
The job slot limit for the parallel job is reached.
PEND_UGRP_PJOB_LIMIT
A user group has reached its job slot limit for the parallel job.
PEND_USER_RESUME
Waiting for scheduling after resumed by user.
PEND_USER_STOP
The job was suspended by the user while pending.
PEND_NO_MAPPING
Unable to determine user account for execution.
PEND_RMT_PERMISSION
The user has no permission to run the job on remote host/cluster.
PEND_ADMIN_STOP
The job was suspended by LSF admin or root while pending.
PEND_MLS_INVALID
The requested label is not valid.
PEND_MLS_CLEARANCE
The requested label is above user allowed range.
PEND_MLS_RHOST
The requested label rejected by /etc/rhost.conf.
PEND_MLS_DOMINATE
The requested label does not dominate current label.
PEND_MLS_FATAL
The requested label problem.
PEND_HOST_RES_REQ
The job's resource requirements not satisfied.
PEND_HOST_NONEXCLUSIVE
The job's requirement for exclusive execution not satisfied.
PEND_HOST_JOB_SSUSP
Higher or equal priority jobs already suspended by system.
PEND_HOST_PART_PRIO
The job failed to compete with other jobs on host partition.
PEND_SBD_GETPID
Unable to get the PID of the restarting job.
PEND_SBD_LOCK
Unable to lock the host for exclusively executing the job.
PEND_SBD_ZOMBIE
Cleaning up zombie job.
PEND_SBD_ROOT
Can't run jobs submitted by root. The job is rejected by the sbatchd.
PEND_HOST_WIN_WILL_CLOSE
The job will not finish on the host before queue's run window closes.
PEND_HOST_MISS_DEADLINE
The job will not finish on the host before job's termination deadline.
PEND_FIRST_HOST_INELIGIBLE
The specified first execution host is not eligible for this job at this time.
PEND_HOST_DISABLED
The host is closed by the LSF administrator.
PEND_HOST_LOCKED
The host is locked by the LSF administrator.
PEND_HOST_LESS_SLOTS
Not enough job slots for the parallel job.
PEND_HOST_WINDOW
The dispatch windows are closed.
PEND_HOST_JOB_LIMIT
The job slot limit reached.
PEND_QUE_PROC_JLIMIT
The queue's per-CPU job slot limit is reached.
PEND_QUE_HOST_JLIMIT
The queue's per-host job slot limit is reached.
PEND_USER_PROC_JLIMIT
The user's per-CPU job slot limit is reached.
PEND_HOST_USR_JLIMIT
The host's per-user job slot limit is reached.
PEND_HOST_QUE_MEMB
Not a member of the queue
PEND_HOST_USR_SPEC
Not a user specified host.
PEND_HOST_PART_USER
The user has no access to the host partition.
PEND_HOST_NO_USER
There is no such user account.
PEND_HOST_ACCPT_ONE
Just started a job recently.
PEND_LOAD_UNAVAIL
Load information unavailable.
PEND_HOST_NO_LIM
The LIM is unreachable by the sbatchd.
PEND_HOST_UNLICENSED
The host does not have a valid LSF software license.
PEND_HOST_QUE_RESREQ
The queue's resource requirements are not satisfied.
PEND_HOST_SCHED_TYPE
The submission host type is not the same.
PEND_JOB_NO_SPAN
There are not enough processors to meet the job's spanning requirement. The job level locality is unsatisfied.
PEND_QUE_NO_SPAN
There are not enough processors to meet the queue's spanning requirement. The queue level locality is unsatisfied.
PEND_HOST_EXCLUSIVE
An exclusive job is running.
PEND_HOST_JS_DISABLED
Job Scheduler is disabled on the host. It is not licensed to accept repetitive jobs.
PEND_UGRP_PROC_JLIMIT
The user group's per-CPU job slot limit is reached.
PEND_BAD_HOST
Incorrect host, group or cluster name.
PEND_QUEUE_HOST
The host is not used by the queue.
PEND_HOST_LOCKED_MASTER
The host is locked by the master LIM.
PEND_HOST_LESS_RSVSLOTS
Not enough reserved job slots at this time for specified reservation ID
PEND_HOST_LESS_DURATION
Not enough slots or resources for whole duration of the job
PEND_HOST_NO_RSVID
Specified reservation has expired or has been deleted
PEND_HOST_LEASE_INACTIVE
The host is closed due to lease is inactive
PEND_HOST_ADRSV_ACTIVE
Not enough job slot(s) while advance reservation is active
PEND_QUE_RSVID_NOMATCH
This queue is not configured to send jobs to the cluster specified in the advance reservation
PEND_HOST_GENERAL
Individual host based reasons
PEND_HOST_RSV
Host does not belong to the specified advance reservation.
PEND_SBD_UNREACH
Unable to reach the sbatchd.
PEND_SBD_JOB_QUOTA
The number of jobs exceeds quota.
PEND_JOB_START_FAIL
The job failed in talking to the server to start the job.
PEND_JOB_START_UNKNWN
Failed in receiving the reply from the server when starting the job.
PEND_SBD_NO_MEM
Unable to allocate memory to run job. There is no memory on the sbatchd.
PEND_SBD_NO_PROCESS
Unable to fork process to run the job. There are no more processes on the sbatchd.
PEND_SBD_SOCKETPAIR
Unable to communicate with the job process.
PEND_SBD_JOB_ACCEPT
The slave batch server failed to accept the job.
PEND_LEASE_JOB_REMOTE_DISPATCH
Lease job remote dispatch failed.
PEND_JOB_RESTART_FAIL
Failed to restart job from last checkpoint.
PEND_HOST_LOAD
The load threshold is reached.
PEND_HOST_QUE_RUSAGE
The queue's requirements for resource reservation are not satisfied.
PEND_HOST_JOB_RUSAGE
The job's requirements for resource reservation are not satisfied.
PEND_RMT_JOB_FORGOTTEN
Remote job not recongized by remote cluster, waiting for rescheduling
PEND_RMT_IMPT_JOBBKLG
Remote import limit reached, waiting for rescheduling
PEND_RMT_MAX_RSCHED_TIME
Remote schedule time reached, waiting for rescheduling
PEND_RMT_MAX_PREEXEC_RETRY
Remote pre-exec retry limit reached, waiting for rescheduling
PEND_RMT_QUEUE_CLOSED
Remote queue is closed
PEND_RMT_QUEUE_INACTIVE
Remote queue is inactive
PEND_RMT_QUEUE_CONGESTED
Remote queue is congested
PEND_RMT_QUEUE_DISCONNECT
Remote queue is disconnected
PEND_RMT_QUEUE_NOPERMISSION
Remote queue is not configured to accept jobs from this cluster
PEND_RMT_BAD_TIME
Job's termination time exceeds the job creation time on remote cluster
PEND_RMT_PERMISSIONS
Permission denied on the execution cluster
PEND_RMT_PROC_NUM
Job's required on number of processors cannot be satisfied on the remote cluster
PEND_RMT_QUEUE_USE
User is not defined in the fairshare policy of the remote queue
PEND_RMT_NO_INTERACTIVE
Remote queue is a non-interactive queue
PEND_RMT_ONLY_INTERACTIVE
Remote queue is an interactive-only queue
PEND_RMT_PROC_LESS
Job's required maximum number of processors is less then the minimum number of processors defined on the remote queue
PEND_RMT_OVER_LIMIT
Job's required resource limit exceeds that of the remote queue
PEND_RMT_BAD_RESREQ
Job's resource requirements do not match with those of the remote queue
PEND_RMT_CREATE_JOB
Job failed to be created on the remote cluster
PEND_RMT_RERUN
Job is requeued for rerun on the execution cluster
PEND_RMT_EXIT_REQUEUE
Job is requeued on the execution cluster due to exit value
PEND_RMT_REQUEUE
Job was killed and requeued on the execution cluster
PEND_RMT_JOB_FORWARDING
Job was forwarded to remote cluster
PEND_RMT_QUEUE_INVALID
Remote import queue defined for the job in lsb.queues is either not ready or not valid
PEND_RMT_QUEUE_NO_EXCLUSIVE
Remote queue is a non-exclusive queue
PEND_RMT_UGROUP_MEMBER
Job was rejected; submitter does not belong to the specified User Group in the remote cluster or the user group does not exist in the remote cluster
PEND_RMT_INTERACTIVE_RERUN
Remote queue is rerunnable: can not accept interactive jobs
PEND_RMT_JOB_START_FAIL
Remote cluster failed in talking to server to start the job
PEND_RMT_FORWARD_FAIL_UGROUP_MEMBER
Job was rejected; submitter does not belong to the specified User Group in the remote cluster or the user group does not exist in the remote cluster
PEND_RMT_HOST_NO_RSVID
Specified remote reservation has expired or has been deleted
PEND_RMT_APP_NULL
Application profile could not be found in the remote cluster.
PEND_RMT_BAD_RUNLIMIT
PEND_RMT_OVER_QUEUE_LIMIT
PEND_GENERAL_LIMIT_USER
PEND_GENERAL_LIMIT_QUEUE
PEND_GENERAL_LIMIT_PROJECT
PEND_GENERAL_LIMIT_CLUSTER
PEND_GENERAL_LIMIT_HOST
PEND_GENERAL_LIMIT_JOBS_USER
PEND_GENERAL_LIMIT_JOBS_QUEUE
PEND_GENERAL_LIMIT_JOBS_PROJECT
PEND_GENERAL_LIMIT_JOBS_CLUSTER
PEND_GENERAL_LIMIT_JOBS_HOST
PEND_RMS_PLUGIN_INTERNAL
RMS scheduler plugin internal error.
PEND_RMS_PLUGIN_RLA_COMM
RLA communication failure.
PEND_RMS_NOT_AVAILABLE
RMS is not available.
PEND_RMS_FAIL_TOPOLOGY
Cannot satisfy the topology requirement.
PEND_RMS_FAIL_ALLOC
Cannot allocate an RMS resource.
PEND_RMS_SPECIAL_NO_PREEMPT_BACKFILL
RMS job with special topology requirements cannot be preemptive or backfill job.
PEND_RMS_SPECIAL_NO_RESERVE
RMS job with special topology requirements cannot reserve slots.
PEND_RMS_RLA_INTERNAL
RLA internal error.
PEND_RMS_NO_SLOTS_SPECIAL
Not enough slots for job. Job with RMS topology requirements cannot reserve slots, be preemptive, or be a backfill job.
PEND_RMS_RLA_NO_SUCH_USER
User account does not exist on the execution host.
PEND_RMS_RLA_NO_SUCH_HOST
Unknown host and/or partition unavailable.
PEND_RMS_CHUNKJOB
Cannot schedule chunk jobs to RMS hosts.
PEND_RLA_PROTOMISMATCH
RLA protocol mismatch.
PEND_RMS_BAD_TOPOLOGY
Contradictory topology requirements specified.
PEND_RMS_RESREQ_MCONT
Not enough slots to satisfy manditory contiguous requirement.
PEND_RMS_RESREQ_PTILE
Not enough slots to satisfy RMS ptile requirement.
PEND_RMS_RESREQ_NODES
Not enough slots to satisfy RMS nodes requirement.
PEND_RMS_RESREQ_NODES
PEND_RMS_RESREQ_BASE
PEND_RMS_RESREQ_RAILS
PEND_RMS_RESREQ_RAILMASK
PEND_MAUI_UNREACH
Unable to communicate with external Maui scheduler.
PEND_MAUI_FORWARD
Job is pending at external Maui scheduler.
PEND_MAUI_REASON
External Maui scheduler sets detail reason.
PEND_CPUSET_ATTACH
CPUSET attach failed. Job requeued.
PEND_CPUSET_NOT_CPUSETHOST
Not a cpuset host
PEND_CPUSET_TOPD_INIT
Topd initialization failed
PEND_CPUSET_TOPD_TIME_OUT
Topd communication timeout
PEND_CPUSET_TOPD_FAIL_ALLOC
Cannot satisfy the cpuset allocation requirement
PEND_CPUSET_TOPD_BAD_REQUEST
Bad cpuset allocation request
PEND_CPUSET_TOPD_INTERNAL
Topd internal error
PEND_CPUSET_TOPD_SYSAPI_ERR
Cpuset system API failure
PEND_CPUSET_TOPD_NOSUCH_NAME
Specified static cpuset does not exist on the host
PEND_CPUSET_TOPD_JOB_EXIST
Cpuset is already allocated for this job
PEND_CPUSET_TOPD_NO_MEMORY
Topd malloc failure
PEND_CPUSET_TOPD_INVALID_USER
User account does not exist on the cpuset host
PEND_CPUSET_TOPD_PERM_DENY
User does not have permission to run job within cpuset
PEND_CPUSET_TOPD_UNREACH
Topd is not available
PEND_CPUSET_TOPD_COMM_ERR
Topd communication failure
PEND_CPUSET_PLUGIN_INTERNAL
CPUSET Scheduler Plugin internal error.
PEND_CPUSET_CHUNKJOB
Cannot schedule chunk jobs to cpuset hosts
PEND_CPUSET_CPULIST
Cannot satisfy CPUSET CPU_LIST requirement
PEND_CPUSET_MAXRADIUS
Cannot satisfy CPUSET MAX_RADIUS requirement
PEND_NODE_ALLOC_FAIL
Node allocation failed
PEND_RMSRID_UNAVAIL
RMS resource is not available.
PEND_NO_FREE_CPUS
Not enough free cpus to satisfy job requirements
PEND_TOPOLOGY_UNKNOWN
Topology unknown or recently changed
PEND_BAD_TOPOLOGY
Contradictory topology requirement specified
PEND_RLA_COMM
RLA communications failure
PEND_RLA_NO_SUCH_USER
User account does not exist on execution host
PEND_RLA_INTERNAL
RLA internal error
PEND_RLA_NO_SUCH_HOST
Unknown host and/or partition unavailable
PEND_RESREQ_TOOFEWSLOTS
Too few slots for specified topology requirement
PEND_PSET_PLUGIN_INTERNAL
PSET scheduler plugin internal error
PEND_PSET_RESREQ_PTILE
Cannot satisfy PSET ptile requirement
PEND_PSET_RESREQ_CELLS
Cannot satisfy PSET cells requirement
PEND_PSET_CHUNKJOB
Cannot schedule chunk jobs to PSET hosts
PEND_PSET_NOTSUPPORT
Host does not support processor set functionality
PEND_PSET_BIND_FAIL
PSET bind failed. Job requeued
PEND_PSET_RESREQ_CELLLIST
Cannot satisfy PSET CELL_LIST requirement
PEND_SLURM_PLUGIN_INTERNAL
SLURM scheduler plugin internal error
PEND_SLURM_RESREQ_NODES
Not enough resource to satisfy SLURM nodes requirment
PEND_SLURM_RESREQ_NODE_ATTR
Not enough resource to satisfy SLURM node attributes requirment.
PEND_SLURM_RESREQ_EXCLUDE
Not enough resource to satisfy SLURM exclude requirment.
PEND_SLURM_RESREQ_NODELIST
Not enough resource to satisfy SLURM nodelist requirment.
PEND_SLURM_RESREQ_CONTIGUOUS
Not enough resource to satisfy SLURM contiguous requirment.
PEND_SLURM_ALLOC_UNAVAIL
SLURM allocation is not available. Job requeued.
PEND_SLURM_RESREQ_BAD_CONSTRAINT
Invalid grammar in SLURM constraints option, job will never run.
PEND_CRAYX1_SSP
Not enough SSPs for job.
PEND_CRAYX1_MSP
Not enough MSPs for job.
PEND_CRAYX1_PASS_LIMIT
Unable to pass job limit information to psched.
PEND_CRAYXT3_ASSIGN_FAIL
Cannot create or assign a partition by CPA.
PEND_BLUEGENE_PLUGIN_INTERNAL
BG/L: Scheduler plug-in internal error.
PEND_JOB_APP_NOEXIST
Specified application profile does not exist.
PEND_BLUEGENE_ALLOC_UNAVAIL
BG/L: Allocation is not available. Job requeued.
PEND_BLUEGENE_NOFREEMIDPLANES
BG/L: No free base partitions available for a full block allocation.
PEND_BLUEGENE_NOFREEQUARTERS
BG/L: No free quarters available for a small block allocation.
PEND_BLUEGENE_NOFREENODECARDS
BG/L: No free node cards available for a small block allocation.
PEND_PS_PLUGIN_INTERNAL
Host does not have enough slots for this SLA job.
PEND_PS_MBD_SYNC
EGO SLA: Failed to synchronize resource with MBD.
PEND_CUSTOMER_MIN
Customized pending reason number between min and max.
PEND_CUSTOMER_MAX
PEND_MAX_REASONS
PEND_RESIZE_FIRSTHOSTUNAVAIL
First execution host unavailable.
PEND_RESIZE_MASTERSUSP
Master host is not in the RUN state.
PEND_RESIZE_MASTER_SAME
The host is not same as for master.
PEND_RESIZE_SPAN_PTILE
The host is already used by master.
PEND_RESIZE_SPAN_HOSTS
The job can only use first host.
PEND_RESIZE_LEASE_HOST
The job cannot get slots on remote hosts.
PEND_COMPOUND_RESREQ_OLD_LEASE_HOST
The job cannot get slots on pre-7Update5 remote hosts.
PEND_COMPOUND_RESREQ_TOPLIB_HOST
Hosts using LSF HPC system integrations do not support compound resource requirements.
SUSP_USER_REASON
SUSP_USER_RESUME
SUSP_USER_STOP
SUSP_QUEUE_REASON
SUSP_QUEUE_WINDOW
SUSP_RESCHED_PREEMPT
SUSP_HOST_LOCK
SUSP_LOAD_REASON
SUSP_MBD_PREEMPT
SUSP_SBD_PREEMPT
SUSP_QUE_STOP_COND
SUSP_QUE_RESUME_COND
SUSP_PG_IT
SUSP_REASON_RESET
SUSP_LOAD_UNAVAIL
SUSP_ADMIN_STOP
SUSP_RES_RESERVE
SUSP_MBD_LOCK
SUSP_RES_LIMIT
SUB_REASON_RUNLIMIT
SUB_REASON_DEADLINE
SUB_REASON_PROCESSLIMIT
SUB_REASON_CPULIMIT
SUB_REASON_MEMLIMIT
SUB_REASON_THREADLIMIT
SUB_REASON_SWAPLIMIT
SUSP_SBD_STARTUP
SUSP_HOST_LOCK_MASTER
SUSP_HOST_RSVACTIVE
SUSP_DETAILED_SUBREASON
SUSP_GLB_LICENSE_PREEMPT
SUSP_CRAYX1_POSTED
SUB_REASON_CRAYX1_RESTART
SUB_REASON_CRAYX1_DEPTH
SUB_REASON_CRAYX1_GID
SUB_REASON_CRAYX1_GASID
SUB_REASON_CRAYX1_HARDLABEL
SUB_REASON_CRAYX1_LIMIT
SUB_REASON_CRAYX1_MEMORY
SUB_REASON_CRAYX1_SOFTLABEL
SUB_REASON_CRAYX1_SIZE
SUB_REASON_CRAYX1_TIME
SUB_REASON_CRAYX1_UID
SUB_REASON_CRAYX1_WIDTH
SUSP_ADVRSV_EXPIRED
PEND_HOST_EXCLUSIVE_RESERVE
Exclusive job reserves slots on host.
PEND_RMT_BAD_RUNLIMIT
Job's required RUNLIMIT exceeds RUNTIME * JOB_RUNLIMIT_RATIO of the remote cluster
PEND_RMT_OVER_QUEUE_LIMIT
Job's required RUNTIME exceeds the hard runtime limit in the remote queue
PEND_JGRP_JLIMIT
The specified job group has reached its job limit
PEND_RMS_RESREQ_RAILS
PEND_RMS_RESREQ_RAILMASK
PEND_RMS_RESREQ_BASE
jInfoH
jInfoH contains job information.
numJobs
The number of jobs in the connection
jobIds
An array of job identification numbers in the conection
numHosts
The number of hosts in the connection
hostNames
An array of host names in the connection
ld
From lsb_suspreason, when reasons is SUSP_LOAD_REASON, ld is used to determine the name of any external load indices. ld uses the most recent load index log in the lsb.events file.
The loadIndexLog structure contains the following fields:
nIdx
Number of load indices
names
Names of load indices
clusterId
MultiCluster cluster ID. If clusterId is greater than or equal to 0, the job is a pending remote job, and lsb_pendreason checks for host_name@cluster_name. If host name is needed, it should be found in jInfoH->remoteHosts. If the remote host name is not available, the constant string remoteHost is used.
RETURN VALUES
character:reasons
The function is successful. It returns a reason why the job is pending.
character:NULL
The function fails. The reason code is bad.
ERRORS
If no PEND reason is found, the function fails and lsberrno is set to indicate the error.
SEE ALSO
Related APIs:
lsb_geteventrec() - Returns an event record from a log files
Equivalent line command
bjobs -p
Files:
${LSF_ENVDIR-/etc}/lsf.conf
Platform Computing Inc.
www.platform.com |
Knowledge Center Contents Previous Next |