1
1
Граф коммитов

485 Коммитов

Автор SHA1 Сообщение Дата
Nathan Hjelm
1e6b4f2f55 Merge pull request #1495 from hjelmn/new_hooks
Add new patcher memory hooks
2016-04-13 18:19:23 -06:00
Nathan Hjelm
27f8a4e806 opal: add code patcher framework
This commit adds a framework to abstract runtime code patching.
Components in the new framework can provide functions for either
patching a named function or a function pointer. The later
functionality is not being used but may provide a way to allow memory
hooks when dlopen functionality is disabled.

This commit adds two different flavors of code patching. The first is
provided by the overwrite component. This component overwrites the
first several instructions of the target function with code to jump to
the provided hook function. The hook is expected to provide the full
functionality of the hooked function.

The linux patcher component is based on the memory hooks in ucx. It
only works on linux and operates by overwriting function pointers in
the symbol table. In this case the hook is free to call the original
function using the function pointer returned by dlsym.

Both components restore the original functions when the patcher
framework closes.

Changes had to be made to support Power/PowerPC with the Linux
dynamic loader patcher. Some of the changes:

 - Move code necessary for powerpc/power support to the patcher
   base. The code is needed by both the overwrite and linux
   components.

 - Move patch structure down to base and move the patch list to
   mca_patcher_base_module_t. The structure has been modified to
   include a function pointer to the function that will unapply the
   patch. This allows the mixing of multiple different types of
   patches in the patch_list.

 - Update linux patching code to keep track of the matching between
   got entry and original (unpatched) address. This allows us to
   completely clean up the patch on finalize.

All patchers keep track of the changes they made so that they can be
reversed when the patcher framework is closed.

At this time there are bugs in the Linux dynamic loader patcher so
its priority is lower than the overwrite patcher.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-04-13 17:16:13 -06:00
Nathan Hjelm
b1670f844d contrib/platform: don't disable dlopen
The --enable-static gives us what we want: statically linked components.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-04-13 17:16:12 -06:00
Alina Sklarevich
6cd7282631 mellanox/optimized: set enable_openib_rdmacm_ibaddr=yes in the mellanox/optimized file. 2016-04-11 18:01:16 +03:00
Nathan Hjelm
147e780fa5 contrib/lanl: update platform files for TOSS2
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-03-17 14:30:50 -06:00
Mike Dubman
cdffe4f92d BUILD: update mellanox platform file
add support for UCX
2015-10-21 11:39:30 +03:00
Howard Pritchard
89b9be3732 lanl/platform: fixes to pick up lustre
Fixes to lanl platform files to pick up lustre header
files, etc. for romio and ompi i/o.

Fixes #1033

Thanks to Jerome Vienne for spotting this.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-10-15 14:32:21 -05:00
Ralph Castain
c1bbbb5e2f Remove the last involvement of the OOB system from the MPI layer, remove the no-longer-needed usock/oob component, and have procs no longer open the RML, OOB, ROUTED, and GRPCOMM frameworks as PMIx now provides all required app-mpirun cmds 2015-09-15 13:08:35 -07:00
Howard Pritchard
5eccba17af lanl: help out lanl admins
LANL admins want platform files and *.conf
files so oblige them.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-07-24 08:03:52 -07:00
Ralph Castain
75ceec663a Now that it has been officially released, update the embedded HWLOC to 1.11.0 2015-06-28 14:07:45 -07:00
Ralph Castain
869041f770 Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Ralph Castain
9a70765f27 Silence malloc(0) warnings reported by Lisandro 2015-05-12 12:38:58 -07:00
Mike Dubman
dede6fa1fb build: new options
- enable/disable know for threads support
- disable rpath by default
2015-04-30 14:46:15 +03:00
Bert Wesarg
d01c5160df Remove any reference to VampirTrace in the platform files. 2015-01-22 08:08:08 +01:00
Howard Pritchard
328a408dd0 comment out alps select in cray_xe6 platform
This alps selection stuff in the platform file is no longer required.
2014-12-05 13:22:59 -07:00
Aurelien Bouteiller
08d93bd4b9 Adding a platform file for Darter NICS CrayXC30 2014-10-16 14:22:02 -04:00
Howard Pritchard
bae3837121 Title: Comment out all mpi_abort_print_stack in lanl platform files
Description:
setting mpi_abort_print_stack in mca params file now makes openmpi
unhappy. Comment these out in all the LANL platform files.
Requested by TOSS OpenMPI support person.

cmr=v1.8.3

This commit was SVN r32782.
2014-09-24 18:25:58 +00:00
Ralph Castain
a90f12ad1d Save the clang settings for detecting alignment issues - I don't want to have to remember the cmd line jango
This commit was SVN r32705.
2014-09-10 18:56:19 +00:00
Howard Pritchard
51c73f116b switch check for ugni to use pkg-config
deprecate with-ugni in lanl/cray_xe6 platform file

This commit was SVN r32625.
2014-08-28 22:03:41 +00:00
Howard Pritchard
4d6d4f46b0 switch udreg config macro to use pkg-config
This commit was SVN r32516.
2014-08-12 21:30:06 +00:00
Ralph Castain
c5b2f9c8a5 Ignore Java on Mac for me
This commit was SVN r32464.
2014-08-08 16:14:03 +00:00
Mike Dubman
142f7290bc BUILD: update platform file with debug caps
cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r32102.
2014-06-28 18:55:31 +00:00
Ralph Castain
1949f485ac Update platform file
cmr=v1.8.2:reviewer=ompi-gk1.8

