|
[Sponsors] |
OpenFOAM 1.7.x using intel compiler and MVAPICH2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 21, 2011, 10:00 |
OpenFOAM 1.7.x using intel compiler and MVAPICH2
|
#1 |
New Member
Kris
Join Date: Nov 2010
Posts: 21
Rep Power: 15 |
Dear Foamers,
I've been searching the forum for days, but I cant seem to find a thread with the answer to my problem. I am trying to compile the latest OpenFOAM 1.7.x (git repository) using the Intel compiler and MVAPICH2. I have modified my bashrc to read: Code:
: ${WM_COMPILER:=Icc}; export WM_COMPILER : ${WM_MPLIB:=MPI-MVAPICH2}; export WM_MPLIB Code:
MPI-MVAPICH2) export MPI_HOME=/sw/comm/mvapich2/1.5.0-intel export MPI_ARCH_PATH=$MPI_HOME _foamAddPath $MPI_ARCH_PATH/bin _foamAddLib $MPI_ARCH_PATH/lib export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/mvapich2 ;; Code:
PFLAGS = -DMPICH_SKIP_MPICXX PINC = -I$(MPI_ARCH_PATH)/include PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt Now, I have used intel.compiler (icc and ifort) version 12.0.0 and gcc 4.5.2. I get many warnings during compilation, all of them similar to this one: Code:
/home/kris/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/pTraits.H(71): warning #597: "Foam::pTraits<PrimitiveType>::operator Foam::symmTensor() const [with PrimitiveType=Foam::symmTensor]" will not be called for implicit or explicit conversions operator PrimitiveType() const ^ detected during: instantiation of class "Foam::pTraits<PrimitiveType> [with PrimitiveType=Foam::symmTensor]" at line 82 of "/home/kris/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/dimensionedType.H" instantiation of class "Foam::dimensioned<Type> [with Type=Foam::symmTensor]" at line 182 of "/home/kris/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/transform.H" Note that I have also compiled using GCC and MVAPICH2 and this worked perfectly. Thus, the problem must lie with the Intel compiler. Am I using the wrong version? Or is there something else I have missed? Any help would be greatly appreciated. Last edited by kpsl; May 21, 2011 at 10:19. |
|
|
|