#51578 closed defect (fixed)
paraview ffmpeg patch
Reported by: | jjstickel (Jonathan Stickel) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch maintainer | Cc: | dstrubbe (David Strubbe) |
Port: | paraview |
Description
I found the upstream patch to fix ffmpeg for Paraview-5.0.1 (http://www.paraview.org/Bug/view.php?id=16001). Patches attached.
Attachments (2)
Change History (9)
Changed 8 years ago by jjstickel (Jonathan Stickel)
Attachment: | paraview_Portfile.diff added |
---|
Changed 8 years ago by jjstickel (Jonathan Stickel)
Attachment: | ffmpeg3_compat.patch added |
---|
comment:1 Changed 8 years ago by jjstickel (Jonathan Stickel)
comment:2 follow-up: 4 Changed 8 years ago by dstrubbe (David Strubbe)
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)
comment:4 Changed 8 years ago by jjstickel (Jonathan Stickel)
Replying to 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.
comment:5 follow-up: 6 Changed 8 years ago by dstrubbe (David Strubbe)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Did you modify DYLD_LIBRARY_PATH by any chance? I'm not sure why the wrong mpi lib would be picked up otherwise.
comment:6 follow-up: 7 Changed 8 years ago by jjstickel (Jonathan Stickel)
Replying to 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.
comment:7 Changed 8 years ago by jjstickel (Jonathan Stickel)
Replying to jjstickel@…:
Replying to 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.
Maybe should be a separate ticket, but mpi does not seem to work with this version of paraview:
Installing with -mpich resolved the error.