|
[Sponsors] |
[foam-extend.org] paraview not runing? (foam extended 3.2 and ubuntu 15.04) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 1, 2017, 11:19 |
|
#21 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Frederik,
Quote:
From what I can see, there is no indication of a specific problem with file permissions. And given that the folders are all still assigned to your normal user-name and not assigned to "root", the more reason there is for there not being any permissions problems. If you want, you can change the ownership of the folder "/opt/foam-extend-3.2" to root, so that no one else without root powers can make modifications to the contents of this folder, but I don't see any other reason for it right now: Code:
sudo chown -R root:root /opt/foam-extend-3.2 To check this, load the foam-extend 3.2 environment and then run the following commands: Code:
cd ~/foam export > shell.environment.txt 2>&1 gzip < shell.environment.txt > shell.environment.txt.gz You can (or even should) also check the contents of the file "shell.environment.txt" to see if there is anything related to another version of OpenFOAM or foam-extend that might be getting in the way. Technically, the critical environment variable that we need to look at is the "LD_LIBRARY_PATH", by running the following command: Code:
export | grep LD_LIBRARY_PATH Bruno |
||
April 7, 2017, 10:07 |
|
#22 |
New Member
Frederik
Join Date: Dec 2015
Location: Germany
Posts: 25
Rep Power: 11 |
Hi Bruno,
you can find the "shell.environment.txt.gz" file attached to this post. The LD_LIBRARY_PATH environment variable does look a little cluttered. Code:
declare -x LD_LIBRARY_PATH="/opt/foam-extend-3.2/ThirdParty/packages/ParaView-4.3.1/platforms/linux64GccDPOpt/lib/paraview-4.3:/opt/foam-extend-3.2/ThirdParty/packages/scotch-6.0.4/platforms/linux64GccDPOpt/lib:/opt/foam-extend-3.2/ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/lib:/opt/foam-extend-3.2/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/lib:/opt/foam-extend-3.2/ThirdParty/packages/parmetis-4.0.3/platforms/linux64GccDPOpt/lib:/opt/foam-extend-3.2/ThirdParty/packages/metis-5.1.0/platforms/linux64GccDPOpt/lib:/opt/foam-extend-3.2/ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/lib:/opt/ThirdParty-2.3.0/platforms/linux64Gcc/openmpi-1.6.5/lib/openmpi/lib:/home/frederik/foam/frederik-3.2/lib/linux64GccDPOpt:/opt/site/3.2/lib/linux64GccDPOpt:/opt/foam-extend-3.2/lib/linux64GccDPOpt:/home/frederik/OpenFOAM/frederik-2.3.0/platforms/linux64GccDPOpt/lib:/usr/lib/openmpi/lib" Thank you very much for your help! Best regards, Frederik |
|
April 8, 2017, 08:29 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Frederik,
There are two critical paths that are loaded and that shouldn't be in the "LD_LIBRARY_PATH": Code:
/opt/ThirdParty-2.3.0/platforms/linux64Gcc/openmpi-1.6.5/lib/openmpi/lib /home/frederik/OpenFOAM/frederik-2.3.0/platforms/linux64GccDPOpt/lib In the wiki page http://openfoamwiki.net/index.php/In...with_the_Shell - you can find more details on how to deal with the shell environment and how to load only one OpenFOAM/foam-extend version at a time. Nonetheless, here are the steps I strongly suggest that you do:
It is possible to unload these two OpenFOAM environments with the alias wmUNSET, but there isn't a similar script in foam-extend. Best regards, Bruno |
|
April 20, 2017, 06:49 |
|
#24 | |
New Member
Frederik
Join Date: Dec 2015
Location: Germany
Posts: 25
Rep Power: 11 |
Hi Bruno,
now after easter i could try your proposed changes. I already had the aliases set up but you were right, I had all versions sourced one after another at the start. Quote:
I think I can live with it. I got used to the 'sudo paraview *.foam' way of starting paraview with foam extend. Thank you for all your help with my problem, but I guess I messed something up at the installing of one or more OF versions. I'll try a clean reinstall when I have finished my current project. Thank you for your time! 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 |