Mangala Jyothi Bhaskar
2bd52cc410
Initialize req variable to fix a warning
2014-12-16 13:24:28 -06:00
Aurélien Bouteiller
0bf860ef02
indentation
2014-12-16 14:22:26 -05:00
Jeff Squyres
1b63129de3
fortran: ensure to specify the shared library version
2014-12-16 11:16:46 -08:00
Howard Pritchard
6e1317db68
alps/config: add WRAPPER defines when alps found
...
Add WRAPPER flags for alps libraries to support
static builds.
2014-12-16 09:52:24 -08:00
Jeff Squyres
95da4a5a0e
usnic: no longer use opal_using_threads()
...
Instead, use the flag that is passed in.
2014-12-16 08:49:01 -08:00
Alex Mikheev
c76261da07
OSHMEM: atomic mxm: fix mkey conversion
...
Correctly return mxm_empty_mem_key when shmem mkey is empty
2014-12-16 16:34:42 +02:00
Alex Mikheev
71ebbca26d
OSHMEM: spml ikrit: fix spelling in help file
2014-12-16 16:18:38 +02:00
Alex Mikheev
3f7ed56548
OSHMEM: spml ikrit: fix mxm disconnect flow
...
Add out of band barrier before performing mxm disconnect.
It will make sure that every pe is ready to disconnect. Otherwise
bad things may happen.
2014-12-16 15:07:17 +02:00
Gilles Gouaillardet
cfcce01faf
configury: test the __sun macro to detect solaris OS.
...
recent oraclestudio compilers do not set the __sun__ macro
2014-12-16 18:21:58 +09:00
Artem Polyakov
01601f3284
Merge pull request #305 from artpol84/timing
...
Timing framework improvement
2014-12-16 15:13:48 +06:00
George Bosilca
357daa834e
Stay on the safe side: Only one thread is allowed
...
to handle an event_base.
2014-12-15 23:19:51 -05:00
George Bosilca
2fec570fe7
There is no need to keep track of these events. They are scheduled
...
as triggers in libevent, so one bookkepping should be enough.
2014-12-15 22:35:29 -05:00
George Bosilca
46baab350c
The event is automatically deleted by default.
2014-12-15 21:59:20 -05:00
George Bosilca
b01abfa0d7
Don't over-do it!
2014-12-15 21:33:32 -05:00
George Bosilca
f87a4b691b
Solve another handshake problem, where one threads was calling del_event
...
while cleaning up after receiving a zero byte on the connect socket
(localyy started connection), while another was trying to accept a
new connection from the same peer. Create a zero-timed event and
delocalize the accept into a timer_event.
Add support for registering an error callback, that can be used when a
connection is discovered as failed during the initialization process.
2014-12-15 20:27:32 -05:00
George Bosilca
e20413c885
Rearrange the code to remove a compiler complaint about
...
the missing return from a non-void function.
2014-12-15 15:42:57 -05:00
Ralph Castain
573a574a3c
Remove an unused dstore type that was redundant with another one. Define a corresponding PMIX_NODE_ID type (contains the vpid of the daemon hosting the proc) and ensure that the PMIx server includes that info in its process map
2014-12-15 12:11:13 -08:00
Mike Dubman
2fbe87defe
Merge pull request #314 from miked-mellanox/topic/fix_opal_path_nfs
...
add support for autofs and make check pass. jenkins: check,src_rpm
2014-12-15 20:52:52 +02:00
Ralph Castain
91bec7e9dd
Fix some type declarations so make check works for SPARC. Thanks to Paul Hargrove for the report and correction
2014-12-15 06:44:51 -08:00
Ralph Castain
a22cc45769
Close the pmix server sockets on exec
2014-12-13 20:30:21 -08:00
Ralph Castain
f4ff791335
Close oob/usock connections upon exec
2014-12-13 20:24:09 -08:00
Ralph Castain
6c4d5a51c4
Close tcp sockets upon exec
2014-12-13 20:23:53 -08:00
Ralph Castain
9658256a98
Restore the passing of the complete job map to the local proc on first get_attr so the info can be used by the MPI layer without continual calls back to the server. We'll find a more memory efficient method later.
2014-12-13 18:44:09 -08:00
Mike Dubman
42f3fa0d1e
OPAL: add support for autofs magic type
2014-12-13 20:27:47 +02:00
Jeff Squyres
9e6b157cb6
opal: minor update to guess_strlen
...
This is a minor update to
open-mpi/ompi@c52601f0c5 .
If we have vsnprintf(), we might as well not have the rest of the
guess_strlen() routine. Also document the nifty trick/behavior of
vsnprintf() that enables this shortcut (it was new to me!).
2014-12-13 08:09:34 -05:00
George Bosilca
3430714989
Correctly propagate the requested level of thread support during the
...
component init calls.
2014-12-13 02:36:21 -05:00
George Bosilca
2edbe16c47
Add the necessary infrastructure to allow the dumping of all TCP
...
informations related to an endpoint (status and all pending fragments).
Do some minor space cleanup.
2014-12-13 01:59:55 -05:00
George Bosilca
5b8616d890
Fix the race condition in endpoint connection initialization. The race
...
was quite subtle, and only happened on the process with the smallest
guid (as this process will tear down the connection created locally and
replace it with the result of accept). If multiple threads are active in
the system, the deadlock occurs during the recv event deletion as one
thread will hold the recv event lock of the endpoint and try to access
the TCP event base lock, while the other thread will hold the TCP event
base lock while trying to access the recv event lock (in case data is
available on the socket).
The proposed solution let the event callback fail to process the data,
preventing the deadlock and allowing the other thread to always complete
it's job. As the event is not execute the same triggered will trigger
again at the next opportunity, so this solution introduce a minimal
delay in the connection establishement.
2014-12-13 01:45:00 -05:00
Ralph Castain
c52601f0c5
It looks like the guess_len function in our local printf.c has some questionable code in it. Now that we are checking in configure for vsnprintf, take advantage of that check to use the far simpler method if it is available. Given that we no longer support such ancient systems where this might not be available, one suspects the other questionable code may no longer be required - but set that aside for another day.
2014-12-12 17:47:17 -08:00
Ralph Castain
bffb2b7a4b
Correct some issues with variables used before being set
2014-12-12 17:23:32 -08:00
Ralph Castain
0630680f36
Two cleanups required for transfer to 1.8.4:
...
* Use %d format for the topo signature as some systems apparently have problems with %u
* Use correct variable in show_help message
2014-12-12 17:23:32 -08:00
Howard Pritchard
6cf258638a
mpool/udreg: minor comment improvement
2014-12-12 14:05:18 -07:00
Ralph Castain
66a860c1e2
Okay, okay - use the oshmem word here
2014-12-12 08:42:54 -08:00
Ralph Castain
064a241145
Don't install the Java shmem tools if we aren't building Java support. Thanks to Paul Hargrove for noticing.
2014-12-12 08:25:38 -08:00
Nathan Hjelm
38d66272c5
btl/vader: fix compile on SGI UV
2014-12-12 09:09:01 -07:00
Rolf vandeVaart
f4aecdbfd2
Change logging function name from log to logfn. Fixes issue with PGI compile
2014-12-12 09:46:44 -05:00
Jeff Squyres
e4b3c6f1c4
libfabric psm: fix (void*) dereference
...
Committed upstream to libfabric as well.
2014-12-11 20:12:13 -08:00
Jeff Squyres
0f28233b35
libfabric: don't use __thread
...
There's no real reason that this routine should use thread local
storage. Plus, __thread appears to be a GCC extension.
2014-12-11 14:10:48 -08:00
Rolf vandeVaart
9ee8e1dcf4
With PGI compile we need stdarg.h for va_list define
2014-12-11 16:14:57 -05:00
Jeff Squyres
4551cab6f1
help messages: fix obvious typos
2014-12-11 12:23:33 -08:00
Jeff Squyres
0b00e980e0
.gitignore: ignore executes for new tests
2014-12-11 10:02:10 -08:00
Nathan Hjelm
da5e3ce936
test/class: update class tests to also use opal_finalize_util
2014-12-10 17:50:26 -07:00
Jeff Squyres
b1e9e7f56f
Whitespace cleanup only; no code changes
2014-12-10 13:32:04 -08:00
Jeff Squyres
8b2410f554
class tests: re-enable a bunch of tests
...
Many of these tests were failing due to opal_init() failing in some
cases (because the opal shmem framework needs installed components, so
"make distcheck" would fail these tests because the opal shmem
components were not installed). However, all of these tests seem to
be fine with opal_init_util() -- so let's re-enable these tests.
2014-12-10 13:30:14 -08:00
Jeff Squyres
ff2a75b29b
class tests: change from opal_init() to opal_init_util()
2014-12-10 13:29:38 -08:00
Nathan Hjelm
7e5af9cecf
opal_lifo: fix potential race condition when using 128-bit atomics
...
On x86_64 reading a 128-bit value requires multiple instructions.
Under some conditions if the counted pointer counter is read before
the item pointer the fifo can be left in an inconsistent state. This
commit forces the read of the counter to always be read first.
The fifo does not appear to suffer from the same race.
2014-12-10 12:51:44 -07:00
rolfv
f471b09ae9
Add support for CUDA Unified memory. Basically, add a new flag and disable some
...
optimizations when that flag is detected. Lightly reviewed by bosilca.
2014-12-10 05:46:00 -08:00
Artem Polyakov
8ffad75a0a
Introduce timing interval measurement facility in timing framework
2014-12-10 16:47:49 +06:00
Nathan Hjelm
52ed5a9bf8
opal_lifo: fix one more potential issue with the new 128-bit lifo atomics
...
It is possible the compiler can reorder the read of the head item and
the head itself. This could lead to a situation where the item
returned was not really the head item.
2014-12-09 21:48:14 -07:00
Nathan Hjelm
a40fe8311f
opal_lifo: add missing memory barriers in 128-bit atomic functions
2014-12-09 19:50:08 -07:00