|
[Sponsors] |
[OpenFOAM.org] Failed to compile OpenFOAM 3.0.1 with icc |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 22, 2016, 23:35 |
Failed to compile OpenFOAM 3.0.1 with icc
|
#1 |
Member
Join Date: Jun 2016
Posts: 99
Rep Power: 9 |
System Ubuntu 15.10, Installed the latest Parallel Studio XE (icc 16.0.3, intel MPI 5.1.3). If I use default settings (GCC and Open MPI), there will be no error.
I modified 2 settings: in $WM_PROJECT_DIR/etc/bashrc Code:
export WM_COMPILER=Icc export WM_MPLIB=INTELMPI Code:
INTELMPI) export MPI_ARCH_PATH=$I_MPI_ROOT _foamAddPath $MPI_ARCH_PATH/bin64 _foamAddLib $MPI_ARCH_PATH/lib64 _foamAddMan $MPI_ARCH_PATH/man Following the steps on https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 , I can compile ParaView successfully. Also I can execute $WM_THIRD_PARTY_DIR/platforms/linux64Icc/ParaView-4.4.0/bin/paraview However I can't compile OpenFOAM. In the log file Code:
======================================== Start ThirdParty Allwmake ======================================== ======================================== Build MPI libraries if required ======================================== Build Scotch decomposition library scotch_6.0.3 /home/gux215/OpenFOAM-icc/ThirdParty-3.0.1/platforms/linux64IccInt64/scotch_6.0.3 scotch header in /home/gux215/OpenFOAM-icc/ThirdParty-3.0.1/platforms/linux64IccInt64/scotch_6.0.3/include scotch libs in /home/gux215/OpenFOAM-icc/ThirdParty-3.0.1/platforms/linux64IccDPInt64Opt/lib ======================================== Build Metis decomposition optional component Metis was not found ======================================== Build CGAL CGAL headers in /home/gux215/OpenFOAM-icc/ThirdParty-3.0.1/platforms/linux64Icc/CGAL-4.7/include CGAL libs in /home/gux215/OpenFOAM-icc/ThirdParty-3.0.1/platforms/linux64Icc/CGAL-4.7/lib ======================================== Done ThirdParty Allwmake ======================================== And here's the error: Code:
ptscotchDecomp.C(126): catastrophic error: cannot open source file "ptscotch.h" #include "ptscotch.h" ^ compilation aborted for ptscotchDecomp.C (code 4) /home/gux215/OpenFOAM-icc/OpenFOAM-3.0.1/wmake/rules/General/transform:8: recipe for target '/home/gux215/OpenFOAM-icc/OpenFOAM-3.0.1/platforms/linux64IccDPInt64OptINTELMPI/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.o' failed make: *** [/home/gux215/OpenFOAM-icc/OpenFOAM-3.0.1/platforms/linux64IccDPInt64OptINTELMPI/src/parallel/decompose/ptscotchDecomp/ptscotchDecomp.o] Error 4 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 03:19 |
Transient boundary conditions | Jarrod Sinclair (Sinclair) | OpenFOAM Running, Solving & CFD | 133 | May 6, 2015 06:21 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 06:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 10:58 |