|
[Sponsors] |
February 7, 2013, 12:56 |
Compile OF2.1 with Intel Icc and Intel MPI
|
#1 |
Member
Join Date: May 2010
Posts: 69
Rep Power: 15 |
hi everyone,
I am trying to install OF on Linux Mint with Intel Icc and MPI, first I test that intel mpi works then I set 66 export WM_COMPILER=Icc 85 export WM_MPLIB=INTELMPI also I add the mpi path in settings.sh 549 INTELMPI) 550 export MPI_ROOT=/opt/intel/impi/4.1.0.024 # mpi installed path 551 lastCharID=$(( ${#MPI_ROOT} - 1 )) 552 if [ "${MPI_ROOT:$lastCharID:1}" == '/' ] 553 then 554 MPI_ROOT=${MPI_ROOT:0:$lastCharID} 555 fi 556 557 export FOAM_MPI=${MPI_ROOT##*/} 558 export MPI_ARCH_PATH=$MPI_ROOT 559 560 if [ ! -d "$MPI_ROOT" -o -z "$MPI_ARCH_PATH" ] 561 then 562 echo "Warning in $WM_PROJECT_DIR/etc/config/settings.sh:" 1>&2 563 echo " MPI_ROOT not a valid mpt installation directory or ending in a '/'." 1>&2 564 echo " Please set MPI_ROOT to the mpt installation directory." 1> &2 565 echo " MPI_ROOT currently set to '$MPI_ROOT'" 1>&2 566 fi 567 568 if [ "$FOAM_VERBOSE" -a "$PS1" ] 569 then 570 echo "Using INTEL MPI:" 571 echo " MPI_ROOT : $MPI_ROOT" 572 echo " FOAM_MPI : $FOAM_MPI" 573 fi 574 575 _foamAddPath $MPI_ARCH_PATH/bin64 576 _foamAddLib $MPI_ARCH_PATH/lib64 577 ;; 578 *) 579 export FOAM_MPI=$FOAM_LIBBIN/impi/4.0.024/bin64 580 #dummy 581 ;; 582 esac /home/wei/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64IccDPOpt/lib/openmpi-1.5.3/libPstream.so: could not read symbols: Invalid operation make[3]: *** [/home/wei/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64IccDPOpt/bin/refineHexMesh] Error 1 make[3]: Leaving directory `/home/wei/OpenFOAM/OpenFOAM-2.1.1/applications/utilities/mesh/advanced/refineHexMesh' make[2]: *** [refineHexMesh] Error 2 /home/wei/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64IccDPOpt/lib/openmpi-1.5.3/libPstream.so: could not read symbols: Invalid operation make[3]: *** [/home/wei/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64IccDPOpt/bin/selectCells] Error 1 make[3]: Leaving directory `/home/wei/OpenFOAM/OpenFOAM-2.1.1/applications/utilities/mesh/advanced/selectCells' make[2]: *** [selectCells] Error 2 ............................. after I add #undef EIO in the readMechanicalProperties.H it still has erros so what should I do? Thanks you all W. Last edited by hewei; February 7, 2013 at 15:05. |
|
Tags |
intel, of2.1 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
installation with Intel MPI and Intel compilers | achim | OpenFOAM Installation | 12 | November 10, 2011 05:56 |
Error compiling OpenFoam 1.6.x with intel compiler icc | mak_04 | OpenFOAM Installation | 5 | October 28, 2011 07:06 |
Compiling with Intel icc | gellert | OpenFOAM Installation | 9 | November 29, 2006 07:07 |