Check MPI version (#435)


git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6473 dc4e9af1-7f46-4ead-bba6-71afc04862de
Add CFLAGS to configure test


git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6485 dc4e9af1-7f46-4ead-bba6-71afc04862de
Revamp server sync so that (almost always) it avoids retrying and polling.

This is aimed to avoid situations where server has trouble making progress because of continual interruptions.

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6502 dc4e9af1-7f46-4ead-bba6-71afc04862de
Record steal time after steal rather than before

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6503 dc4e9af1-7f46-4ead-bba6-71afc04862de
Improve logging of server sync to aid with debugging

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6506 dc4e9af1-7f46-4ead-bba6-71afc04862de
Fix bug where server backoff function didn't cap number of backoffs when caller ignores return value.  Remove backoff from sync loop to ensure server->server calls are handled as quickly as possible

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6507 dc4e9af1-7f46-4ead-bba6-71afc04862de
Fixes for XLC


git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6510 dc4e9af1-7f46-4ead-bba6-71afc04862de
Work on optimizing steal:

* save a round-trip by including steal details in sync message
* stream work units in chunks so that stealer can process them
* detect when there is an imbalance and rebalance earlier

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6594 dc4e9af1-7f46-4ead-bba6-71afc04862de
Prioritise sync requests in ADLB server

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6597 dc4e9af1-7f46-4ead-bba6-71afc04862de
Fix misuse of buffer given to MPI

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6605 dc4e9af1-7f46-4ead-bba6-71afc04862de
Update batcher to latest ADLB API

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6611 dc4e9af1-7f46-4ead-bba6-71afc04862de
Optimize ADLB: reduce calls to gettimeofday()

MPI_Wtime was called every request, but we don't actually need that precision.
Around 2-3% of server cpu time was spent calling gettimeofday()
This change caches the current time in a variable that is updated every few requests

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6743 dc4e9af1-7f46-4ead-bba6-71afc04862de
Profiling revealed ~2% of cpu time spent checking
parallel tasks even when none present.

This change adds a fast path for when there are no parallel tasks,
and avoids checking all task types unnecessarily.

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6744 dc4e9af1-7f46-4ead-bba6-71afc04862de
Minor output fix


git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6777 dc4e9af1-7f46-4ead-bba6-71afc04862de
Drop unnecessary code


git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6781 dc4e9af1-7f46-4ead-bba6-71afc04862de
Add note


git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6782 dc4e9af1-7f46-4ead-bba6-71afc04862de
Fix regression in parallel tasks; rename some globals
Rationale: 'world' was a misnomer from ADLB/M- it was not MPI_COMM_WORLD


git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6783 dc4e9af1-7f46-4ead-bba6-71afc04862de
Clean up


git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6784 dc4e9af1-7f46-4ead-bba6-71afc04862de
New target distclean


git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6810 dc4e9af1-7f46-4ead-bba6-71afc04862de
Avoid double malloc/double free for work units

git-svn-id: https://svn.mcs.anl.gov/repos/exm/sfw/lb/trunk@6843 dc4e9af1-7f46-4ead-bba6-71afc04862de