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.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Merged fix from the 4.1-dev branch for trq-1763 - pbs_mom hangs.
AC-4813. Add the ability to get qstat -f output for only one user by specifying qstat -f -u <username>.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Add apbasil logging for failed apbasil commands in all instances. If the command is successful, log what it was at level 3 or greater. TRQ-1612.
TRQ-1778. The message about why a job was killed was missing from the job's stderr output, put it back.
TRQ-1781. When processing an error on an abort or kill job request as mother superior, don't log a message about every node in the job. Simply log whether or not the job is ready to exit.
Changed qstat -r, qstat -a and qstat -R to update Elap Time
in real time and not wait for mom updates. TRQ-1575
TRQ-1053 Fixed an issue with multi-moms leaving jobs on the system.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Merge from the 4.1-dev branch for TRQ-1786.
Made it so jobs named from another server can run
on a new server if the old host name is an alias
in the /etc/hosts file. This is handy for upgrading
one system to a new host.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Fix for TRQ-1748: Submitting with Submitting with "-v", "-V" and "-t" option does not export MOAB_JOBARRAYINDEX into the job's environment in versions of MOAB(7.0.3 through 7.1).
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Fixed a compile error with --enable-nvidia-gpu.
cc1plus: warnings being treated as errors
nvidia.c: In function ‘int check_nvidia_setup()’:
nvidia.c:487: error: deprecated conversion from string constant to ‘char*’
make[3]: *** [nvidia.o] Error 1
Did a typecast to char * for the constant string. TRQ-1793
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Fixed unit test.
Added unit test.