|
[Sponsors] |
[OpenFOAM.org] Cannot compile OpenFOAM-dev with Intel compiler (17.0.0 20160721) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 27, 2016, 09:23 |
Cannot compile OpenFOAM-dev with Intel compiler (17.0.0 20160721)
|
#1 |
Senior Member
Join Date: Jan 2015
Posts: 150
Rep Power: 11 |
I want to compile OpenFOAM-dev with Intel compiler. Therefore I've changed WM_COMPILER to Icc in ./etc/bashrc file.
During execution of ./Allwmake script the following error occurred: Code:
sergey@sergey-HP:~/intel/OpenFOAM-dev$ ./Allwmake -j Compiling enabled on 12 cores Allwmake /home/sergey/intel/OpenFOAM-dev make: Nothing to be done for `all'. ======================================== Start ThirdParty Allwmake ======================================== ======================================== Build MPI libraries if required have OPENMPI shared library (openmpi-1.10.2) ======================================== Build Scotch decomposition library scotch_6.0.3 /home/sergey/intel/ThirdParty-dev/platforms/linux64IccDPInt32/scotch_6.0.3 scotch header in /home/sergey/intel/ThirdParty-dev/platforms/linux64IccDPInt32/scotch_6.0.3/include scotch libs in /home/sergey/intel/ThirdParty-dev/platforms/linux64IccDPInt32/lib ======================================== Build PTScotch decomposition library scotch_6.0.3 (uses MPI) /home/sergey/intel/ThirdParty-dev/platforms/linux64IccDPInt32/scotch_6.0.3 ptscotch header in /home/sergey/intel/ThirdParty-dev/platforms/linux64IccDPInt32/scotch_6.0.3/include/openmpi-1.10.2 ptscotch libs in /home/sergey/intel/ThirdParty-dev/platforms/linux64IccDPInt32/lib/openmpi-1.10.2 ======================================== Build Metis decomposition optional component Metis was not found ======================================== Build CGAL optional component was not found ======================================== Done ThirdParty Allwmake ======================================== Allwmake src version changed from previous build removing .o files corresponding to OpenFOAM/global/global.o ... Allwmake src/Pstream wmake dummy wmake mpi Allwmake libo src/OSspecific/POSIX wmake libo . icpc -std=c++11 -fp-trap=common -fp-model precise -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -diag-disable 327,654,1125,2289,2304,11062,11074,11076 -O3 -xHost -DNoRepository -IlnInclude -I. -I/home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/sergey/intel/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude -fPIC -c signals/sigStopAtWriteNow.C -o /home/sergey/intel/OpenFOAM-dev/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o icpc -std=c++11 -fp-trap=common -fp-model precise -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -diag-disable 327,654,1125,2289,2304,11062,11074,11076 -O3 -xHost -DNoRepository -IlnInclude -I. -I/home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/sergey/intel/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude -fPIC -c signals/sigWriteNow.C -o /home/sergey/intel/OpenFOAM-dev/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigWriteNow.o In file included from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/MatrixSpace.H(322), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Tensor.H(45), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/SymmTensorI.H(27), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/SymmTensor.H(155), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/symmTensor.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/fieldTypes.H(37), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/flipOp.H(40), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/mapDistributeBaseTemplates.C(29), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/mapDistributeBase.H(488), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C(30), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.H(408), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/scalarField.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionSet.H(46), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionedType.H(40), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionedScalar.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/TimeState.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Time.H(47), from signals/sigWriteNow.C(30): /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/MatrixSpaceI.H(494): warning #2357: "Foam::MatrixSpace<Form2, Cmpt, SubTensor::mRows, SubTensor::nCols>" cannot be specified in a template member definition -- "Foam::MatrixSpace<Form, Cmpt, Mrows, Ncols>" assumed instead const MatrixSpace<Form2, Cmpt, SubTensor::mRows, SubTensor::nCols>& matrix ^ In file included from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/MatrixSpace.H(322), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Tensor.H(45), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/SymmTensorI.H(27), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/SymmTensor.H(155), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/symmTensor.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/fieldTypes.H(37), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/flipOp.H(40), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/mapDistributeBaseTemplates.C(29), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/mapDistributeBase.H(488), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C(30), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.H(408), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/scalarField.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionSet.H(46), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionedType.H(40), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionedScalar.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/TimeState.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Time.H(47), from signals/sigWriteNow.C(30): /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/MatrixSpaceI.H(492): error: no instance of overloaded function "Foam::MatrixSpace<Form, Cmpt, Mrows, Ncols>::Block<SubTensor, BRowStart, BColStart>::operator=" matches the specified type operator= ^ In file included from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/MatrixSpace.H(322), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Tensor.H(45), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/SymmTensorI.H(27), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/SymmTensor.H(155), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/symmTensor.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/fieldTypes.H(37), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/flipOp.H(40), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/mapDistributeBaseTemplates.C(29), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/mapDistributeBase.H(488), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C(30), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.H(408), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/scalarField.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionSet.H(46), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionedType.H(40), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionedScalar.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/TimeState.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Time.H(47), from signals/sigStopAtWriteNow.C(30): /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/MatrixSpaceI.H(494): warning #2357: "Foam::MatrixSpace<Form2, Cmpt, SubTensor::mRows, SubTensor::nCols>" cannot be specified in a template member definition -- "Foam::MatrixSpace<Form, Cmpt, Mrows, Ncols>" assumed instead const MatrixSpace<Form2, Cmpt, SubTensor::mRows, SubTensor::nCols>& matrix ^ In file included from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/MatrixSpace.H(322), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Tensor.H(45), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/SymmTensorI.H(27), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/SymmTensor.H(155), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/symmTensor.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/fieldTypes.H(37), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/flipOp.H(40), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/mapDistributeBaseTemplates.C(29), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/mapDistributeBase.H(488), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C(30), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.H(408), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/scalarField.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionSet.H(46), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionedType.H(40), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/dimensionedScalar.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/TimeState.H(38), from /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/Time.H(47), from signals/sigStopAtWriteNow.C(30): /home/sergey/intel/OpenFOAM-dev/src/OpenFOAM/lnInclude/MatrixSpaceI.H(492): error: no instance of overloaded function "Foam::MatrixSpace<Form, Cmpt, Mrows, Ncols>::Block<SubTensor, BRowStart, BColStart>::operator=" matches the specified type operator= ^ compilation aborted for signals/sigWriteNow.C (code 2) compilation aborted for signals/sigStopAtWriteNow.C (code 2) make: *** [/home/sergey/intel/OpenFOAM-dev/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigWriteNow.o] Error 2 make: *** Waiting for unfinished jobs.... make: *** [/home/sergey/intel/OpenFOAM-dev/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o] Error 2 Thanks |
|
November 29, 2016, 17:01 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
For future reference, this was already answered here: http://bugs.openfoam.org/view.php?id=2357
|
|
Tags |
compilation error, intel compiler, openfoam-dev |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Intel Fortran Compiler & Tutorial 17 | Young | CFX | 1 | March 30, 2011 02:39 |
OpenFOAM 1.5 dev | LVDH | OpenFOAM | 98 | May 5, 2010 18:01 |