[MacPorts] #51578: paraview ffmpeg patch
#51578: paraview ffmpeg patch ---------------------------------+-------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: haspatch maintainer | Port: paraview ---------------------------------+-------------------------------- I found the upstream patch to fix ffmpeg for Paraview-5.0.1 (http://www.paraview.org/Bug/view.php?id=16001). Patches attached. -- Ticket URL: <https://trac.macports.org/ticket/51578> MacPorts <https://www.macports.org/> Ports system for OS X
#51578: paraview ffmpeg patch --------------------------+--------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch maintainer Port: paraview | --------------------------+--------------------------------- Comment (by jjstickel@…): Maybe should be a separate ticket, but mpi does not seem to work with this version of paraview: {{{ 11 12 import numpy as np ---> 13 from paraview import simple as pv 14 import vtk.numpy_interface.dataset_adapter as dsa 15 #import sys /Applications/Macports/paraview.app/Contents/Python/paraview/simple.py in <module>() 37 38 import paraview ---> 39 import servermanager 40 import lookuptable 41 /Applications/Macports/paraview.app/Contents/Python/paraview/servermanager.py in <module>() 48 import paraview, re, os, os.path, new, sys, atexit, vtk 49 ---> 50 from vtkPVServerImplementationCorePython import * 51 from vtkPVClientServerCoreCorePython import * 52 from vtkPVServerManagerCorePython import * ImportError: dlopen(/Applications/Macports/paraview.app/Contents/Libraries/vtkPVServerImplementationCorePython.so, 2): Library not loaded: /opt/local/lib/mpich-mp/libmpi.12.dylib Referenced from: /Applications/Macports/paraview.app/Contents/Libraries //libvtkPVClientServerCoreCore-pv5.0.1.dylib Reason: Incompatible library version: libvtkPVClientServerCoreCore- pv5.0.1.dylib requires version 14.0.0 or later, but libmpi.12.dylib provides version 13.0.0 }}} -- Ticket URL: <https://trac.macports.org/ticket/51578#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51578: paraview ffmpeg patch --------------------------+--------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch maintainer Port: paraview | --------------------------+--------------------------------- Comment (by dstrubbe@…): Is your mpich up-to-date? And are there possibly other libmpi's around on your system interfering in the path? Mine gives 14.0.0: {{{ $ otool -L /opt/local/lib/mpich-mp/libmpi.12.dylib /opt/local/lib/mpich-mp/libmpi.12.dylib: /opt/local/lib/mpich-mp/libmpi.12.dylib (compatibility version 14.0.0, current version 14.0.0) /opt/local/lib/mpich-mp/libpmpi.12.dylib (compatibility version 14.0.0, current version 14.0.0) /opt/local/lib/libgcc/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) /opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libgcc/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0) }}} -- Ticket URL: <https://trac.macports.org/ticket/51578#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51578: paraview ffmpeg patch --------------------------+--------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch maintainer Port: paraview | --------------------------+--------------------------------- Comment (by dstrubbe@…): ffmpeg patch changes committed r149255. -- Ticket URL: <https://trac.macports.org/ticket/51578#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51578: paraview ffmpeg patch --------------------------+--------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch maintainer Port: paraview | --------------------------+--------------------------------- Comment (by jjstickel@…): Replying to [comment:2 dstrubbe@…]:
Is your mpich up-to-date? And are there possibly other libmpi's around on your system interfering in the path? Mine gives 14.0.0:
Good guess. I have openmpi installed for something else, and otool indicates that that libmpi.12.dylib is version 13.0.0. Paraview must be mixing up the library linking and paths. It probably would work for me to use openmpi variant for Paraview, but I don't have time to troubleshoot right now (and I don't need mpi anyway). Please close the ticket if you think the ffmpeg issue is appropriately resolved. -- Ticket URL: <https://trac.macports.org/ticket/51578#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51578: paraview ffmpeg patch --------------------------+--------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch maintainer Port: paraview | --------------------------+--------------------------------- Changes (by dstrubbe@…): * status: new => closed * resolution: => fixed Comment: Did you modify DYLD_LIBRARY_PATH by any chance? I'm not sure why the wrong mpi lib would be picked up otherwise. -- Ticket URL: <https://trac.macports.org/ticket/51578#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#51578: paraview ffmpeg patch --------------------------+--------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch maintainer Port: paraview | --------------------------+--------------------------------- Comment (by jjstickel@…): Replying to [comment:5 dstrubbe@…]:
Did you modify DYLD_LIBRARY_PATH by any chance? I'm not sure why the wrong mpi lib would be picked up otherwise.
I do add /Applications/Macports/paraview.app/Contents/Libraries/ to DYLD_LIBRARY_PATH, and a local user folder with f2py libraries, but nothing from /opt/local. -- Ticket URL: <https://trac.macports.org/ticket/51578#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#51578: paraview ffmpeg patch --------------------------+--------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch maintainer Port: paraview | --------------------------+--------------------------------- Comment (by jjstickel@…): Replying to [comment:6 jjstickel@…]:
Replying to [comment:5 dstrubbe@…]:
Did you modify DYLD_LIBRARY_PATH by any chance? I'm not sure why the wrong mpi lib would be picked up otherwise.
I do add /Applications/Macports/paraview.app/Contents/Libraries/ to DYLD_LIBRARY_PATH, and a local user folder with f2py libraries, but nothing from /opt/local.
Nevermind, I had my errors because I was running from a terminal where I load a bunch of stuff in DYLD_LIBRARY_PATH for the purpose of running OpenFOAM simulations. This is specific to this use case, so you may disregard my issue. -- Ticket URL: <https://trac.macports.org/ticket/51578#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts