Tests fail with openmpi2 on FreeBSD: MPI_ERR_WIN: invalid window
Issue #109
resolved
running test
[0@yv.noip.me] Python 2.7 (/usr/local/bin/python2.7)
[0@yv.noip.me] MPI 3.1 (Open MPI 2.1.5)
[0@yv.noip.me] mpi4py 3.0.0 (build/lib.freebsd-11.2-STABLE-amd64-2.7/mpi4py)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 595, in <module>
--------------------------------------------------------------------------
The OSC pt2pt component does not support MPI_THREAD_MULTIPLE in this release.
Workarounds are to run on a single node, or to use a system with an RDMA
capable network such as Infiniband.
--------------------------------------------------------------------------
main()
File "setup.py", line 592, in main
run_setup()
File "setup.py", line 474, in run_setup
**setup_args)
File "/usr/ports/net/py-mpi4py/work-py27/mpi4py-3.0.0/conf/mpidistutils.py", line 472, in setup
return fcn_setup(**attrs)
File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 131, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 584, in run_testsuite
err = main(args)
File "test/runtests.py", line 251, in main
testsuite = load_tests(options, args)
File "test/runtests.py", line 188, in load_tests
module = __import__(testname)
File "test/test_exceptions.py", line 339, in <module>
MPI.Win.Create(None, 1, MPI.INFO_NULL, MPI.COMM_SELF).Free()
File "mpi4py/MPI/Win.pyx", line 72, in mpi4py.MPI.Win.Create
mpi4py.MPI.Exception: MPI_ERR_WIN: invalid window
*** Error code 1
Comments (5)
-
-
@yurivict Did you manage to incorporate the patch to the testsuite to skip the failing tests? Can we close this issue?
-
- changed status to resolved
-
reporter I'll merge it with the next port update, thank you for reminding me.
-
@yurivict Please note mpi4py 3.0.1 was released recently. This patch-release contains the fix you need.
- Log in to comment
The usual thing... Open MPI break things and I have to waste my time fixing my testsuite. You should either complain to them, or apply this patch c2b6b7e.