Configuration:

LDFLAGS="-L/opt/sw/scotch/5.1.12/lib" CPPFLAGS="-I/usr/include/MUMPS -I/opt/sw/scotch/5.1.12/include" CXX=icpc CC=icc FC=ifort F77=ifort MPICC=mpiicc MPIF77=mpiifort MPIFC=mpiifort MPICXX=mpiicpc ./configure --prefix=/opt/sw/freefem++/3.26-2 --with-mkl=/opt/intel/mkl/lib/intel64 --with-blas="-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5" --with-lapack="-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5" --with-mpi=mpiicpc --with-scotch-ldflags="-L/opt/sw/scotch/5.1.12/lib" --with-scotch-include="-I/opt/sw/scotch/5.1.12/include"  --with-mumps-include="-I/opt/sw/MUMPS/4.10.0/include" --with-mumps-ldflags="-L/opt/sw/MUMPS/4.10.0/lib" --with-metis-include="-I/opt/sw/metis/4.0.3/include" --with-metis-ldflags="-L/opt/sw/metis/4.0.3/lib" --with-parmetis-include="-I/opt/sw/parmetis/4.0.3/include" --with-parmetis-ldflags="-L/opt/sw/parmetis/4.0.3/lib" --enable-download

Prerequisites for the configuration above:

  • Scotch
  • Metis
  • MUMPS
  • Parmetis

If an error with “SEEK_set” occurs in “examples++-mpi”, use -DMPICH_IGNORE_CXX_SEEK:

mpiicpc -c -fPIC -g -DNDEBUG -O3 -mmmx -msse -msse2 -DMPICH_IGNORE_CXX_SEEK -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -I/usr/include/MUMPS -I../examples++-load/include '-I../examples++-load' '-I/opt/intel/impi/4.1.1.036/intel64/include' '../examples++-load/cmaes.cpp' 'mpi-cmaes.cpp'
  • doku/freefem.txt
  • Last modified: 2013/12/05 08:44
  • (external edit)