|
[Sponsors] |
[foam-extend.org] paraview not runing? (foam extended 3.2 and ubuntu 15.04) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2016, 11:10 |
paraview not runing? (foam extended 3.2 and ubuntu 15.04)
|
#1 |
Member
Milan
Join Date: Dec 2013
Posts: 38
Rep Power: 13 |
Hi,
I installed fe32 but have a problem with paraFoam / paraview not running. I had a similar issue on CentOS, I remember there was a way to repair it or to download binaries from another link, etc. I dont wish to experiment now so if someone can give me a hint I will appreciate it: If I type paraview I get: The program 'paraview' is currently not installed. You can install it by typing: sudo apt-get install paraview If I type: paraFoam I get: file does not exist: './system/controlDict' usage: paraFoam [OPTION] options: -case dir specify alternative case directory -region name specify mesh region name -touch only create the .OpenFOAM or .foam file -nativeReader use the paraview native reader for OpenFOAM * start paraview with the OpenFOAM libraries In PV4FoamReader I have: milan@milan-asus:~/foam/foam-extend-3.2/applications/utilities/postProcessing/graphics/PV4FoamReader/PV4FoamReader$ ls CMakeLists.txt PV4FoamReader.qrc PV4FoamReader_SM.xml PV4FoamReader.xml vtkPV4FoamReader.cxx vtkPV4FoamReader.h |
|
April 16, 2016, 12:34 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Milan,
This feels familiar... please follow the instructions from this post of mine from a few months ago: Quote:
Bruno
__________________
|
||
April 17, 2016, 14:41 |
|
#3 |
Member
Milan
Join Date: Dec 2013
Posts: 38
Rep Power: 13 |
Thanks
Here it is |
|
April 17, 2016, 15:35 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Please try again with the following commands:
Code:
export QT_SELECT=qt4 export QT_BIN_DIR=$(which qmake) source $HOME/foam/foam-extend-3.2/etc/bashrc foam3rdParty ./AllMake.stage4 > log.make 2>&1 gzip < log.make > log.makePV.gz pwd Code:
source $HOME/foam/foam-extend-3.2/etc/bashrc which paraview Code:
foam ./Allwmake > log.make 2>&1 gzip < log.make > log.makeFE.gz If it goes wrong somewhat, then please attach the new log files, namely "log.makePV.gz" and "log.makeFE.gz". |
|
April 18, 2016, 06:06 |
|
#5 |
Member
Milan
Join Date: Dec 2013
Posts: 38
Rep Power: 13 |
Thanks, it did not give any answer on the "which paraview" step:
milan@milan-asus:~/foam/foam-extend-3.2/ThirdParty$ which paraview milan@milan-asus:~/foam/foam-extend-3.2/ThirdParty$ Attached is the log.makePV.gz file. Thanks for helping me |
|
April 19, 2016, 19:10 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick question: Did you install the packages that are recommended here: https://openfoamwiki.net/index.php/I...u#Ubuntu_15.10 ?
|
|
April 28, 2016, 13:13 |
|
#7 |
Member
Milan
Join Date: Dec 2013
Posts: 38
Rep Power: 13 |
Sorry for a late reply, too much work.
Yes, I installed according to instructions for 14.04, my OS is 15.04 tough. Did I miss something there? |
|
May 1, 2016, 18:48 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
If it doesn't work once again, then please run the following commands and tell me what they give you: Code:
export QT_SELECT=qt4 export QT_BIN_DIR=$(which qmake) echo $QT_BIN_DIR |
||
May 2, 2016, 11:19 |
|
#9 |
Member
Milan
Join Date: Dec 2013
Posts: 38
Rep Power: 13 |
Thanks
I get: milan@milan-asus:~$ zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev \ > zlib1g-dev: command not found I understand I need a "zlib1g-dev" package? |
|
May 2, 2016, 11:32 |
|
#10 |
Member
Milan
Join Date: Dec 2013
Posts: 38
Rep Power: 13 |
||
May 2, 2016, 15:05 |
|
#11 |
Member
Milan
Join Date: Dec 2013
Posts: 38
Rep Power: 13 |
Everything went well, except the paraview compile. Please see the log.makePV.
I also attached the logmakeFE. In the first one it says: WARNING: Skipping the installation of ParaView-4.x.x. WARNING: Please make sure the QT_BIN_DIR environment variable properly WARNING: initialized in the file prefs.sh or prefs.csh WARNING: The command $QT_BIN_DIR/qmake needs to be valid |
|
May 4, 2016, 12:08 |
|
#13 |
Member
Milan
Join Date: Dec 2013
Posts: 38
Rep Power: 13 |
Sorry I missed that!
The third command gives an output: milan@milan-asus:~/foam/foam-extend-3.2/etc$ echo $QT_BIN_DIR /usr/bin/qmake |
|
May 8, 2016, 15:10 |
|
#14 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Code:
source $HOME/foam/foam-extend-3.2/etc/bashrc export QT_SELECT=qt4 export QT_BIN_DIR=$(which qmake) foam3rdParty ./AllMake.stage4 > log.make 2>&1 gzip < log.make > log.makePV.gz pwd |
||
January 18, 2017, 11:29 |
|
#15 |
New Member
Join Date: Oct 2016
Posts: 4
Rep Power: 10 |
Hi,
I have ran AllMake in my $FOAM_INST_DIR/foam-extend-3.2/ThirdParty directory in order to install Paraview. Everything seems fine but if I run the command paraview, (or paraFoam in a case directory), i get the message: command not found. I think that the environment variables are set in the correct way. The AllMake output is: Code:
This system rpm command: rpm ======================================== Starting ThirdParty Allwmake ======================================== This system rpm command: rpm ======================================== Starting ThirdParty AllMake: Stage1 ======================================== Building cmake 3.2.2 Package name : cmake-3.2.2 Package URL : http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz RPM spec file name: cmake-3.2.2.spec Additional flags : Updating the ThirdParty environment variables before building package cmake-3.2.2 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/cmake-3.2.2-linux64GccDPOpt.x86_64.rpm Package cmake-3.2.2 is already installed Done installing package ======================================== Done ThirdParty AllMake: Stage1 ======================================== This system rpm command: rpm ======================================== Starting ThirdParty AllMake: Stage2 ======================================== Building openmpi 1.6.5 Package name : openmpi-1.6.5 Package URL : http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.5.tar.gz RPM spec file name: openmpi-1.6.5.spec Additional flags : --define Updating the ThirdParty environment variables before building package openmpi-1.6.5 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/openmpi-1.6.5-linux64GccDPOpt.x86_64.rpm Package openmpi-1.6.5 is already installed Done installing package ======================================== Done ThirdParty AllMake: Stage2 ======================================== This system rpm command: rpm ======================================== Starting ThirdParty AllMake: Stage3 ======================================== Building metis 5.1.0 Package name : metis-5.1.0 Package URL : http://downloads.sourceforge.net/project/openfoam-extend/foam-extend-3.1/ThirdParty/metis-5.1.0.tar.gz RPM spec file name: metis-5.1.0.spec Additional flags : Updating the ThirdParty environment variables before building package metis-5.1.0 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/metis-5.1.0-linux64GccDPOpt.x86_64.rpm Package metis-5.1.0 is already installed Done installing package Building ParMGridGen 1.0 Package name : ParMGridGen-1.0 Package URL : http://downloads.sourceforge.net/project/openfoam-extend/foam-extend-3.1/ThirdParty/ParMGridGen-1.0.tar.gz RPM spec file name: ParMGridGen-1.0.spec Additional flags : Updating the ThirdParty environment variables before building package ParMGridGen-1.0 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/ParMGridGen-1.0-linux64GccDPOpt.x86_64.rpm Package ParMGridGen-1.0 is already installed Done installing package Building Libccmio 2.6.1 Package name : libccmio-2.6.1 Package URL : http://portal.nersc.gov/project/visit/third_party/libccmio-2.6.1.tar.gz RPM spec file name: libccmio-2.6.1.spec Additional flags : Updating the ThirdParty environment variables before building package libccmio-2.6.1 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/libccmio-2.6.1-linux64GccDPOpt.x86_64.rpm Package libccmio-2.6.1 is already installed Done installing package Building Mesquite 2.1.2 Package name : mesquite-2.1.2 Package URL : http://downloads.sourceforge.net/project/openfoam-extend/foam-extend-3.1/ThirdParty/mesquite-2.1.2.tar.gz RPM spec file name: mesquite-2.1.2.spec Additional flags : Updating the ThirdParty environment variables before building package mesquite-2.1.2 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/mesquite-2.1.2-linux64GccDPOpt.x86_64.rpm Package mesquite-2.1.2 is already installed Done installing package Building Scotch 6.0.4 Package name : scotch-6.0.4 Package URL : http://downloads.sourceforge.net/project/openfoam-extend/foam-extend-3.1/ThirdParty/scotch_6.0.4.tar.gz RPM spec file name: scotch-6.0.4.spec Additional flags : Updating the ThirdParty environment variables before building package scotch-6.0.4 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/scotch-6.0.4-linux64GccDPOpt.x86_64.rpm Package scotch-6.0.4 is already installed Done installing package Building ParMetis 4.0.3 Package name : parmetis-4.0.3 Package URL : http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.3.tar.gz RPM spec file name: parmetis-4.0.3.spec Additional flags : Updating the ThirdParty environment variables before building package parmetis-4.0.3 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/parmetis-4.0.3-linux64GccDPOpt.x86_64.rpm Package parmetis-4.0.3 is already installed Done installing package Building PyFoam 0.6.4 Package name : PyFoam-0.6.4 Package URL : http://openfoamwiki.net/images/3/3b/PyFoam-0.6.4.tar.gz RPM spec file name: PyFoam-0.6.4.spec Additional flags : Updating the ThirdParty environment variables before building package PyFoam-0.6.4 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/noarch/PyFoam-0.6.4-1.noarch.rpm Package PyFoam-0.6.4 is already installed Done installing package Building hwloc 1.10.1 Package name : hwloc-1.10.1 Package URL : http://downloads.sourceforge.net/project/openfoam-extend/foam-extend-3.1/ThirdParty/hwloc-1.10.1.tar.gz RPM spec file name: hwloc-1.10.1.spec Additional flags : Updating the ThirdParty environment variables before building package hwloc-1.10.1 RPM file name : /homel/n77658/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/hwloc-1.10.1-linux64GccDPOpt.x86_64.rpm Package hwloc-1.10.1 is already installed Done installing package ======================================== Done ThirdParty AllMake: Stage3 ======================================== This system rpm command: rpm ======================================== Starting ThirdParty AllMake: Stage4 ======================================== Using system installed QT ======================================== Done ThirdParty AllMake: Stage4 ======================================== ======================================== Starting ThirdParty AllMake: Stage5 ======================================== The source code for swak4Foam is already present under ./rpmBuild/BUILD/swak4Foam-0.3.2 Please remove this directory if you want to refresh your installation of swak4Foam ======================================== Done ThirdParty AllMake: Stage5 ======================================== ======================================== Done ThirdParty Allwmake ======================================== all the best |
|
March 19, 2017, 06:54 |
|
#16 |
New Member
Frederik
Join Date: Dec 2015
Location: Germany
Posts: 25
Rep Power: 11 |
I have the same problem on Ubuntu 14.04.
When you enter >> which qmake and get the output /usr/bin/qmake try: export QT_BIN_DIR=/usr/bin/ instead of: export QT_BIN_DIR=/usr/bin/qmake EDIT: It did create a new error so I guess I was wrong /opt/foam-extend-3.2/bin/paraFoam: Zeile 125: 8154 Speicherzugriffsfehler (Speicherabzug geschrieben) paraview --data="$caseFile" |
|
March 25, 2017, 17:26 |
|
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@GFarello: Have you managed to solve the problem you had a couple of months ago? If not, do you still need help with it. Because if you do, I will need to know more details about the exact steps that you've taken, because there are no signs of ParaView having been built. @a_slow_old_man: I've used Google translate and the error message it indicated was: Code:
Line 125: 8154 Memory access error (memory dumped) Code:
which paraview Code:
paraFoam -nativeReader Bruno
__________________
|
|
March 26, 2017, 06:57 |
|
#18 |
New Member
Frederik
Join Date: Dec 2015
Location: Germany
Posts: 25
Rep Power: 11 |
Greeting Bruno,
thank you for taking the time to analyse my problem. I get the response Code:
/opt/foam-extend-3.2/ThirdParty/packages/ParaView-4.3.1/platforms/linux64GccDPOpt/bin/paraview Code:
/opt/foam-extend-3.2/bin/paraFoam: line 125: 4442 Segmentation fault (core dumped) paraview --data="$caseFile" Here is found this entry: Code:
ERROR: apport (pid 4715) Sun Mar 26 11:48:11 2017: this executable already crashed 2 times, ignoring Best regards, Frederik |
|
March 26, 2017, 15:30 |
|
#19 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Frederik,
Then I have the suspicion that the problem has to do with file/folder permissions. Please run the following commands: Code:
cd ~/foam find /opt/foam-extend-3.2/ThirdParty/packages/ParaView-4.3.1/platforms/linux64GccDPOpt/ | xargs ls -l > ParaViewFileList.txt gzip < ParaViewFileList.txt > ParaViewFileList.txt.gz I ask this because I'm not 100% certain of what is the correct command or command sequence that needs to be done in your installation, because installing in "/opt" usually means that it was built with administrative powers, which is risky to do, since one wrong step could damage the whole system I do know that chown or chroot will be needed, problem is in which folders... The other possibility is whether there is any other software that is found in the normal user account, through the paths set in "PATH" and/or "LD_LIBRARY_PATH". Best regards, Bruno
__________________
|
|
March 28, 2017, 07:44 |
|
#20 |
New Member
Frederik
Join Date: Dec 2015
Location: Germany
Posts: 25
Rep Power: 11 |
Hello Bruno,
please do excuse my tardiness. I did not have access to the computer in question for the last two days. I ran the commands you posted. You can find the "ParaViewFileList.txt.gz" file attached to this post. Thank you once again for looking into my issue. Best regards, Frederik |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Salome] Salome import "Cannot find file "points" in directory..." | mismichael | OpenFOAM Meshing & Mesh Conversion | 6 | June 24, 2024 04:17 |
[foam-extend.org] foam-extend 3.2 Paraview installation problem on Ubuntu 18.04 | ordinary | OpenFOAM Installation | 3 | September 1, 2018 23:01 |
[foam-extend.org] Foam Extend 3.2 in ubuntu 16.04 LTS | JMosiezny | OpenFOAM Installation | 15 | December 9, 2017 09:20 |
[foam-extend.org] core dumped for foam extended 3.2 on Ubuntu 16.04 | qjh888 | OpenFOAM Installation | 9 | September 27, 2016 17:39 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |