Artem Polyakov
3c2f6d5560
Protect openib_btl->device data with explicit opal_mitex locks.
2015-12-22 18:33:26 +06:00
Gilles Gouaillardet
607d7c7545
btl/sm: rename file after file descriptor has been closed.
...
Thanks George for spotting this.
2015-12-22 13:56:53 +09:00
Ralph Castain
079ea14dab
Update symbol-hiding script
2015-12-21 20:49:14 -08:00
Gilles Gouaillardet
e918d75fae
java: try do dlopen libmpi with the full path
...
Since OS X 10.11 (aka El Capitan) DYLD_LIBRARY_PATH is no more
propagated to children, so try to dlopen libmpi with the full path
using the directory of libmpi_java
Fixes open-mpi/ompi#1220
Thanks Alexander Daryin for reporting this
2015-12-22 11:09:46 +09:00
rhc54
d9cd451a16
Merge pull request #1250 from rhc54/topic/rf
...
Fix the default slot mapping in rank file mapper
2015-12-21 10:57:52 -08:00
Ralph Castain
7cc5879bdd
Fix the default slot mapping in rank file mapper
2015-12-21 09:47:27 -08:00
rhc54
38830e41b4
Merge pull request #1249 from rhc54/topic/pmixdflt
...
Do not override any external settings for PMIx component selection
2015-12-21 09:36:16 -08:00
Ralph Castain
94ffe10808
Do not override any external settings for PMIx component selection
2015-12-21 08:36:12 -08:00
rhc54
aa17bdf6e8
Merge pull request #1239 from rhc54/topic/cleanup
...
Cleanup the warnings from the ompi layer when compiling optimized under Mac OSX
2015-12-21 07:23:31 -08:00
Artem Polyakov
e06bffe213
Fix ib_proc locking
2015-12-21 18:52:31 +06:00
Artem Polyakov
3eb4756a17
Force locking regardles to the opal_using_threads()
setting.
2015-12-21 18:52:31 +06:00
Artem Polyakov
11b72d9add
Make important fields of ib_proc volatile.
2015-12-21 18:52:31 +06:00
Artem Polyakov
86c0c3ec52
Provide additional information: whether ib_proc was newly created or
...
it was already existing.
2015-12-21 18:52:31 +06:00
Artem Polyakov
9325bd3d69
Protect device initialization
2015-12-21 18:52:31 +06:00
Artem Polyakov
0f77bc7ea7
Perform endpoint initialization atomically.
2015-12-21 18:52:31 +06:00
Artem Polyakov
afaf9c9ea6
Shift ib_proc initialization to the separate function.
2015-12-21 18:52:31 +06:00
Artem Polyakov
3c9fd567b6
Fix openib race condition when direct modex is used.
...
The problem was in mca_btl_openib_proc_create. This function may be called
from several places simultaneously:
* from the main thread when somebody wants to do `MPI_Send()` (for example) for
the first time;
* from udcm if the counterpart peer is trying to connect and `mca_btl_openib_get_ep()`
is called.
In this case one of the threads may add an uninitialized proc structure
to the `mca_btl_openib_component.ib_procs` and the other will read it and
treat as initialized.
This commit turns ib_proc initialization into a single atomic operation.
2015-12-21 18:52:30 +06:00
Gilles Gouaillardet
db4f483653
btl/sm: fix race condition
...
write to file and then rename, so when the file is open for read, its content is known to have been written.
Fixes open-mpi/ompi#1230
2015-12-21 16:37:51 +09:00
Gilles Gouaillardet
862b12acf9
configury: fix uninitialized variable in OMPI_FORTRAN_CHECK_USE_ONLY
...
Thanks Paul Hargrove for pointing this issue
2015-12-21 09:56:35 +09:00
Edgar Gabriel
46c20a1246
correctly set all variables storing information on the file pointer position to zero when setting the file view
2015-12-21 09:41:39 +09:00
George Bosilca
12dad8b37f
Fix the missing resize of the returned type for
...
the subarray and darray types.
Thanks Keith Bennett and Dan Garmann for reporting this issue
Fixes open-mpi/ompi#1191
2015-12-21 09:41:30 +09:00
George Bosilca
6e6fd14a19
Fix indentation.
2015-12-20 03:15:19 -05:00
George Bosilca
c895eb7068
Remove extraneous declaration.
2015-12-19 01:34:48 -05:00
Jeff Squyres
53ca721ff4
configury: clean up .so version numbers
...
Move .so version numbers to their appropriate project in the top-level
VERSION file. Also add the project name to all .so version number
names. Remove no-longer-used .so names.
2015-12-18 12:50:23 -05:00
Jeff Squyres
98f555e557
NEWS: sync to v2.0.0 bullets
2015-12-18 12:22:46 -05:00
Ralph Castain
ac6289dca6
Cleanup the warnings from the ompi layer when compiling optimized under Mac OSX
...
Cleanup per George's comments
2015-12-17 17:39:15 -08:00
Nathan Hjelm
d0b4aa1f9a
Merge pull request #1237 from artpol84/add_proc_deadlck_fix
...
Fix add_proc deadlock.
2015-12-17 12:09:40 -07:00
Mike Dubman
54e141c559
Merge pull request #1228 from igor-ivanov/pr/fix-warnings
...
Pr/fix warnings
2015-12-17 19:39:09 +02:00
rhc54
978c54880d
Merge pull request #1238 from rhc54/topic/cleanup
...
Cleanup warnings in opal and orte layers when building optimized on Mac
2015-12-17 09:37:48 -08:00
Ralph Castain
64b695669a
Cleanup warnings in opal and orte layers when building optimized on Mac
2015-12-17 07:51:24 -08:00
Nathan Hjelm
e77199fd4f
Merge pull request #1235 from ggouaillardet/topic/ibv_exp_fixes
...
btl/openib: do not mix exp and non exp verbs
2015-12-17 08:36:09 -07:00
Nathan Hjelm
6d67719f5a
Merge pull request #1236 from artpol84/ib_addproc_mem_fix
...
Fix openib memory registration limit calculation if cutoff = 0.
2015-12-17 08:24:29 -07:00
Artem Polyakov
6a791c3026
Fix add_proc deadlock.
2015-12-17 21:18:33 +06:00
Gilles Gouaillardet
994a627f82
btl/openib: do not mix exp and non exp verbs
2015-12-17 16:45:43 +09:00
Artem Polyakov
0951a34e95
Fix openib memory registration limit calculation if cutoff = 0.
2015-12-17 13:45:19 +06:00
Gilles Gouaillardet
75d16cfb27
Fix a few places where opal/util/argv.h were required when building pmix components (go figure)
2015-12-17 16:19:25 +09:00
Gilles Gouaillardet
985154eee6
configury: revamp the fortran_check_use_only test
...
split the test into three source files in order to avoid a false positive when using old XCode version and gcc 5
2015-12-17 13:12:07 +09:00
igor.ivanov@itseez.com
08c18195e7
oshmem/sshmem: Fix warnings in verbs component
2015-12-16 17:37:00 +02:00
igor.ivanov@itseez.com
6448bd07a4
oshmem/spml: Fix warnings in ikrit component
2015-12-16 17:36:54 +02:00
igor.ivanov@itseez.com
041a6a9f53
ompi/pml: Fix warnings in yalla component
2015-12-16 16:22:30 +02:00
igor.ivanov@itseez.com
38c253c74c
ompi/mtl: Fix warnings in mxm component
2015-12-16 16:22:29 +02:00
igor.ivanov@itseez.com
0a9956927a
ompi/coll: Fix warnings in fca components
...
warning: assignment from incompatible pointer type
2015-12-16 16:22:16 +02:00
Jeff Squyres
d668612f16
travis: update comment
...
Update the comment explaining why we don't build the verbs libfabric
provider (because Open MPI doesn't use it). Specifically: the
upstream libfabric bug about building libfabric under travis has been
fixed -- so that's no longer the reason we don't build it.
2015-12-16 05:45:16 -08:00
igor.ivanov@itseez.com
8f45d83d46
ompi/coll: Fix warnings in hcoll component
...
warning: assignment from incompatible pointer type
2015-12-16 14:52:29 +02:00
Jeff Squyres
2b9341a38a
usnic: fix embarrissing typo
2015-12-15 19:01:19 -08:00
rhc54
7a9106e74d
Merge pull request #1226 from rhc54/extpmix
...
Create the pmix external component.
2015-12-15 17:33:14 -08:00
Jeff Squyres
944d5061a6
usnic: sendto() can return EPERM if we send too fast
...
If we send too fast, sendto() can run out of resources and return
EPERM. So delay a little and try again.
2015-12-15 15:31:29 -08:00
Ralph Castain
3a56f0d34b
Create the pmix external component. Fix a few places where opal/util/argv.h were required when building with an external pmix (go figure).
...
NOTE: Building with external pmix *requires* that you also build with external libevent and hwloc libraries. Detect this at configure and error out with large message if this requirement is violated.
Closes #1204 (replaces it)
Fixes #1064
2015-12-15 15:26:13 -08:00
Jeff Squyres
ab1bbca5b9
usnic: improve error message
...
When sendto() fails, it would be helpful to see the errno value.
2015-12-15 15:04:25 -08:00
Jeff Squyres
c1a6beac8d
usnic: fix error message
...
There were too many "%s" instances. Re-order the output so that we
show file, line, and then the error message.
2015-12-15 14:48:38 -08:00