|
[Sponsors] |
May 15, 2014, 23:18 |
OpenFOAM without MPI
|
#1 |
New Member
Join Date: Sep 2013
Posts: 12
Rep Power: 13 |
Is it possible to install OpenFOAM without MPI at all (IntelMPI, OpenMPI, etc)?
Because I only need to use it on single computer.. (run it on Xeon Phi) |
|
May 17, 2014, 15:12 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi kokizzu,
I don't know which installation procedure you're using, but I guess the easiest way is this:
Best regards, Bruno
__________________
|
|
May 18, 2014, 22:49 |
|
#3 |
New Member
Join Date: Sep 2013
Posts: 12
Rep Power: 13 |
I've tried that, but still the first error shows that it requires mpi.h
Code:
======================================== Build Metis decomposition optional component Metis was not found ======================================== Build CGAL + wmakeCheckPwd /root/OpenFOAM/ThirdParty-2.3.0 +++ egrep '^processor' /proc/cpuinfo ++ '[' 32 -ge 8 ']' ...skipping... ptscotchDecomp.C(125): catastrophic error: cannot open source file "mpi.h" #include "mpi.h" ^ compilation aborted for ptscotchDecomp.C (code 4) make: *** [Make/linux64IccDPOpt/ptscotchDecomp.o] Error 4 Code:
# echo $WM_MPLIB # echo $WM_COMPILER Icc |
|
May 23, 2014, 11:11 |
|
#4 |
New Member
Join Date: Sep 2013
Posts: 12
Rep Power: 13 |
thanks for the reply, i'm building without MPI but I got this error:
Code:
./Allwmake > error.log 2>&1 & grep -i error errors.log ptscotchDecomp.C(125): catastrophic error: cannot open source file "mpi.h" make: *** [Make/linux64IccDPOpt/ptscotchDecomp.o] Error 4 make: *** [/root/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/lib/libSloanRenumber.so] Error 1 ERROR: ParaView not found in /root/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Icc/ParaView-4.1.0 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/DelaunayMeshTools.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMesh.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshCalcDualMesh.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshConformToSurface.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshZones.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshIO.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshFeaturePoints.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/featurePointConformer.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/featurePointConformerSpecialisations.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cvControls.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformationSurfaces.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/backgroundMeshDecomposition.o] Error 4 lnInclude/indexedVertex.H(40): catastrophic error: cannot open source file "CGAL/Triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cellShapeControl.o] Error 4 lnInclude/indexedVertex.H(40): catastrophic error: cannot open source file "CGAL/Triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cellShapeControlMesh.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cellSizeAndAlignmentControls.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/searchableSurfaceControl.o] Error 4 lnInclude/indexedVertex.H(40): catastrophic error: cannot open source file "CGAL/Triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/smoothAlignmentSolver.o] Error 4 lnInclude/indexedVertex.H(40): catastrophic error: cannot open source file "CGAL/Triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/controlMeshRefinement.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cellSizeFunction.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/uniform.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/uniformDistance.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/linearDistance.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/surfaceOffsetLinearDistance.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/linearSpatial.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/initialPointsMethod.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/uniformGrid.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/bodyCentredCubic.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/faceCentredCubic.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/pointFile.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/autoDensity.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/rayShooting.o] Error 4 make[2]: Target `libso' not remade because of errors. lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/DelaunayMeshTools.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMesh.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshCalcDualMesh.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshConformToSurface.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshZones.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshIO.o] Error 4 conformalVoronoiMesh/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformalVoronoiMeshFeaturePoints.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/featurePointConformer.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/featurePointConformerSpecialisations.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cvControls.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/conformationSurfaces.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/backgroundMeshDecomposition.o] Error 4 lnInclude/indexedVertex.H(40): catastrophic error: cannot open source file "CGAL/Triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cellShapeControl.o] Error 4 lnInclude/indexedVertex.H(40): catastrophic error: cannot open source file "CGAL/Triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cellShapeControlMesh.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/searchableSurfaceControl.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cellSizeAndAlignmentControls.o] Error 4 lnInclude/indexedVertex.H(40): catastrophic error: cannot open source file "CGAL/Triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/smoothAlignmentSolver.o] Error 4 lnInclude/indexedVertex.H(40): catastrophic error: cannot open source file "CGAL/Triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/controlMeshRefinement.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/cellSizeFunction.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/uniform.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/uniformDistance.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/linearDistance.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/surfaceOffsetLinearDistance.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/linearSpatial.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/uniformGrid.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/initialPointsMethod.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/bodyCentredCubic.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/faceCentredCubic.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/pointFile.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/autoDensity.o] Error 4 lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/rayShooting.o] Error 4 make[2]: Target `libso' not remade because of errors. conformalVoronoiMesh/lnInclude/CGALTriangulation3DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_3.h" make[2]: *** [Make/linux64IccDPOpt/foamyHexMesh.o] Error 4 make[2]: Target `/root/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/bin/foamyHexMesh' not remade because of errors. CGALTriangulation2DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_2.h" make[2]: *** [Make/linux64IccDPOpt/CV2D.o] Error 4 CGALTriangulation2DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_2.h" make[2]: *** [Make/linux64IccDPOpt/insertFeaturePoints.o] Error 4 CGALTriangulation2DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_2.h" make[2]: *** [Make/linux64IccDPOpt/insertSurfaceNearestPointPairs.o] Error 4 CGALTriangulation2DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_2.h" make[2]: *** [Make/linux64IccDPOpt/insertSurfaceNearPointPairs.o] Error 4 CGALTriangulation2DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_2.h" make[2]: *** [Make/linux64IccDPOpt/insertBoundaryConformPointPairs.o] Error 4 CGALTriangulation2DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_2.h" make[2]: *** [Make/linux64IccDPOpt/CV2DIO.o] Error 4 CGALTriangulation2DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_2.h" make[2]: *** [Make/linux64IccDPOpt/foamyQuadMesh.o] Error 4 CGALTriangulation2DKernel.H(36): catastrophic error: cannot open source file "CGAL/Delaunay_triangulation_2.h" make[2]: *** [Make/linux64IccDPOpt/shortEdgeFilter2D.o] Error 4 make[2]: Target `/root/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64IccDPOpt/bin/foamyQuadMesh' not remade because of errors. make[1]: *** [generation] Error 2 make[1]: Target `application' not remade because of errors. make: *** [mesh] Error 2 make: Target `application' not remade because of errors. Last edited by kokizzu; May 23, 2014 at 14:12. |
|
May 26, 2014, 10:17 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi kokizzu,
I've finally managed to test this myself, namely to build OpenFOAM 2.3.0 without MPI. What seems to happen is this:
Keep in mind that since you won't be using MPI, then in theory, you also won't need to decompose your cases. Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sgimpi | pere | OpenFOAM | 27 | September 24, 2011 08:57 |
Windows 64-bit patch for OpenFOAM 2.0.x with MS MPI | gocarts | OpenFOAM Announcements from Other Sources | 0 | September 15, 2011 17:46 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |
OpenFOAM MPI coupling | Ford Prefect | OpenFOAM Programming & Development | 3 | August 25, 2010 04:18 |
Is Testsuite on the way or not | lakeat | OpenFOAM Installation | 6 | April 28, 2008 12:12 |