|
[Sponsors] |
June 15, 2010, 12:06 |
problems with paraview
|
#1 |
Member
Ovidiu Michiu
Join Date: Apr 2010
Location: Munich, Germany
Posts: 53
Rep Power: 16 |
hello,
i try to install OF on user (not in root directory), on a linux platform (suse 11.2, 32 bits). when im trying to rebuild paraview i receive this error: did not find paraview- in these directories: PWD=/home/usersim/OpenFOAM/ThirdParty-1.6.x WM_THIRD_PARTY_DIR= abort build can anybody explain me why? thx Ovidiu, |
|
June 15, 2010, 18:43 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Ovidiu,
Quote:
Code:
. /home/usersim/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc Best regards, Bruno
__________________
Last edited by wyldckat; June 16, 2010 at 13:03. Reason: missed a ] ... and had forgotten to remove the extra ] ... |
||
June 16, 2010, 11:29 |
|
#3 |
Member
Ovidiu Michiu
Join Date: Apr 2010
Location: Munich, Germany
Posts: 53
Rep Power: 16 |
hello Bruno,
i activate the environmental variables for OF. i rebulid paraview in " /home/usersim/OpenFOAM/Third Party-1.6/; but when i run ./foamInstallationTest i receive the following error Executing ./foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: linux31 OS: Linux version 2.6.31.5-0.1-desktop ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/usersim/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/usersim/OpenFOAM/usersim-1.6 no no $WM_THIRD_PARTY_DIR /home/usersim/OpenFOAM/ThirdParty-1.6 yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/usersim/OpenFOAM/OpenFOAM-1.6 yes no yes $FOAM_APPBIN --------- env variable not set --------- yes $FOAM_SITE_APPBIN --------- env variable not set --------- no $FOAM_USER_APPBIN --------- env variable not set --------- no $WM_DIR --------- env variable not set --------- yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN --------- env variable not set --------- yes $FOAM_SITE_LIBBIN --------- env variable not set --------- no $FOAM_USER_LIBBIN --------- env variable not set --------- no $MPI_ARCH_PATH --------- env variable not set --------- yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- WARNING: gcc version does not match gcc supplied with this release of OpenFOAM Supplied version: 4.3.3 User version : 4.4.1 Minimum required: 4.3.1 gcc 4.4.1 WARNING: Conflicting installations: OpenFOAM settings : /bin/gcc current path : /usr/bin/gcc CRITICAL ERROR gzip 1.3.12 /usr/bin/gzip tar 1.21 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 2 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. done. Also, when i want to run a tutorial or to start paraview i receive this error If 'blockMesh' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf blockMesh or for paraview If 'paraFoam' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf paraFoam Can you tell me why? I want to use the software like an user, not like root, because like root i manage to install the software in the root directory, but is not a very good a idea to work like root on linux since im a beginner(don't want o install linux every 2 days). Best Regards, Ovidiu |
|
June 16, 2010, 13:09 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Ovidiu,
OK, on the first post you lead me to believe that you were trying to build OpenFOAM 1.6.x... but it seems that you want to build OpenFOAM 1.6. OpenFOAM 1.6 does not build with gcc 4.4.x (your suse's version of gcc), it only builds with gcc 4.3.x. So, my best guess is for you to follow Alberto's tutorial on how to install OpenFOAM 1.6.x in openSUSE 11.2: http://albertopassalacqua.com/?p=532 Best regards, Bruno
__________________
|
|
June 16, 2010, 14:24 |
|
#5 |
Member
Ovidiu Michiu
Join Date: Apr 2010
Location: Munich, Germany
Posts: 53
Rep Power: 16 |
Hello Bruno,
i follow Alberto's tutorial for building my OF, but i didn't download the OF-1.6.x clone from his site. I download the software from openfoam site, OF-1.6 and Third part. following his instructions, I manage to install it on root. then,i erase the folder and i install it on "/home/usersim/OpenFOAM" and it's working perfectly, when im login like root; but when im login like user, is not running the OF; i don't want to be root every time when im running this software; i want to be user(in my case "usersim"). 1. my question is, why is not working when im "usersim" and is working ok when im root? 2. i have to download Alberto's clone of OF-1.6.x, to properly running the software like user? my linux platform is SUSE 11.2 32 bits. Best Regards, Ovidiu |
|
June 19, 2010, 07:35 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Ovidiu,
Firstly, you should be able to build OpenFOAM with your user account! The root account should only be necessary for installing the necessary SUSE packages for building OpenFOAM. Secondly, by what I can understand in your description, you've moved the OpenFOAM folder, that was built with the root account, into the user account folder; you should also execute the following command under root to give the folder to the user: Code:
chown -R usersim:usersim /home/usersim/OpenFOAM Therefore, you have two possibilities:
Best regards, Bruno
__________________
Last edited by wyldckat; June 19, 2010 at 07:37. Reason: changed the OpenFOAM link to point directly to the readme |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Problems opening .vtu in ParaView | Bartek | ParaView | 0 | January 17, 2010 07:21 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |
ParaView Problems on Linux | DKLW | OpenFOAM Installation | 4 | October 31, 2009 21:22 |
Urgently need to install OpenFOAM: paraview problems. | rieuk | OpenFOAM Installation | 15 | July 4, 2009 13:40 |