configury: remove config/ompi_config_solaris_threads.m4 (dead code)
OSHMEM: fixes bug in shmem_lock

Lock server pe computation was incorrect in cases when:

lock virtual address is signed long. In this case negative pe
value was returned.

In case when lock has different virtual adresses on different pes.
It can happen when memheap or static segment have different base
addresses. Use offset instead of absolute virtual address to
compute server pe

Fixed by @alex-mikheev, reviewed by @miked-mellanox
(cherry picked from commit 067fa05209f0fac59cbf3050fbfea34f8f490ab8)
OSHMEM: sshmem verbs: improve hca name parsing

If user gives hca port ignore port, use only hca name.
Ex: mlx4_0:1 -> mlx4_0

fixed by @alex-mikheev reviewed by @miked-mellanox
(cherry picked from commit 4ac59362577ef0f48741663281c9caef7f1357a8)
OSHMEM: sshmem mmap: use MAP_PRIVATE instead of MAP_SHARED

It looks like using MAP_PRIVATE instead of MAP_SHARED greatly
speeds up infiniband memory registration.

Change-Id: Id7089f58458ef8fff4034a2c4707d31f7e8b6694
(cherry picked from commit 89535a32726450a92fa134cb32d82f0362c9877b)
fortran: fix the MPI_SIZEOF problems in the Fortran interfaces

This PR is the union of several commits on master; I squashed them
down to a single commit here, for simplicity.

Refs open-mpi/ompi#198
.gitignore: rename .gitignore_global and add in new Fortran ignores
configury: check pthreads work as is on all platforms including solaris
Thanks to Jeff for the review
OSHMEM: Add two new mca variables

Added use_hp flag in sshmem/sysv variable to control huge page usage;
Added shared_mr sshmem/verbs;
Both paraemetes are set in auto.
Fix help messages

fixed by @igor-ivanov, reviewed by @miked-mellanox and @alex-mikheev
(cherry picked from commit d82dc7f67f47b326888ddb0dc846536f99b40d28)