paraview not runing? (foam extended 3.2 and ubuntu 15.04)
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 |
Hi Milan,
This feels familiar... please follow the instructions from this post of mine from a few months ago: Quote:
Bruno |
1 Attachment(s)
Thanks
Here it is |
Please try again with the following commands:
Code:
export QT_SELECT=qt4 Code:
source $HOME/foam/foam-extend-3.2/etc/bashrc Code:
foam If it goes wrong somewhat, then please attach the new log files, namely "log.makePV.gz" and "log.makeFE.gz". |
1 Attachment(s)
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$ :confused: Attached is the log.makePV.gz file. Thanks for helping me |
Quick question: Did you install the packages that are recommended here: https://openfoamwiki.net/index.php/I...u#Ubuntu_15.10 ?
|
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? |
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 |
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? |
Quote:
PS.I solved that, let me see how it goes with the rest... |
2 Attachment(s)
Everything went well, except the paraview compile. Please see the log.makePV. :confused:
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 :( |
Quick answer: That problem is the reason why I requested the following details:
Quote:
|
Sorry I missed that! :o
The third command gives an output: milan@milan-asus:~/foam/foam-extend-3.2/etc$ echo $QT_BIN_DIR /usr/bin/qmake |
Quote:
Code:
source $HOME/foam/foam-extend-3.2/etc/bashrc |
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 all the best |
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" |
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 |
Greeting Bruno,
thank you for taking the time to analyse my problem. Quote:
Code:
/opt/foam-extend-3.2/ThirdParty/packages/ParaView-4.3.1/platforms/linux64GccDPOpt/bin/paraview Quote:
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 |
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 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 |
1 Attachment(s)
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 |
All times are GMT -4. The time now is 05:01. |