Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann:reproducible:distribution:ring1
boost
python_mpi.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python_mpi.patch of Package boost
Author: Adam Majer <adam.majer@suse.de> Summary: Fix MPI module loading MPI requires dl.RTLD_NOW|dl.RTLD_GLOBAL flags to load properly. Index: boost_1_64_0/libs/mpi/build/__init__.py =================================================================== --- boost_1_64_0.orig/libs/mpi/build/__init__.py +++ boost_1_64_0/libs/mpi/build/__init__.py @@ -1,10 +1,7 @@ import sys -if sys.platform == 'linux2': - import DLFCN as dl - flags = sys.getdlopenflags() - sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL) - import mpi - sys.setdlopenflags(flags) -else: - import mpi +import DLFCN as dl +flags = sys.getdlopenflags() +sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL) +import boost.parallel.mpi.mpi +sys.setdlopenflags(flags)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor