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

OpenFoam 2.0.0 installation

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2011, 03:19
Exclamation OpenFoam 2.0.0 installation
  #1
New Member
 
Join Date: Jun 2011
Posts: 3
Rep Power: 15
Jan_Peters is on a distinguished road
Hello everyone,

yesterday I tried installing OpenFoam on my computer following the source installation instructions. After building everything the Installation test gives me the following:

Quote:
Executing ./foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: debianfam
OS: Linux version 2.6.32-5-686
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /usr/local/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /root/OpenFOAM/root-2.0.0 no no
$WM_THIRD_PARTY_DIR /usr/local/OpenFOAM/ThirdParty-2.0.0 yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /usr/local/OpenFOAM/OpenFOAM-2.0.0 yes yes yes

$FOAM_APPBIN ...AM-2.0.0/platforms/linuxGccDPOpt/bin yes yes yes
$FOAM_SITE_APPBIN ...te/2.0.0/platforms/linuxGccDPOpt/bin no no
$FOAM_USER_APPBIN ...ot-2.0.0/platforms/linuxGccDPOpt/bin no no
$WM_DIR /usr/local/OpenFOAM/OpenFOAM-2.0.0/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 ...AM-2.0.0/platforms/linuxGccDPOpt/lib yes yes yes
$FOAM_SITE_LIBBIN ...te/2.0.0/platforms/linuxGccDPOpt/lib no no
$FOAM_USER_LIBBIN ...ot-2.0.0/platforms/linuxGccDPOpt/lib no no
$MPI_ARCH_PATH ...0.0/platforms/linuxGcc/openmpi-1.5.3 yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
flex 2.5.35 /usr/bin/flex
[: 460: unexpected operator
[: 460: unexpected operator
gcc 4.4.5 /usr/bin/gcc
gzip 1.3.12 /bin/gzip
tar 1.23 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /usr/local/OpenFOAM/OpenFOAM-2.0.0/platforms/linuxGccDPOpt/bin/icoFoam
current path :
CRITICAL ERROR

-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.
The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for troubleshooting.

Done
If I understand this right the installation expects icoFoam to be in /usr/local/OpenFOAM/OpenFOAM-2.0.0/platforms/linuxGccDPOpt/bin/, but this folder is empty.

Could someone please explaine what I can do? Do I have to change variables and compile again or can I copy something into the right place?

Thank you in advance.
Jan
Jan_Peters is offline   Reply With Quote

Old   June 19, 2011, 05:55
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Jan and welcome to the forum!

Mmm, I'm guessing that you are using Debian, since your machine is named "debianfam". Did you install the packages that they suggest? Namely:
Quote:
Originally Posted by http://www.openfoam.com/download/source.php
Dependent packages required for Ubuntu can be installed by executing the following command in a terminal:
Code:
sudo apt-get install build-essential flex cmake libqt4-dev gnuplot libreadline-dev libxt-dev
As for the problem you are having, it's easier to determine the real problem if you:
  1. Run Allwmake again like this:
    Code:
    ./Allwmake > make.log 2>&1
    During the build process, this will send every console output into the file make.log.
  2. When complete, you might want to search and replace any sensitive data in make.log, by using a text editor.
  3. Then compress the resulting file. For example:
    Code:
    tar -czf make.log.tar.gz make.log
  4. The attach the file make.log.tar.gz to your next post.
The first error, or couple of errors, that is recorded in make.log is usually the one that tells us what's wrong.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 19, 2011, 06:43
Default
  #3
New Member
 
Join Date: Jun 2011
Posts: 3
Rep Power: 15
Jan_Peters is on a distinguished road
Thanks for the fast reply.
First, yes I am running a Debian Squeeze, no experimental system.
I have checked the requirements before building and also looked at gcc versions if they were new enough for paraview.
The foamCheck was ok and said I could go on with the compilation.

I added the log file you asked for. Thanks again for all the help.

Best regards,
Jan
Attached Files
File Type: gz make.log.tar.gz (19.4 KB, 78 views)
Jan_Peters is offline   Reply With Quote

Old   June 19, 2011, 08:46
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Jan,

At least one package is missing:
Code:
sudo apt-get install zlib1g-dev
I thought they had tested their own instructions on a clean Ubuntu installation... oh well.

I've just reported to them: http://www.openfoam.com/mantisbt/view.php?id=221

If it still doesn't build after installing this package, you know what to do

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 19, 2011, 10:43
Default
  #5
New Member
 
Join Date: Jun 2011
Posts: 3
Rep Power: 15
Jan_Peters is on a distinguished road
That was it, it all works, blockMesh, icoFoam runs. That's great. Thank you so much for the help.

regards
Jan
Jan_Peters is offline   Reply With Quote

Old   June 19, 2011, 11:57
Default
  #6
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Hi to everyone,

Since there is already a thread for OpenFoam 2.0.0 installation, I would like to ask here my question for OpenFoam. Today I tried to install OpenFoam using the Git repository installation (openfoam 2.0.x) on my ubuntu 8.10 x64bit. My distro is a bit ancient, but as far as I can see from synaptic, I have the necessary libraries, namely :
zlib1g-dev
build-essential
binutils
flex
cmake
libxt-dev
libreadline5-dev

The only thing I miss is the gnuplot (along with its associated libraries: libwxbase2.6-0 libwxgtk2.6-0 gnuplot-nox gnuplot-x11)

During ./Allwmake I face errors. The first one (and I believe the most important) is the following :

/home/fivos/OpenFOAM/OpenFOAM-2.0.x/src/finiteVolume/lnInclude/fvMatrixSolve.C:152: error: no matching function for call to 'max(Foam::lduMatrix::solverPerformance&, Foam::lduMatrix::solverPerformance&)'

Then more errors emerge, but I believe the root is the error I already mentioned.
Has anyone else encountered this error? Any ideas? Could the missing gnuplot libraries bew the problem?

Note that I have succesfully installed OpenFoam 1.7.x. Of course I have changed the bashrc entry of OpenFoam to match to the newer installation (2.0.x). Also I attach my error log during ./Allwmake.

Thanks in advance
Attached Files
File Type: gz error.txt.tar.gz (7.8 KB, 7 views)
fivos is offline   Reply With Quote

Old   June 19, 2011, 14:17
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Phoevos,

Indeed, Ubuntu 8.10 is a bit of an oldie now (it's hard to believe, since it doesn't feel like it was so long ago...). It has gcc 4.3.1 by default, which is reaaaally on the edge of the acceptable gcc versions!

So, the way I see it, you've got at least two options:
  1. You can change the rule for the Gcc version to be used. In other words, edit the file "~/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc" and change this line:
    Code:
    export WM_COMPILER=Gcc
    to this:
    Code:
    export WM_COMPILER=Gcc43
    Start a new terminal. Then run Allwmake once again. It will rebuild the whole thing again, but now using the proper options (or so I hope). Keep in mind that it will build on new folders, so the current build will not be changed.

    Unless of course, you want to do it the other way around, i.e., go to the folder "~/OpenFOAM/OpenFOAM-2.0.x/wmake/rules" and copy the contents of the folder "linux64Gcc43" to "linux64Gcc".
  2. Or you can build a custom gcc version, which can be something more up-to-date. For example, try my build scripts: Automated scripts for building gcc 4.4.x and 4.5.x for using with OpenFOAM 1.7 series
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 19, 2011, 15:30
Default
  #8
New Member
 
Join Date: Oct 2009
Location: Germany
Posts: 20
Rep Power: 17
Aurel is on a distinguished road
Hi Bruno,

I've tried to install the new OF version 2.0.x too. My problem is that paraFoam doesn't work at all.
After compiling paraview I received following message on my terminal:

"... [ 99%] Building CXX object Plugins/AnalyzeNIfTIReaderWriter/CMakeFiles/NIfTIWriter.dir/moc_NIfTIWriter_Plugin.cxx.o
Linking CXX shared library ../../bin/libNIfTIWriter.so
[ 99%] Built target NIfTIWriter
[ 99%] Built target GenerateParaViewQHP
[ 99%] Compiling Qt help project paraview.qhp
/bin/sh: QT_HELP_GENERATOR-NOTFOUND: not found
make[2]: *** [Documentation/paraview.qch] Fehler 127
make[1]: *** [Documentation/CMakeFiles/ParaViewOnlineHelp.dir/all] Fehler 2
make: *** [all] Fehler 2
---
Installation complete for paraview-3.10.1
Set environment variables:

export ParaView_DIR=/home/aurel/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc/paraview-3.10.1
export PATH=$ParaView_DIR/bin:$PATH
export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.10
---

Done
"

Attached I have also the "foamInstallationTest" in .tar.gz format.

IcoForm worked fine, but with paraForm I got following message:

"aurel@aurel-desktop:~/OpenFOAM/aurel-2.0.x/run/tutorials/incompressible/icoFoam/cavity$ paraFoam
created temporary 'cavity.OpenFOAM'
/home/aurel/OpenFOAM/OpenFOAM-2.0.x/bin/paraFoam: 234: paraview: not found
aurel@aurel-desktop:~/OpenFOAM/aurel-2.0.x/run/tutorials/incompressible/icoFoam/cavity$ "



Hope you find an answer for my problem.

Regards

Marc
Attached Files
File Type: gz Terminal_foamInstallationTest.tar.gz (818 Bytes, 5 views)
Aurel is offline   Reply With Quote

Old   June 19, 2011, 15:44
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Marc,

Arg, I hate this bug so much...
Quote:
/bin/sh: QT_HELP_GENERATOR-NOTFOUND: not found
One miserable stupid error, and PUFFT, you have to rebuild everything again...

You forgot to mention which Linux distribution you are using. I'll assume it's Ubuntu/Debian and specify the most likely missing package:
Code:
sudo apt-get install qt4-dev-tools
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 19, 2011, 15:53
Default
  #10
New Member
 
Join Date: Oct 2009
Location: Germany
Posts: 20
Rep Power: 17
Aurel is on a distinguished road
Hi Bruno,

thanks for your promt reply.
Right now I'm installing everything new on my new computer.
My Ubuntu version is 10.04. LTD.
Do you think I have to repeat the complete git reposition installation?
qt4-dev-tools are already on my system.


Best regards

Marc
Aurel is offline   Reply With Quote

Old   June 19, 2011, 16:01
Default
  #11
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Dear Bruno,

Thank you very much for your assistance. I have tried with export WM_COMPILER=Gcc43, but I still had the same problem. However I have access to the Icc, so I gave it a try. Till now it seems to compile well. I have to mention that I faced an error when compiling scotch :

+ make prefix=/home/fivos/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Icc/scotch_5.1.11 libdir=/home/fivos/OpenFOAM/ThirdParty-2.0.x/platforms/linux64IccDPOpt/lib/openmpi-1.5.3 includedir=/home/fivos/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Icc/scotch_5.1.11/include/openmpi-1.5.3 install
cp: cannot stat `../bin/[agm]*': No such file or directory
make: [install] Error 1 (ignored)

but the compilation process says it is ignored and keeps going without any other errors (I remember I had some issues with scotch when I was trying to compile openfoam 1.6.ext). After compilation I will try OpenFoam v2.0 operation, fingers crossed. Else I will keep my old OpenFoam 1.7.x.

It seems I need to update my Ubuntu....

Anyway thanks.

@Aurel :

Even if you cant compile paraFoam, you can still post process your results using paraview. Just after you complete your calculations, use the command foamToVTK to make readable VTK files. Input these files to paraview (which you can get precompiled and ready for use from http://www.paraview.org/) and do your post processing.
fivos is offline   Reply With Quote

Old   June 19, 2011, 16:10
Default
  #12
New Member
 
Join Date: Oct 2009
Location: Germany
Posts: 20
Rep Power: 17
Aurel is on a distinguished road
Hi fivos,

thanks your your answer.
I know the detour with VTK but this is not a straight forward solution.
I guess I will repeat the installation of paraview again.

Best regards

Marc
Aurel is offline   Reply With Quote

Old   June 19, 2011, 17:01
Default
  #13
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
@Marc:
Quote:
Originally Posted by Aurel View Post
My Ubuntu version is 10.04. LTD.
Do you think I have to repeat the complete git reposition installation?
qt4-dev-tools are already on my system.
Wait, if qt4-dev-tools was already installed before trying to build ParaView the first time around, then something strange is going on
On the other hand, if only now you installed it, then you'll just have to rebuild ParaView and those who depend on it, namely the OpenFOAM plugins for ParaView.

Either way, I'm doing a build on a clean Ubuntu 11.04 inside a Virtual Machine, so I'll be able to figure out what is missing and what not.


@Phoevos: Too bad... I would have to check on another VM with Ubuntu 8.10 to try and isolate the problem I can only suppose that gcc 4.3.1 is already outside the supported versions. I think it should at least work with gcc 4.3.3, since it was the version used for OpenFOAM 1.6...

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 19, 2011, 17:02
Default
  #14
New Member
 
Join Date: Oct 2009
Location: Germany
Posts: 20
Rep Power: 17
Aurel is on a distinguished road
Hi together,

I made the installation again with following result:

paraFoam started, but with no imported data.
An error message appeared behind the paraView/Kitware picture at the beginning of paraView.

Attached the terminal prints of the "PV3FoamReader" and the "foamInstallationTest".

Hope we will find the bug.

Best regards

Marc
Attached Files
File Type: gz Terminal_PV3FoamReader .tar.gz (1.6 KB, 5 views)
File Type: gz Terminal_foamInstallationTest .tar.gz (798 Bytes, 3 views)
Aurel is offline   Reply With Quote

Old   June 19, 2011, 17:10
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
Interesting bug... try starting a new terminal and try those instructions again:
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers/PV3FoamReader 
./Allwclean 
./Allwmake
Only in about 30min will I be able to infer what is going on, since it's currently building on a VM...
__________________
wyldckat is offline   Reply With Quote

Old   June 19, 2011, 19:33
Default
  #16
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Marc,

It took longer than I expected. The correct commands are these:
Code:
wmSET
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 20, 2011, 15:11
Default
  #17
New Member
 
Join Date: Oct 2009
Location: Germany
Posts: 20
Rep Power: 17
Aurel is on a distinguished road
Hi Bruno,

I'm pretty impressed of your experience in OF.
Indeed you figured out my error!!
You last advise worked for me.
OF_2.0.x is now running.
Anyway, I do not understand why this error could occur. I followed exactly the procedure of the git repository.
Thank you very much for you assistance.

Best regards

Marc
Aurel is offline   Reply With Quote

Old   June 21, 2011, 04:39
Default
  #18
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Marc,

Yeah, one of my strong points with OpenFOAM is installing it... And it was me who reported the multiple corrections to the instructions here: http://www.openfoam.com/mantisbt/view.php?id=221

If you check the instructions again http://www.openfoam.com/download/git.php you'll see that it's now pretty much saying what I said to you

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 27, 2011, 05:35
Default problem installing OpenFOAM-2.0.0
  #19
Senior Member
 
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16
Anne Lincke is on a distinguished road
Dear Foamers,

I tried to install the newest OpenFOAM version 2.0.0. on our cluster which has SUSE Linux Enterprise 10.0 as system.
I have

gcc (GCC) 4.4.4
flex 2.5.31

When running
foamInstallationTest I get the following output:

Quote:
Executing /home/lincke/OpenFOAM/OpenFOAM-2.0.0/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: master
OS: Linux version 2.6.16.46-0.12-smp
-------------------------------------------------------------------------------


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

$FOAM_APPBIN ...-2.0.0/platforms/linux64GccDPOpt/bin yes yes yes
$FOAM_SITE_APPBIN .../2.0.0/platforms/linux64GccDPOpt/bin no no
$FOAM_USER_APPBIN ...-2.0.0/platforms/linux64GccDPOpt/bin no no
$WM_DIR ...lincke/OpenFOAM/OpenFOAM-2.0.0/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 ...-2.0.0/platforms/linux64GccDPOpt/lib yes yes yes
$FOAM_SITE_LIBBIN .../2.0.0/platforms/linux64GccDPOpt/lib no no
$FOAM_USER_LIBBIN ...-2.0.0/platforms/linux64GccDPOpt/lib no no
$MPI_ARCH_PATH ...0/platforms/linux64Gcc/openmpi-1.5.3 yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
flex 2.5.31 /usr/bin/flex
/home/lincke/OpenFOAM/OpenFOAM-2.0.0/bin/foamInstallationTest: line 267: [: -lt: unary operator expected
/home/lincke/OpenFOAM/OpenFOAM-2.0.0/bin/foamInstallationTest: line 269: [: -gt: unary operator expected
/home/lincke/OpenFOAM/OpenFOAM-2.0.0/bin/foamInstallationTest: line 274: [: -lt: unary operator expected
/home/lincke/OpenFOAM/OpenFOAM-2.0.0/bin/foamInstallationTest: line 276: [: -gt: unary operator expected
/home/lincke/OpenFOAM/OpenFOAM-2.0.0/bin/foamInstallationTest: line 281: [: !=: unary operator expected
gcc ...M/ThirdParty-2.0.0/platforms/linux64/gcc-4.4.4/bin/gcc
gzip 1.3.5 /bin/gzip
tar 1.15.1 /bin/tar
icoFoam ...M/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/bin/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.
Critical systems ok.

Done
What do the lines below "flex 2.5.31 /usr/bin/flex " mean? Does it has something to do with the flex version?
When running ./Allwmake the first error message I get is

HTML Code:
lincke@master:~/OpenFOAM/OpenFOAM-2.0.0> ./Allwmake
make: Für das Ziel »all« ist nichts zu tun.

========================================
Start ThirdParty Allwmake
========================================

========================================
Build MPI libraries if required

    have OPENMPI shared library (openmpi-1.5.3)

========================================
Build Scotch decomposition library scotch_5.1.11
    /home/lincke/OpenFOAM/ThirdParty-2.0.0/platforms/linux64Gcc/scotch_5.1.11
    scotch header in /home/lincke/OpenFOAM/ThirdParty-2.0.0/platforms/linux64Gcc/scotch_5.1.11/include
    scotch libs   in /home/lincke/OpenFOAM/ThirdParty-2.0.0/platforms/linux64GccDPOpt/lib

========================================
Build PTScotch decomposition library scotch_5.1.11 (uses MPI)
    /home/lincke/OpenFOAM/ThirdParty-2.0.0/platforms/linux64Gcc/scotch_5.1.11

    ptscotch header in /home/lincke/OpenFOAM/ThirdParty-2.0.0/platforms/linux64Gcc/scotch_5.1.11/include/openmpi-1.5.3
    ptscotch libs   in /home/lincke/OpenFOAM/ThirdParty-2.0.0/platforms/linux64GccDPOpt/lib/openmpi-1.5.3

========================================
Build malloc

    optional component was not found
========================================
Build Tecio
    optional component was not found

========================================
Done ThirdParty Allwmake
========================================

+ wmakePrintBuild -check
no git description found
+ /bin/rm -f OpenFOAM/Make/linux64GccDPOpt/global.C
+ wmakeLnInclude OpenFOAM
+ wmakeLnInclude OSspecific/POSIX
+ Pstream/Allwmake
+ wmake libso dummy
'/home/lincke/OpenFOAM/OpenFOAM-2.0.0/platforms/linux64GccDPOpt/lib/dummy/libPstream.so' is up to date.
+ case "$WM_MPLIB" in
+ set +x

Note: ignore spurious warnings about missing mpicxx.h headers

wmake libso mpi
make: *** Keine Regel vorhanden, um das Target »/home/fds243/lincke/OpenFOAM/ThirdParty-2.0.0/platforms/linux64Gcc/openmpi-1.5.3/include/mpi.h«, 
  benötigt von »PstreamGlobals.dep«, zu erstellen.  Schluss.
What is the problem? Do I need further packages?

As the version is quite new I could not find many posts concerning the same problem.
I hope someone can help me and even others who have the same error message.

Thank you very much in advance!

Last edited by Anne Lincke; June 27, 2011 at 05:58.
Anne Lincke is offline   Reply With Quote

Old   June 27, 2011, 16:17
Default
  #20
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Anne,

OK, let me roll up my sleeves once again...
Quote:
Originally Posted by Anne Lincke View Post
What do the lines below "flex 2.5.31 /usr/bin/flex " mean? Does it has something to do with the flex version?
Yes, it's the version and path to the detected flex binary. Like the header of that table states:
Code:
Software    Version       Location
I added spaces for clarity.
As for those errors right after the flex line, I'm going to report it on the bug tracker... done.

Quote:
Originally Posted by Anne Lincke View Post
HTML Code:
wmake libso mpi
make: *** Keine Regel vorhanden, um das Target »/home/fds243/lincke/OpenFOAM/ThirdParty-2.0.0/platforms/linux64Gcc/openmpi-1.5.3/include/mpi.h«, 
  benötigt von »PstreamGlobals.dep«, zu erstellen.  Schluss.
What is the problem? Do I need further packages?
Mmm... this is a bit odd... why on earth would it need for a rule for building "mpi.h"?

OK, lets try this:
Code:
foam
wclean all src/Pstream
./Allwmake > make.log 2>&1
The second line will issue a clean up just for the folder that emitted that error.

If this doesn't work, run this:
Code:
which cpp
If it's not located at "ThirdParty-2.0.0/platforms/linux64/gcc-4.4.4/bin/", then that is why things aren't working

Last time I saw something similar, the reason why things weren't working was because a recent version of binutils wasn't built along with the custom gcc...

Best regards,
Bruno
maddalena likes this.
__________________
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
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 15:06
OpenFOAM 1.5 installation on OpenSUSE 11.0 bigphil OpenFOAM Installation 16 April 29, 2009 07:28
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 05:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 15:47.