Jeff Squyres
7d340c0c26
dlopen: simple dl component based on POSIX dlopen
...
Works on systems with dlopen (e.g., Linux and OS X). It requires
dlfcn.h and libdl, which many systems have installed by default.
2015-03-09 08:16:55 -07:00
Jeff Squyres
e81c070ef0
dl framework: new dynamic loader framework
...
Embedding libltdl without the use of Libtool bootstrapping has
proven... difficult. Instead, create a new simple "dl" framework. It
only provides 4 functions:
- open a DSO (very similar to lt_dlopenadvise())
- lookup a symbol in a previously-opened DSO (very similar to lt_dlsym())
- close a previously-opened DSO (very similar to lt_dlclose())
- iterate over all files in a directory (very similar to ld_dlforeachfile())
There will be follow-on commits with a simple dlopen-based component
(nowhere near as complete/functional as libltdl, but good enough for
Linux and OS X), and a libltdl-based component for all other
platforms.
The intent is that the dlopen-based component can be built by default
in almost all cases. But if libltdl is available, that component will
be built. End result: we still get DSO-based functionality by default
in (almost?) all cases. Without embedding libltdl. Which is what we
want.
2015-03-09 08:16:55 -07:00
Jeff Squyres
d6530b0e99
opal_check_package: use AC_SEARCH_LIBS instead of AC_CHECK_LIB
...
Per discussion on devel
(http://www.open-mpi.org/community/lists/devel/2015/02/17030.php ), and
per Autoconf 2.69 docs, use the recommended AC_SEARCH_LIBS instead of
AC_CHECK_LIB (e.g., for functions that appear in libc on some
platforms and in a specific library on other platforms).
2015-03-09 08:15:38 -07:00
Gilles Gouaillardet
59be12b260
filem/raw: fix misc memory leaks
...
as reported by Coverity with CIDs 716815, 716817, 720760,
1196703, 1196704, 1196746
2015-03-09 19:56:20 +09:00
Gilles Gouaillardet
1746e23f11
opal/cr: fix misc memory leak and error case
...
as reported by Coverity with CIDs 71858 and 710640
2015-03-09 19:28:52 +09:00
Gilles Gouaillardet
2789d782ab
timer/linux: fix insecure data handling
...
as reported by Coverity with CID 1269923
2015-03-09 19:14:56 +09:00
Gilles Gouaillardet
6de973daae
coll/sm: remove unused value
...
as reported by Coverity with CID 1269962
2015-03-09 17:31:32 +09:00
Gilles Gouaillardet
1896d4fba7
bcol/basesmuma: fix misc memory leak
...
as reported by Coverity with CID 715762
2015-03-09 17:22:25 +09:00
Gilles Gouaillardet
341bdd1fc3
ompi/group: refactor ompi_group_incl
...
and fixes CID 70478
2015-03-09 17:07:11 +09:00
Gilles Gouaillardet
2ab9a411f8
plm/base: fix misc memory leaks
...
as reported by Coverity with CIDs 1196733 and 1196745
2015-03-09 16:25:07 +09:00
Gilles Gouaillardet
fa10025843
ras/slurm: fix misc memory leaks
...
as reported by Coverity with CIDs 968580 and 1196723-1196727
2015-03-09 15:58:51 +09:00
Gilles Gouaillardet
eae39bd948
ras/simulator: fix misc memory leaks
...
as reported by Coverity with CIDs 710647, 714133 and 714134
2015-03-09 15:52:29 +09:00
Gilles Gouaillardet
9107bf5077
ompi/topo: fix misc errors
...
as reported by Coverity with CIDs 1041232, 1041234, 1041235
1269789 and 1269996
2015-03-09 15:22:22 +09:00
Gilles Gouaillardet
a9044945fe
ompi/proc: correctly handle cutoff modex case
...
as reported by Coverity with CID 1196664
2015-03-09 14:34:28 +09:00
Gilles Gouaillardet
307a33991c
opal/dss_unpack: correctly handle some bozo cases
...
as reported by Coverity with CIDs 1269987 and 1269988
2015-03-09 14:24:00 +09:00
Gilles Gouaillardet
4c0eb11e08
orterun: fix misc errors
...
as reported by Coverity with CIDs 70700, 71039, 710651
2015-03-09 11:57:18 +09:00
Gilles Gouaillardet
59f298a534
fs/base: securily use readlink
...
as reported by Coverity with CIDs 1287031 and 1287032
2015-03-09 11:20:51 +09:00
Gilles Gouaillardet
33841361c0
orte-clean: use pclose instead of fclose
...
as reported by Coverity with CID 1287029
2015-03-09 11:17:59 +09:00
Howard Pritchard
87fb1a798c
Merge pull request #453 from hppritcha/topic/check-owner-script_ver0
...
contrib:simple perl script for digesting owner files
2015-03-07 13:30:18 -07:00
Howard Pritchard
c124707549
contrib:simple perl script for digesting owner files
...
Simple perl script for processing owner files into markdown
tables for the open mpi wiki. Get fancy with later versions.
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-03-06 14:39:02 -07:00
Howard Pritchard
4946ba6717
Merge pull request #452 from hppritcha/topic/fcoll_coverity_fixes
...
fcoll/dynamic,static: coverity fixes
2015-03-06 13:58:00 -07:00
Howard Pritchard
209f002200
fcoll/static: fix an errant free
...
Got to excited about coverity and ended up generating
a new coverity error.
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-03-06 13:12:53 -07:00
Rolf vandeVaart
237c268a09
Add extra check during cleanup to make sure we really should clean up the CUDA resources.
2015-03-06 13:12:19 -05:00
Howard Pritchard
4f4b99bbac
fcoll/dynamic,static: coverity fixes
...
Fix some theoretical memory leaks reported by coverity.
Fixes CIDS 72332, 72328, 72332, 72138, 72139, 72140, 72364, 72365-72370
72372-72374, 741354, 72143, 72375-83, 1027140, 1269903
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-03-06 11:05:23 -07:00
elenash
c7aaeef0cb
Merge pull request #450 from elenash/master
...
added one more time interval for barrier to pmix unit test
2015-03-06 13:02:32 +03:00
Elena
6c6fe75c7b
added one more time interval for barrier to pmix unit test
2015-03-06 10:33:14 +02:00
Gilles Gouaillardet
35c64af4b1
dpm: fix misc issues
...
as reported by Coverity with CIDs 71126 and 1269659
2015-03-06 16:20:24 +09:00
Gilles Gouaillardet
da90ed4483
opal/compress: remove misc dead code
...
as reported by Coverity with CIDs 71856,
1269714, 1269715, 1269717, 1269718, 1269723, 1269724
2015-03-06 15:34:08 +09:00
Gilles Gouaillardet
5b41de4886
opal/dss: fix memory allocation in opal_dss_copy_null
...
as reported by Coverity with CID 71915
2015-03-06 15:15:11 +09:00
Gilles Gouaillardet
757b40e56a
coll/tuned: remove dead code
...
as reported by Coverity with CID 1271638
that looks like a multiple paste error ...
2015-03-06 15:02:56 +09:00
Gilles Gouaillardet
f03d7dce17
ompio: fix deallocation sequence
...
as reported by Coverity with CID 1287034
2015-03-06 14:59:59 +09:00
Gilles Gouaillardet
521317341d
btl/openib: fix a double free
...
as reported by Coverity with CID 1287033
2015-03-06 14:58:11 +09:00
Ralph Castain
64ec498a20
Add a declspec
2015-03-05 19:48:27 -08:00
Ralph Castain
eaa666bd57
Instantiate debug output variable
2015-03-05 12:25:49 -08:00
rhc54
4c089c9b21
Merge pull request #447 from rhc54/notifier
...
Updates to the notifier interfaces to support system events
2015-03-05 11:36:03 -08:00
Ralph Castain
7ce0a9931c
Updates to the notifier interfaces to support system events
2015-03-05 10:39:25 -08:00
George Bosilca
5905bd2ff9
As the pStack pointer changes during the execution it is not
...
safe to free it. Instead, keep a copy of the original location
to be able to free the correct memory region.
2015-03-05 13:36:21 -05:00
George Bosilca
f758790d7a
Allow TOPO modules to register their parameters when we do lazy
...
initialization.
2015-03-05 13:11:06 -05:00
George Bosilca
420ae98dfe
Remove all unnecessary whitespaces and make sure we close the module
...
correctly.
2015-03-05 13:00:13 -05:00
George Bosilca
75479c0f17
Fix some typos.
2015-03-05 12:59:58 -05:00
George Bosilca
3c489ea5d5
Use malloc instead of alloca as some users could use very large arrays
...
of datatypes. Thanks Bogdan Sataric for the bug report.
2015-03-05 12:24:28 -05:00
Ralph Castain
07587892da
Update search_compare as we no longer support svn - only repo we support is git
2015-03-05 08:25:27 -08:00
Mike Dubman
90fb33c1ce
Merge pull request #445 from alinask/topic/set_want_fork_support_to_minus_one
...
initialize opal_common_verbs_want_fork_support to -1.
2015-03-05 15:27:40 +02:00
Alina Sklarevich
1560ed9761
initialize opal_common_verbs_want_fork_support to -1.
...
This way, if the call to ibv_fork_init() fails, the job will still
continue.
2015-03-05 14:29:09 +02:00
Gilles Gouaillardet
7de3f35b90
pml/rsh: fix misc memory leaks
...
as reported by Coverity with CIDs 71091, 71230, 71231, 72274, 72389,
1196718 and 1196719
2015-03-05 20:03:37 +09:00
Gilles Gouaillardet
d6ae0a5e05
sharedfp/sm: fix misc memory leaks
...
as reported by Coverity with CIDs 1196785, 1196787 and 1269896
2015-03-05 16:33:32 +09:00
Gilles Gouaillardet
5b2122381b
ompio: fix misc memory leaks
...
as reported by Coverity with CIDs 72127, 72145, 72146, 72177, 72179,
72186, 731276, 731278, 1269888, 1269890
2015-03-05 16:22:19 +09:00
Gilles Gouaillardet
ceeb0844b6
dpm: fix misc memory leaks
...
as reported by Coverity with CIDs 1196737 and 1269850
2015-03-05 14:20:09 +09:00
Gilles Gouaillardet
e1cc931e1b
btl/tcp: silence CID 710616
2015-03-05 14:20:08 +09:00
Gilles Gouaillardet
e75b1e6435
fs/base: fix misc memory leak
...
as reported by Coverity with CID 72202
2015-03-05 14:20:08 +09:00