Installation Error on OpenSUSE ---icoFoam critical error
My system is OpenSUSE 13.2. I have done the Installation several times as website openfoam.org/download/source.php, but the error still cannot be solved. The details are:
When I execute the 'foamInstallationTest', it displays as follows: __________________________________- Third party software
Software Version Location
gcc 4.8.3 /usr/bin/gcc
g++ 4.8.3 /usr/bin/g++
gzip 1.6 /usr/bin/gzip
tar 1.28 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/van/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64GccDPInt32Opt/bin/icoFoam
current path :
CRITICAL ERROR
flex 2.5.37 /usr/bin/flexSummary
Base configuration ok. The foam installation contains 1 critical error(s).
BESIDES, when I check the make.log file under OpenFOAM-3.0.1, it shows as follow:
In file included from UOPwrite.C:30:0: PstreamGlobals.H:41:17: fatal error: mpi.h: No such file or directory #include <mpi.h> ^ compilation terminated. /home/van/OpenFOAM/OpenFOAM-3.0.1/wmake/rules/General/transform:8: recipe for target '/home/van/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/Pstream/mpi/UOPwrite.o' failed make: *** [/home/van/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/Pstream/mpi/UOPwrite.o] Error 1
FURTHER MORE, when I check the make.log file under ThirdParty-3.0.1, it shows as follow:
make[1]: Leaving directory '/home/van/OpenFOAM/ThirdParty-3.0.1/scotch_6.0.3/src/check' (cd esmumps ; make realclean) make[1]: Entering directory '/home/van/OpenFOAM/ThirdParty-3.0.1/scotch_6.0.3/src/esmumps' rm -f *~ common.h .o lib.so main_esmumps make[1]: Leaving directory '/home/van/OpenFOAM/ThirdParty-3.0.1/scotch_6.0.3/src/esmumps' rm -f ../bin/* ../include/* ../lib/*
WARNING: required include file 'ptscotch.h' not found!
======================================== Build Metis decomposition optional component Metis was not found
Build CGAL CGAL headers in /home/van/OpenFOAM/ThirdParty-3.0.1/platforms/linux64Gcc/CGAL-4.7/include CGAL libs in /home/van/OpenFOAM/ThirdParty-3.0.1/platforms/linux64Gcc/CGAL-4.7/lib
======================================== Done ThirdParty Allwmake
I'd appreciate if anyone knows the answer!