Howard Pritchard
7df648f1cf
btl/openib: fix problems from commit b3617e73
...
For systems with OFED's lacking XRC support, commit b3617e73
broke the build of the openib btl. This commit addresses
the issues introduced by this commit.
2015-01-06 11:31:12 -07:00
Ralph Castain
4c38c31ccf
Actually copy buffer contents when dss.copy of a buffer is requested
2015-01-06 09:09:06 -08:00
Gilles Gouaillardet
b3617e736e
btl/openib: add XRC support with OFED 3.12+
...
based on an original patch contributed by Bull.
2015-01-06 15:30:52 +09:00
Howard Pritchard
c857cc926c
Merge pull request #327 from hppritcha/topic/async_progress
...
Topic/async progress
2015-01-05 16:20:44 -07:00
Dave Goodell
8afd8487f8
opal_stdint.h: fix "#pragma GCC" warnings
...
This was more complicated than I would like, but it's just an
unfortunate GCC/clang difference. I don't have access to all the C
compilers out there, so this may still have problems with other
compilers that implement some form of `#pragma GCC diagnostic` support
but don't actually behave the same as some versions of GCC.
fixes #323
2015-01-05 14:44:46 -08:00
Gilles Gouaillardet
9e9261e90a
pmix: correctly set locality flags in proc_flags
...
do not use opal_process_info.cpuset which is not
set at that time.
2014-12-26 15:37:08 +09:00
Howard Pritchard
0a6f841d5f
xpmem/config: simple xpmem search on Cray's
...
Use the pkg-config related m4 functions to find out where
Cray's xpmem.h and libxpmem are located on a system.
With this commit, there is no longer any need to have to
explicitly indicate an xpmem install location on the configure
line, at least for Cray systems running CLE 4.X and 5.X.
2014-12-24 14:40:06 -07:00
Howard Pritchard
065c756860
btl/ugni: improve error handling
...
Improve error handling when pthread functions return errors.
Remove stale debug code.
2014-12-24 11:50:24 -07:00
Howard Pritchard
f8e354ce00
btl/ugni: add a request_progress_thread mca param
...
Replace temporary environment variables with a MCA
parameter for the ugni btl. A user wishing to
use the ugni btl async. progress thread needs to
set the request_progress_thread param to true.
For example, using env. variable format:
export OMPI_MCA_btl_ugni_request_progress_thread=1
2014-12-24 11:50:24 -07:00
Howard Pritchard
8b250cc15b
btl/ugni: more debug cleanup
2014-12-24 11:50:24 -07:00
Howard Pritchard
f0c519517b
btl/ugni: switch to using opal_progress
...
Switch to invoking opal_progress from the async progress
thread, rather than calling ugni btl specific progress.
2014-12-24 11:50:24 -07:00
Howard Pritchard
47747c1b27
btl/ugni: remove some debug output
2014-12-24 11:50:24 -07:00
Howard Pritchard
2d14c2a204
btl/ugni: switch to using tx cq irqs for rdma
...
Verified via testing with unit tests, etc. that
in fact BTE TX descriptors using CQs configured to
generate IRQs were in fact working correctly on Cray XC. Disable
send message back to self and just use IRQs generated
by completion of TX descriptors posted to BTE.
2014-12-24 11:50:24 -07:00
Howard Pritchard
acd07d98da
btl/ugni: turn off chatty debug in irq cq setup
2014-12-24 11:50:24 -07:00
Howard Pritchard
0dec2f4af7
btl/ugni: mark btl frags for irqs as btl owned
...
Make sure frags allocated to generate irqs to wake
the progress thread, etc. set the MCA_BTL_DES_FLAGS_BTL_OWNERSHIP
flag.
2014-12-24 11:50:23 -07:00
Howard Pritchard
d188f0bc6f
btl/ugni: honor enable_mpi_threads
...
Honor enable_mpi_threads setting to enable the ugni btl
async progress thread. If the app doesn't request thread-multiple
the thread will not be created.
2014-12-24 11:50:23 -07:00
Howard Pritchard
43cdcb745f
btl/ugni: add missing mutex lock
2014-12-24 11:50:23 -07:00
Howard Pritchard
83bcbd1cf9
btl/ugni: compilation fixes
...
Fix compilation problems in ugni btl associated with
async progress additions.
2014-12-24 11:50:23 -07:00
Howard Pritchard
13ab8a9e5a
btl/ugni: use MCA_BTL_DES_FLAGS_SIGNAL
...
Use MCA_BTL_DES_FLAGS_SIGNAL frag flag to indicate
whether or not an interrupt needs to be delivered
along with a control message going through smsg.
2014-12-24 11:50:23 -07:00
Howard Pritchard
3fc7b389ff
initial async progress changes for gni
2014-12-24 11:50:23 -07:00
Devendar Bureddy
ccafc62c07
OMPI: btl openib: fix max registarable memory caluclation
...
- by default allow to register maximum possible (i.e 2 * total_memory)
memory. This beheviour can be turned off using mca parameter
"btl_openib_allow_max_memory_registration"
- In fallback case, use device specific parameters to calulate
memory limit.
2014-12-23 23:35:54 +02:00
Howard Pritchard
ffbf9738a3
btl/vader: disable SGI UV xpmem for now
...
This commit allows master to build again on SGI UV systems.
Fixes #322
2014-12-23 12:04:25 -07:00
Gilles Gouaillardet
f6da257477
configury: test external hwloc version is 1.8 or greater
...
hwloc_topology_dup is only available from hwloc 1.8
2014-12-22 13:42:38 +09:00
Jeff Squyres
40dd4c5b76
configury: manually remove some stamp-h? files
...
Due to what might be a bug in Automake, we need to remove stamp-h?
files manually. See
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19418 .
2014-12-20 08:32:57 -08:00
Jeff Squyres
d5b3e5802e
libfabric configury: add more tests
...
Properly test for some dependent libraries; don't just assume
elsewhere in Open MPI's configury will find those libraries. Also
consolidate some CPPFLAGS and clarify some comments.
2014-12-20 08:32:47 -08:00
Jeff Squyres
012e008649
libfabric configury: make AC_CONFIG_FILES be unconditional
...
Also add the generated config.h file to .gitignore.
2014-12-20 08:32:47 -08:00
Jeff Squyres
45ef0352d7
libfabric: do a proper check for intrinsic atomics
2014-12-20 08:32:46 -08:00
Jeff Squyres
ff1364cbe4
Revert "libfabric: add missing header file"
...
That wasn't a missing header file; in fact, it should have been
.gitignored!
This reverts commit 35bf5fc60c
.
2014-12-19 17:39:30 -08:00
Jeff Squyres
35bf5fc60c
libfabric: add missing header file
2014-12-19 17:33:11 -08:00
Jeff Squyres
e0f660cb9e
libfabric: fix clang compile error in usnic provider
...
From ofiwg/libfabric@0078c93ae4
2014-12-19 15:45:16 -08:00
Jeff Squyres
75797c4f30
libfabric: update embedded libfabric configury
...
To support the newly-copied libfabric downloaded from github
ofiwg/libfabric@8da3957de3 .
2014-12-19 14:45:30 -08:00
Jeff Squyres
e2362988a9
libfabric: update to ofiwg/libfabric@8da3957de3
...
Pull down a new embedded copy of libfabric from
https://github.com/ofiwg/libfabric .
2014-12-19 14:45:21 -08:00
Howard Pritchard
91b0d03bf2
pmix/cray: remove dead code
2014-12-19 13:08:23 -08:00
Ralph Castain
123fdd603f
If we are using hwthread cpus, then default to binding there, letting the user override to whatever they want
2014-12-19 08:04:28 -08:00
Rolf vandeVaart
26482db736
Bump up max send size. Gives much better performance for GPU transfers while only decreasing host transfers by a small amount.
2014-12-18 13:22:58 -08:00
Jeff Squyres
de31b08a24
Merge pull request #319 from miked-mellanox/topic/opal_path_nfs_autofs
...
skip check for autofs if fstype is autofs jenkins: check
2014-12-18 15:47:16 -05:00
Mike Dubman
da5b8c6879
OPAL: skip comparison when when fs=autofs in mtab, because we are looking for reals fs type
2014-12-18 21:42:25 +02:00
Jeff Squyres
c621d1e622
libfabric: don't LIBADD the common library in the static case
...
Adding the libfabric common library in the --disable-dlopen case will
result in duplicate symbols.
2014-12-18 11:04:08 -08:00
Jeff Squyres
140bb3d421
hwloc configure: fix typo -- add missing $
...
Arrgh! Missed a "$" in the last commit, making the test always
false.
2014-12-18 10:25:43 -08:00
Jeff Squyres
be6d46490f
hwloc: only add CPPFLAGS if hwloc is actually being built
...
As pointed out by @ggouaillardet, we were adding some unnecessary -I
flags to CPPFLAFGS when --without-hwloc was being used. This commit
slightly updates the hwloc191 component configury to only add such
things when the component is, in fact, going to be
compiled/installed.
2014-12-18 08:56:49 -08:00
Jeff Squyres
c205c70f39
usnic libfabric: remove useless "config.h" includes
...
This change was also committed upstream in libfabric.
2014-12-18 08:47:59 -08:00
Jeff Squyres
269d7f9713
openib: don't use opal_using_threads() in component_init
...
Use the flag that was passed in, instead.
2014-12-17 15:08:43 -08:00
Jeff Squyres
c1b43b6753
libfabric: the LIBADD should be unconditional
...
The LIBADD for the common libfabric library does not belong down in
the providers; it needs to be set when the libfabric core itself
decides to build.
2014-12-17 14:02:08 -08:00
Jeff Squyres
f1a5d3a90d
configury: propagate a libtool shared lib version for libfabric
2014-12-17 13:36:01 -08:00
Jeff Squyres
d6f059f538
configury: add some descriptive output messages in configure
...
Ensure that the ofi MTL and the usnic BTL have good descriptive output
messages in configure.
2014-12-17 13:36:01 -08:00
Jeff Squyres
6edc19d78d
libfabric: ensure that shell variables are initialized
...
Ensure that the <provider>_happy shell variables are initialized to
0. Without this, the --without-libfabric case would leave them
initialized, resulting in "test: -eq operator expecting a value" kinds
of errors.
2014-12-17 13:36:01 -08:00
Rolf vandeVaart
f55de452ab
Change the way we register the sm memory pool with CUDA. Rather than just registering local free lists, register the entire pool as the local process does not know which memory the remote processes are using for free lists. Fixes performance problem we were seeing with copying out of memory (since host piece was not pinned).
2014-12-17 14:21:34 -05:00
George Bosilca
830df07202
Fix the indentation.
2014-12-16 16:07:42 -05:00
George Bosilca
146ab96e29
These variables are now unnecessary.
2014-12-16 16:05:00 -05:00
Aurélien Bouteiller
ee3b090316
The fallback case when yama is not installed was not correct in CMA vader
2014-12-16 14:39:14 -05:00