Merge pull request #87 from adaptivecomputing/4.2-dev

Moved the file for trqauthd unix domain socket file to /tmp.
Add the variable $OFFLOAD_DEVICES for mic jobs. It is populated with the indices of the mic devices that should be used. Also, stop reporting an error message by accident.
Another fix for TRQ-1595. Don't attempt to assign login nodes when the job is submitted, only assign them when the job is run. Attempting to assign on submission is pointless and it was preventing jobs from being submitted when the cray is down.
TRQ-1494. This is the first checkin for this bug. Routing
queues were not getting the jobs queued decremented from
routing queues.
Merge branch '4.2.2' of https://github.com/adaptivecomputing/torque into 4.2.2
TRQ-1389. Make pbs_track able to be compatible with display_job_server_suffix=false. To do this, $NO_SERVER_SUFFIX must be set in the environment before pbs_track is called.
Merge branch '4.2.2' of https://github.com/adaptivecomputing/torque into 4.2.2
Fix some syntax errors for centos 5
Added ifdef __cplusplus
extern "C"
for get_weighted_memory_size and get_memacct_resi
TRQ-1676
Merge pull request #90 from adaptivecomputing/4.2.2

4.2.2
Fix a few more coverity issues.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Two more coverity issues.
TRQ-1638. Attempt to address the slowness on startup for the server. This is intermittent and hard to reproduce, but one scenario that causes it is the accept thread exiting. This patch addresses this by handling more of the transient error conditions.
TRQ-1638. Attempt to address the slowness on startup for the server. This is intermittent and hard to reproduce, but one scenario that causes it is the accept thread exiting. This patch addresses this by handling more of the transient error conditions.
TRQ-1426 Cleaned up and more thoroughly checked the routine against QA's improved test.
TRQ-1426 Cleaned up and more thoroughly checked the routine against QA's improved test.
Fix a crash in how we monitor thread activity. Use pthread cleanup functionality instead of pthread_t, which is no longer valid after a thread has exited. TRQ-1745.
Fix a crash in how we monitor thread activity. Use pthread cleanup functionality instead of pthread_t, which is no longer valid after a thread has exited. TRQ-1745.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev