CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Difficulties using parafoam, one critical error in installation of OpenFOAM-1.6 (https://www.cfd-online.com/Forums/openfoam-installation/74353-difficulties-using-parafoam-one-critical-error-installation-openfoam-1-6-a.html)

PeterNaa March 30, 2010 12:13

One critical error in installation of OpenFOAM-1.6
 
Dear all

I have a question regarding my installation of
OpenFOAM-1.6. My question has to do with my one critical error and the no's I get when I run the foamInstallationTest:

Executing /home/peter/OpenFOAM/OpenFOAM-1.6/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: peter-desktop
OS: Linux version 2.6.28-11-generic
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/peter/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/peter/OpenFOAM/peter-1.6 yes no
$WM_THIRD_PARTY_DIR /home/peter/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/peter/OpenFOAM/OpenFOAM-1.6 yes yes yes

$FOAM_APPBIN ...1.6/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_SITE_APPBIN ...penFOAM/site/1.6/bin/linux64GccDPOpt no no
$FOAM_USER_APPBIN ...1.6/applications/bin/linux64GccDPOpt no no
$WM_DIR /home/peter/OpenFOAM/OpenFOAM-1.6/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.6/lib/linux64GccDPOpt yes yes yes
$FOAM_SITE_LIBBIN ...penFOAM/site/1.6/lib/linux64GccDPOpt no no
$FOAM_USER_LIBBIN ...enFOAM/peter-1.6/lib/linux64GccDPOpt no no
$MPI_ARCH_PATH ...nmpi-1.3.3/platforms/linux64GccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.3
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

gzip 1.3.12 /bin/gzip
tar 1.20 /bin/tar
icoFoam 1.6 .../OpenFOAM-1.6/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for trouble shooting.

done.



I hope someone can help me with that. I am new to linux so
it will be difficult for me to understand an answer which is
too brief or too sophisticated.

Regards Peter

wyldckat April 6, 2010 13:04

Greetings Peter,

I just sent you a reply to the pm you sent me. As for this thread, what has changed since your post? By the message you sent me, I think you've reinstalled OpenFOAM-1.6. If so, what instructions did you follow this time and does it all work now?

Best regards,
Bruno

PeterNaa April 7, 2010 06:45

Error writing polyMesh in line 346 of blockMeshApp.C, OF-1.6, Ubuntu 9.04
 
Dear Bruno

You are correct, that I reinstalled OpenFOAM-1.6 (running Ubuntu 9.04).
In doing so, I was suddenly not able to run blockMesh. From your mail you indicated that it had to do with privilliges and the sodu command in
Ubuntu 9.04. Your solution, which proved correct, was to execute:

sudo chown -R username:username \home\username\OpenFOAM


Regards Peter

PeterNaa April 9, 2010 03:25

Critical error message in foamInstallationTest, OF-1.6
 
Dear all


The problem with critical error messages
after executing foamInstallationTest could
in my case (now for a 32 bit system) be
solved by setting

WM_ARCH_OPTION = 32

in the file OpenFOAM\OpenFOAM-1.6\etc\bashrc

(remember saving and resourcing)

Peter

wyldckat April 9, 2010 08:48

Hello Peter,

Thanks for the post, because I had completely forgotten to fix that yesterday :( Now at the post #335 of the install cookbook for Ubuntu you now have the fixed versions, with the addition of multi-core detection, thus making OpenFOAM built as fast as many cores the machines have available :D

Best regards,
Bruno

PS: as you suggested yesterday, I've made a rough document of helpful threads for building OpenFOAM... see my signature :)


All times are GMT -4. The time now is 19:30.