This commit was SVN r32069.
2014-06-24 13:53:05 +00:00
Ralph Castain
a286977eff Don't build slurm if not present - platform file change only
This commit was SVN r31571.
2014-04-30 19:27:43 +00:00
Ralph Castain
751b4325b3 Provide more general code coverage
This commit was SVN r31568.
2014-04-30 15:42:16 +00:00
Ralph Castain
0bfce321cd Remove orcm-related platform files and ignore them from now on
This commit was SVN r31405.
2014-04-15 21:58:57 +00:00
Nathan Hjelm
9db9f9724a Update LANL platform files to always use vader over sm.
cmr=v1.8:reviewer=ompi-gk1.8

This commit was SVN r31233.
2014-03-26 21:54:43 +00:00
Mike Dubman
cf9f5f9c4c enable oshmem in mlnx platform file
cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r31065.
2014-03-14 08:18:55 +00:00
Mike Dubman
e630b0f47a update ignore list
disable coll-ml

cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30924.
2014-03-04 14:23:12 +00:00
Nathan Hjelm
5c35b5ba19 Fix wrapper ldflags.
cmr=v1.7.4:reviewer=jsquyres

This commit was SVN r30555.
2014-02-04 19:44:08 +00:00
Mike Dubman
fa762a9612 disable mindist mapper, it is incompatible with -npernode yet
cmr=v1.7.5:reviewer=ompi-rm1.7

This commit was SVN r30500.
2014-01-30 14:56:15 +00:00
Ralph Castain
63a52e321a update platform files
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r30459.
2014-01-28 15:50:29 +00:00
Ralph Castain
0dbbfd49fa Update platform file
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r30369.
2014-01-22 21:01:33 +00:00
Nathan Hjelm
aa3fea55b2 btl/ugni: re-add a sendi function to exploit the new optimization in
ob1.

Also update LANL platform files to use the latest version of ugni.

cmr=v1.7.5:reviewer=manjugv

This commit was SVN r30353.
2014-01-21 20:53:35 +00:00
Ralph Castain
fd5c1d5b63 Update platform file
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r30326.
2014-01-18 21:33:52 +00:00
Mike Dubman
5359647bca always add -g for symbols
cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r30266.
2014-01-13 14:56:31 +00:00
Ralph Castain
597334459b Update platform files
This commit was SVN r30116.
2014-01-03 22:36:31 +00:00
Ralph Castain
4aeffca723 Update platform file
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r30104.
2014-01-02 16:01:24 +00:00
Mike Dubman
cb90891d47 typo fix
cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r30101.
2014-01-01 12:45:02 +00:00
Ralph Castain
2a6376fcf5 Update platform files
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r29977.
2013-12-19 15:38:28 +00:00
Mike Dubman
da5c55342f fix bash comparison to work as expected
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r29949.
2013-12-18 10:25:27 +00:00
Ralph Castain
f13a37637f Update platform files to always enable mpi-thread-multiple
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r29930.
2013-12-17 03:11:26 +00:00
Ralph Castain
659cb9652d Seems to work either way, but add semi-colon for correctness
This commit was SVN r29913.
2013-12-15 14:55:45 +00:00
Mike Dubman
879ea64e6b add mlnx packages autodetect logic
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r29911.
2013-12-15 12:33:41 +00:00
Ralph Castain
ba94c937bb Update platform files
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r29910.
2013-12-14 17:49:20 +00:00
Nathan Hjelm
91db0cd512 Remove non-existent MCA variables from LANL platform file.
No review required.

cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r29810.
2013-12-05 22:43:08 +00:00
Ralph Castain
10fbc85352 update platform file
This commit was SVN r29744.
2013-11-23 22:58:52 +00:00
Nathan Hjelm
24a7e7aa34 Add support for the udreg registration cache and dynamics on XE/XK/XC.
To support the new mpool two changes were made to the mpool infrastructure:

 1) Added an mpool flag to indicate that an mpool does not need the memory
    hooks to use the leave pinned protocols. This flag is checked in the
    mpool lookup.

 2) Add a mpool context to the base registration. This new member is used
    by the udreg mpool to store the udreg context associated with the
    particular registration. The new member will not break the ABI
    compatibility as the new member is only currently used by the udreg
    mpool.

Dynamics support for Cray systems makes use of the global rank provided by
orte to give the ugni library a unique rank for each process. Dynamics
support is not available under direct-launch (srun.)

cmr=v1.7.4

This commit was SVN r29719.
2013-11-18 04:58:37 +00:00
Ralph Castain
22e30a680d Given that the oob and xoob cpc's are no longer operable and haven't been since the OOB update, remove them to avoid confusion
cmr:v1.7.4:reviewer=hjelmn:subject=Remove stale cpcs from openib

This commit was SVN r29703.
2013-11-14 04:16:53 +00:00
Mike Dubman
97bd04050d use hca distance mapper by default
cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r29634.
2013-11-07 14:36:16 +00:00