[Dune] parmetis not found, am a bit puzzled
Benedikt Oswald
benedikt.oswald at lspr.ch
Fri Mar 6 16:48:53 CET 2015
Dear Dune, I am struggling with finding ParMETIS also I specify it the
very same way as Aleksejs does it.
I probably just oversee a small little detail,but would appreciate a
hint on it.
My opts look like this:
USE_CMAKE=yes
CONFIGURE_FLAGS="--enable-parallel --enable-experimental-grid-extensions
CC=mpicc CXX=mpicxx"
CMAKE_PREFIX_PATH="\
/opt/extlib/boost/1.57.0/gcc/4.9.2;\
/opt/extlib/parmetis/4.0.3/openmpi/1.8.4/gcc/4.9.2;\
/opt/extlib/parmetis/4.0.3/openmpi/1.8.4/gcc/4.9.2/lib;\
/opt/extlib/metis/5.1.0/gcc/4.9.2;\
/opt/extlib/superludist/3.3/openmpi/1.8.4/gcc/4.9.2;\
/opt/extlib/superludist/3.3/openmpi/1.8.4/gcc/4.9.2/SRC;\
/opt/extlib/superludist/3.3/openmpi/1.8.4/gcc/4.9.2/lib;\
"
## define gcc options - nota bene: -O2 and -g2 cause gcc 4.9.2 to crash
but -O2 alone works !
GXX_OPT=""
GXX_WARNING_OPT="-Wall -pedantic"
GXX_OPTIMIZATION_OPT="-O2"
## define superludist paths & library
SUPERLU_DIST_OPTS="-DHAVE_SUPERLU_DIST"
SUPERLU_DIST_INCLUDE_PATH="-I/opt/extlib/parmetis/4.0.3/openmpi/1.8.4/gcc/4.9.2/include
-I/opt/extlib/metis/5.1.0/gcc/4.9.2/include
-I/opt/extlib/superludist/3.3/openmpi/1.8.4/gcc/4.9.2/SRC"
SUPERLU_DIST_LIBRARY="-L/opt/extlib/superludist/3.3/openmpi/1.8.4/gcc/4.9.2/lib
-lsuperludist -L/opt/extlib/parmetis/4.0.3/openmpi/1.8.4/gcc/4.9.2/lib
-lparmetis -L/opt/extlib/metis/5.1.0/gcc/4.9.2/lib -lmetis -framework
Accelerate"
CMAKE_FLAGS="\
-DMY_WEIRD_FLAGS='-DHAVE_SUPERLU_DIST -DBOOST_LOG_DYN_LINK -DHAVE_DEBUG' \
-DMY_WEIRD_LIB_PATH='-L/opt/extlib/superludist/3.3/openmpi/1.8.4/gcc/4.9.2/lib
-L/opt/extlib/parmetis/4.0.3/openmpi/1.8.4/gcc/4.9.2/lib
-L/opt/extlib/metis/5.1.0/gcc/4.9.2/lib' \
-DMY_WEIRD_LIBS='superludist;parmetis;metis' \
-DCMAKE_CXX_FLAGS=\"$GXX_WARNING_OPT $GXX_OPT $SUPERLU_DIST_INCLUDE_PATH
\" \
-DPARMETIS_ROOT="/opt/extlib/parmetis/4.0.3/openmpi/1.8.4/gcc/4.9.2" \
-DCMAKE_LIBRARY_PATH:RELEASE=\"/opt/extlib/boost/1.57.0/gcc/4.9.2/lib\" \
-DCMAKE_LIBRARY_PATH:DEBUG=\"/opt/extlib/boost/1.57.0/gcc/4.9.2/lib\" \
-DCMAKE_STANDARD_LIBRARIES:RELEASE=\"-lboost_system -lprogram_options\" \
-DCMAKE_STANDARD_LIBRARIES:DEBUG=\"-lboost_system -lprogram_options\" \
-DCMAKE_PREFIX_PATH=\"$CMAKE_PREFIX_PATH\" \
-DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE \
=================================
and then it happens like this,namely METIS is found but not ParMETIS,
cf. output below:
-- Looking for metis.h
-- Looking for metis.h - found
-- Looking for METIS_PartGraphKway
-- Looking for METIS_PartGraphKway - found
-- Found METIS: /opt/extlib/metis/5.1.0/gcc/4.9.2/include
-- Looking for parmetis.h
-- Looking for parmetis.h - not found
-- Could NOT find ParMETIS (missing: PARMETIS_LIBRARY HAVE_PARMETIS)
=========
odysseus:hades-dune oswald$ uname -a
Darwin odysseus.local 14.1.0 Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
Dune is latest trunk from this afternoon.
Greetings & thanks, Benedikt
------------------------------------------------------------------------------------------------
Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41 43 366 90 74
Technoparkstrasse 1, CH-8005 Zürich, benedikt.oswald at lspr.ch - labor vincit omnia improbus
------------------------------------------------------------------------------------------------
More information about the Dune
mailing list