|
[Sponsors] |
April 27, 2009, 13:56 |
OpenFOAM 1.5 installation on OpenSUSE 11.0
|
#1 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
Hi,
I am trying to install to install OF 1.5 (as downloaded from the OF website) on my OpenSUSE 11.0. My OpenSUSE 11.0 is a virtual machine but that shouldn't make any difference. So far I have: Downloaded the files from the OF website. Unpacked them in OpenFOAM directory. Added '. HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc' to my .bashrc, and sourced it. Then I am a bit confused, should the foam installation be set-up now or must I also compile it? At this stage I tried to run one of the tutorial cases (icoFoam) but blockMesh and icoFoam and any other program I ran got an error saying it was missing some library file. So then I tried to compile OF. I moved to the 'OpenFOAM-1.5' directory and executed './Allwmake' But this got quite a few errors. I resourced the bashrc and tried again but it still gets errors. The first error is: SOURCE=OPwrite.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/philipc/OpenFOAM/ThirdParty/lam-7.1.4/platforms/linuxGccDPOpt/include -IlnInclude -I. -I/home/philipc/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/philipc/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOptLAM/OPwrite.o SOURCE=IPread.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/philipc/OpenFOAM/ThirdParty/lam-7.1.4/platforms/linuxGccDPOpt/include -IlnInclude -I. -I/home/philipc/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/philipc/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOptLAM/IPread.o OPwrite.C:30:17: error: mpi.h: No such file or directory IPread.C:30:17: error: mpi.h: No such file or directory IPread.C:40: error: ‘MPI_Request’ was not declared in this scope IPread.C:40: error: template argument 1 is invalid IPread.C:40: error: invalid type in declaration before ‘;’ token IPread.C: In constructor ‘Foam::IPstream::IPstream(Foam::Pstream::commsType s, int, Foam::label, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber)’: IPread.C:62: error: ‘MPI_Status’ was not declared in this scope etc. My foamInstallationTest is: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: linux-qqry OS: Linux version 2.6.25.18-0.2-pae ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/philipc/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/philipc/OpenFOAM/philipc-1.5 yes no $WM_THIRD_PARTY_DIR /home/philipc/OpenFOAM/ThirdParty 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/philipc/OpenFOAM/OpenFOAM-1.5 yes yes yes $FOAM_APPBIN ...M-1.5/applications/bin/linuxGccDPOpt yes yes yes $FOAM_USER_APPBIN ...c-1.5/applications/bin/linuxGccDPOpt yes yes no $WM_DIR .../philipc/OpenFOAM/OpenFOAM-1.5/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 ...nFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt yes yes yes $FOAM_USER_LIBBIN ...enFOAM/philipc-1.5/lib/linuxGccDPOpt yes yes no $MPI_ARCH_PATH ...ty/lam-7.1.4/platforms/linuxGccDPOpt no yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.3.1 .../OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc gzip 1.3.12 /usr/bin/gzip tar 1.19 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/philipc/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Checking networking... ------------------------------------------------------------------------------- Action Result Crit ------------------------------------------------------------------------------- Pinging_linux-qqry Successful yes Pinging_localHost Successful yes Test_rsh: Unsuccessful_connection_refused* yes Test_ssh: Successful yes (*) Only one of rsh or ssh is required by the OpenFOAM enviroment. ------------------------------------------------------------------------------- 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. Any help or guidance would be much appreciated, Philip |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 14:06 |
Installing OpenFOAM 1.5 on OpenSUSE 11.1 | StructureITA | OpenFOAM Installation | 31 | April 30, 2009 19:45 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 04:48 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 18:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |