oob/tcp: fix a race condition

Mimick the btl/tcp protocol to solve the race condition that happens
when two peers try to connect to each other at the same time

cmr=v1.8.4:reviewer=rhc

This commit was SVN r32799.
(cherry picked from commit 9661e4537fc6d932c63e4680b23cfd86a3f64035)
OSHMEM: sshmem verbs: allocate memory at fixed address

Use experimental verbs to allocate memory at fixed base
virtual address.

verbs will disqualify itself if shared_mr is disabled
or not supported and it is impossible to allocate memory
starting at fixed base virtual address.

verbs contig pages allocator did not guarantee fixed va, now it does.
(cherry picked from commit fd77ebd4525e9e0c1a3ab1c4966bf31aa45251b4)

Apply Jeff`s comments

Update with Jeff commits
memchecker: per RFC, use calloc for OBJ_NEW

With --enable-memchecker builds, use calloc(3) for OBJ_NEW instead of
malloc(3).  This cuts down on a lot of valgrind/memory checker false
positive output.

Also make a minor change in the valgrind configure.m4; have it assign
0xf to a char.  The prior assignment (of 0xff) was warning about an
overflow.  This didn't really matter, but we might as well make the
test not have a gratuitious warning in it.

(cherry picked from commit a422d893b8e63347deb71bbaaa14ca25ddb1f192)
coll/sm: fix minor memory leak
this is a backport of commit 5d44a30111e730c1a6a9aef19548b87e704316de in master
Fix iallgather problem with intercommunicators

A problem was found with the libnbc MPI_Iallgather
routine when using intercommunicators.  Special
thanks to Takahiro Kawashima(Fujitsu) for the patch
and a test case.  Verified master fails without the
patch and the test passes with the patch applied.

fixes #219
MTL/MXM: disable "bulk_connect" by default.
(cherry picked from commit a215a4831dfae9dd0a3fee7b31ee784d4e5394a4)
OSHMEM: sshmem verbs: workaround shared_mr procfs bug

dereg shared_mr before doing dereg on its mr.
(cherry picked from commit cd67642183954d5dad560d907ded422d47ee50d4)
MTL MXM: fix check-help-string.pl errors and warnings.

This commit was SVN r32533.
Remove whitespace
tools: fix cli args parsing

No need to "shift" if argument does not expect parameter on the command line.
(cherry picked from commit 6372ac926c6a6622222915ac4f9301021f731c35)
Merge pull request #23 from rhc54/v1.8

tools: fix cli args parsing
OSHMEM: fix check-help-string.pl errors and warnings.

This commit was SVN r32511.
(cherry picked from commit e974bec57e7f9ff7fd9705291f6d11a2ecc69308)
MXM: update min required version for mxm as 2.1+

This commit was SVN r32193.
(cherry picked from commit 1b51e472ac88061572bdb4fec7528b5ad3654f49)
contrib: added the check-help-strings.pl file.

(from master - commits: 98ef295c, 7a3adcf0, c59ca9c7, 82b49c2b)
usnic: fix minor typo

Essentially cherry-picked from open-mpi/ompi@51027a6

Reviewed by Reese Faucette.
oshmem mmap: new mca parameters were introduced - sshmem_mmap_anonymous, sshmem_mmap_fixed and sshmem_base_backing_file_dir - for runtime mmap management.

(ompi commits: ce4ee2aa8d960eb72292f5bb64108e5a85796e1d, 3e7002e8aad2a2fe0835c67b9714dceef3c4b31b, b2a93943dc5cc7602cb8ed83e65524452beb82c7)
var: fix segv in deprecated file var show_help()

Ensure to include the new variable filename in the show_help() output
when we load a deprecated MCA param from a file.

Fixes #236

(cherry picked from commit dc66e197cc48396002d0dcf6f5f04dc6b581d7fd)
Merge pull request #33 from jsquyres/topic/var-show-help-segv-fix

var: fix segv in deprecated file var show_help()

RM-approved
OSHMEM: spml ikrit: complete puts b4 memheap destruction

Force completion of all puts before deregestering memheap/bss memory

Fixes a possible race condition where put request completion callback
is called when request context is already cleared.

Change-Id: I7ed887ec0b03a66ce5d3076a7edcf64061f57370
(cherry picked from commit 5af4d02bd3b601a18f6fb03b1837fceb6534261e)
Update the orterun/mpirun manpage. Corresponds to master commits:

open-mpi/ompi@91e9686
open-mpi/ompi@f9d620e

@jsquyres please review