|
[Sponsors] |
[OpenFOAM.org] ParaView Installation: Python problem |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 11 ![]() |
Hello guys,
I am trying to install ThirdParty-5.0 and have some trouble with the ParaView part: I followed the adapted instructions from the openfoamwiki for installing OpenFOAM-4.1 on OpenSUSE Leap 42.1 (https://openfoamwiki.net/index.php/I...4.1/openSUSE): Code:
./makeParaView -python -mpi -python-lib /usr/lib64/libpython2.7.so.1.0 > log.makePV 2>&1 Code:
[ 89%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkPVClientServerCoreRenderingPythonD.dir/vtkPVDataRepresentationPython.cxx.o /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libicui18n.so.54, needed by /home/kate/miniconda3/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libicuuc.so.54, needed by /home/kate/miniconda3/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libicudata.so.54, needed by /home/kate/miniconda3/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link) /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_clone_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `u_strToLower_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_setMillis_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_close_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_openTimeZones_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_toUnicode_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `u_strToUpper_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_getDefaultTimeZone_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `uenum_next_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_getStandardName_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucol_setAttribute_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucol_strcoll_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_getTimeZoneDisplayName_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_setSubstChars_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_openCountryTimeZones_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_openTimeZoneIDEnumeration_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `u_errorName_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_getAlias_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_compareNames_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_fromUnicode_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_getDefaultName_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_inDaylightTime_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_get_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_close_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_countAvailable_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_getMaxCharSize_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_open_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucol_open_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucol_close_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucol_getSortKey_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_getAvailableName_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_getDSTSavings_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucal_open_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `uenum_close_54' /home/kate/miniconda3/lib/libQt5Core.so.5: undefined reference to `ucnv_countAliases_54' collect2: error: ld returned 1 exit status CommandLineExecutables/CMakeFiles/pvpython.dir/build.make:129: recipe for target 'bin/pvpython' failed make[2]: *** [bin/pvpython] Error 1 CMakeFiles/Makefile2:46702: recipe for target 'CommandLineExecutables/CMakeFiles/pvpython.dir/all' failed make[1]: *** [CommandLineExecutables/CMakeFiles/pvpython.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 89%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/pqAnimationScene.cxx.o [ 89%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/pqApplicationCore.cxx.o [...] [ 91%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/moc_pqXYFunctionalBagChartView.cpp.o [ 91%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/moc_pqXYHistogramChartView.cpp.o [ 91%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/moc_pqXYChartView.cpp.o [ 91%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/moc_pqPythonView.cpp.o [ 91%] Linking CXX shared library ../../lib/libvtkpqCore-pv5.4.so [ 91%] Built target pqCore Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 Best regards, Kate |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
|
Hi,
Did you already try Code:
# zypper wp libicui18n.so.54 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 11 ![]() |
Hello Alexey,
Thanks for your reply. I got the following: Code:
kate@linux-4r1e:~> zypper wp libicui18n.so.54 Command 'what-provides' is replaced by 'search --provides --match-exact'. See 'help search' for all available options. Loading repository data... Reading installed packages... No matching items found. kate@linux-4r1e~> zypper search --provides --match-exact libicui18n.so.54 Loading repository data... Reading installed packages... No matching items found. kate@linux-4r1e:~> Kate |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
|
Hi Kate,
You could also try search without ".54" path, but quick googling of "miniconda3 libicu" reveals, that it is common problem with conda to have version mismatch in libraries (ex. https://github.com/conda-forge/r-irk...stock/issues/3). Could you run "conda list" to learn if you have "icu" package installed, check its version, and then maybe manually create required symlink in conda libraries folder. You could also... 1. Instruct ParaView build script to use system Qt libraries instead of ones, which come with conda. 2. Install binary version of ParaView 5.4. There is at least one repo in OBS (https://build.opensuse.org/package/b...SUSE_Leap_42.1). According to SPEC file, it has Python scripting compiled-in. Then you can use built-on FOAM reader (i.e. start paraFoam with -builtin flag or create alias). |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 11 ![]() |
Thanks for your help, Alexey,
Indeed this seems to be a conda related problem. I solved it doing the following: 1) Clean OpenSUSE Leap 42.3 install with python and python3 2) Installed neccessary additional python packages like numpy via zypper 3) Installed of50 using the official openfoam.org instructions except Code:
./makeParaView -python -mpi -python-lib /usr/lib64/libpython2.7.so.1.0 Code:
./makeParaView Worked so far. Kate |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
|
Rather radical solution, but whatever works
![]() |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] OpenFOAM 2.3.1: installation problem with ParaView 4.1.0 | hjw | OpenFOAM Installation | 5 | November 17, 2015 21:14 |
[OpenFOAM] Paraview display problem | jiejie | ParaView | 4 | October 13, 2013 21:29 |
[General] Problem in using paraview | meballav | ParaView | 11 | October 12, 2012 16:03 |
Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7 | Wley | OpenFOAM Installation | 2 | September 28, 2012 06:06 |
[OpenFOAM] Problem running paraview (libQVTK?) | t_clark | ParaView | 2 | August 8, 2012 05:23 |