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 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 |
1 Attachment(s)
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 |
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 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 |
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 |
All times are GMT -4. The time now is 14:17. |