Fix for trq-1739: cannot compile with BLCR enabled.
Merge branch '4.2.2' of https://github.com/adaptivecomputing/torque into 4.2.2
Fixed the version number.
TRQ-1627 Check before locking job to make sure its not already locked.
TRQ-1751. Add some defensive programming around recovering bad job files. In this case, protect against jobs that claim to be running and have no exec host list. Place a system hold on such jobs and allow admins to investigate.
Merge branch '4.2.2' of https://github.com/adaptivecomputing/torque into 4.2.2
Decided to remove TCP_KEEPIDLE and SO_KEEPALIVE. The key to keeping
Moab from reporting torque as down requires the tcp_timeout
in TORQUE to be greater than the Moab scheduling iteration. TRQ-1689
Fixed a race condition when moving jobs from a routing
queue to an execution queue when max queuable or
max user queuable values are set. TRQ-1494
Two problems found at NCI - we called a function that used the full pbs timeout in a retry loop; instead the function that is retried now waits for timeout / number of retries so that the moms can't get jammed for hours. Also, make sure that DIS_reply_read() isn't called infinitely, even on retry-able errors. Add a max and make sure errno is cleared before calling.
Merge branch '4.2.2' of https://github.com/adaptivecomputing/torque into 4.2.2
TRQ-1660. nppn wasn't being passed to alps reservations because a parameter was being mixed up in the alps request. mppwidth and use_nppn were getting switched, so things weren't working.
Added a check to contact MOM nodes if they have not contacted the server
in a timely manner. The new function check_node connects to the
absent mom on the mom port 15002. If the connection succeeds we
do not mark the node down. TRQ-1761
TRQ-1738. Fix an error in counting job states for queues. Previously, the completed jobs got their own field, a duplicate of the array of all job states. Remove the extra field and just use the array, which is more robustly developed.
Merge branch '4.2.2' of https://github.com/adaptivecomputing/torque into 4.2.2
TRQ-1764. Fix a crash in the code for re-sending job obits. Instead of saving pointers and never updating the structure, we're going to save job ids and use those to retrieve the pointers. This protects against the job being otherwise freed.
Merge branch '4.2.2' of https://github.com/adaptivecomputing/torque into 4.2.2
TRQ--1734 Not checking for NULLs causing a crash.
Fixed broken unit tests. Also made it so we cannot
decrement user queued below 0
Merge branch '4.2.2' of https://github.com/adaptivecomputing/torque into 4.2.2
Fix some inefficiencies in the code that processes and stores node ip addresses. It used to be that an insert was an N^N algorithm, now it is a log(N) algorithm as it should be with an AVL tree. Internally, this dropped our start up time on 4000 nodes (multimom nodes) from > 45 minutes to ~5 minutes.