test install of petsc4py-3.7.0 fails with error undefined symbol: DMGetLabelOutput
Issue #60
invalid
Complete error is
running test
Traceback (most recent call last):
File "setup.py", line 266, in <module>
main()
File "setup.py", line 263, in main
run_setup()
File "setup.py", line 136, in run_setup
**setup_args)
File "/space/hpc-apps/obs/python-2.7.10-mpi4py-mpt/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/space/hpc-apps/obs/python-2.7.10-mpi4py-mpt/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/space/hpc-apps/obs/python-2.7.10-mpi4py-mpt/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 254, in run_testsuite
err = main(args)
File "test/runtests.py", line 187, in main
package = import_package(options, pkgname)
File "test/runtests.py", line 85, in import_package
package.init(args, arch=options.arch)
File "build/lib.linux-x86_64-2.7/petsc4py/__init__.py", line 42, in init
PETSc = petsc4py.lib.ImportPETSc(arch)
File "build/lib.linux-x86_64-2.7/petsc4py/lib/__init__.py", line 29, in ImportPETSc
return Import('petsc4py', 'PETSc', path, arch)
File "build/lib.linux-x86_64-2.7/petsc4py/lib/__init__.py", line 64, in Import
module = imp.load_module(fullname, fo, fn, stuff)
ImportError: build/lib.linux-x86_64-2.7/petsc4py/lib/arch-linux2-c-debug/PETSc.so: undefined symbol: DMGetLabelOutput
Comments (3)
-
-
Any update on this issue? Could you resolve it?
-
- changed status to invalid
- Log in to comment
This usually means a version mismatch between PETSc and petsc4py. Either use the same version tarballs, or the same repository branches (i.e, if you use
petsc/maint
then usepetsc4py/maint
). Additonally, If you are using the latest PETSc release tarball, you can use thepetsc4py/maint
branch.