Commit to do the rebase
Fix compilation warnings.
Middle code indentation. Didn't conform to SLURM coding style but OK for
a while.
will need to reformat before submitting to the trunk.
1. Fix direct modex counter duplication code
2. Fix status update after collective.