CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

problems with paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2010, 12:06
Default problems with paraview
  #1
Member
 
inginer's Avatar
 
Ovidiu Michiu
Join Date: Apr 2010
Location: Munich, Germany
Posts: 53
Rep Power: 16
inginer is on a distinguished road
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,
inginer is offline   Reply With Quote

Old   June 15, 2010, 18:43
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Ovidiu,

Quote:
Originally Posted by inginer View Post
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?
Did you activate the OpenFOAM environment? Namely, sourced the bashrc file like so:
Code:
. /home/usersim/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc
And don't forget the space after the first dot!

Best regards,
Bruno
__________________

Last edited by wyldckat; June 16, 2010 at 13:03. Reason: missed a ] ... and had forgotten to remove the extra ] ...
wyldckat is offline   Reply With Quote

Old   June 16, 2010, 11:29
Default
  #3
Member
 
inginer's Avatar
 
Ovidiu Michiu
Join Date: Apr 2010
Location: Munich, Germany
Posts: 53
Rep Power: 16
inginer is on a distinguished road
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
inginer is offline   Reply With Quote

Old   June 16, 2010, 13:09
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   June 16, 2010, 14:24
Default
  #5
Member
 
inginer's Avatar
 
Ovidiu Michiu
Join Date: Apr 2010
Location: Munich, Germany
Posts: 53
Rep Power: 16
inginer is on a distinguished road
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
inginer is offline   Reply With Quote

Old   June 19, 2010, 07:35
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Thridly, as I've said before, one can only build OpenFOAM 1.6 using gcc 4.3.x and OpenFOAM 1.6.x can be built with either gcc 4.3.x or 4.4.x.
Therefore, you have two possibilities:
  1. You can build/use OpenFOAM 1.6, using the precompiled gcc 4.3.3 that comes with OpenFOAM's binaries and follow the instructions available on http://www.openfoam.com/docs/README.php
  2. You can follow Alberto's instructions to install OpenFOAM 1.6.x, if you want to use SUSE's gcc 4.4.1 compiler.
Ah, by the way, since you are using the 32 bit version of SUSE, don't forget to edit the file OpenFOAM-1.6.x/etc/bashrc and change the variable WM_ARCH_OPTION from 64 to 32.

Best regards,
Bruno
__________________

Last edited by wyldckat; June 19, 2010 at 07:37. Reason: changed the OpenFOAM link to point directly to the readme
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 10:38.