[Dune] Problem linking parmetis with cmake

Aleksejs Fomins aleksejs.fomins at lspr.ch
Wed Nov 26 11:42:11 CET 2014


Dear Christoph,

Parmetis is not found by configure. It was however previously found
using the autotools configure. I will attach my previous configure file

Best,
Aleksejs

On 11/26/2014 11:12 AM, Christoph GrĂ¼ninger wrote:
> Hi Aleksejs,
> is ParMETIS found by configure? If this is the case, you might want to
> add the flags to your target by using
> add_dune_parmetis_flags(yourTarget)
> 
> In any case, you can check whether the right include paths are given to
> the compiler with "make VERBOSE=1"
> 
> Bye
> Christoph
> 
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 
-------------- next part --------------
## options file - adapted for DUNE translation on linux Debian 7
## history - 2014 march 03 - 2009 feb 05 - 2008 dec 10 - 2006 jun 01
##
##
## nota bene - use these options for configure if no options are provided on
##             the cmdline usage with DUNE's dunecontrol in the directory where
##             dune-common, dune-grid, dune-istl, dune-grid-howto etc. reside:
##
##
##	usage - time ./dune-common/bin/dunecontrol --opts=af.debian7.lsprag.superludist33.gcc490.hades3dx.opts all	for building
##
##	usage - ./dune-common/bin/dunecontrol update all								for updating
##
##
##  git clone http://git.dune-project.org/repositories/dune-common
##  git clone http://git.dune-project.org/repositories/dune-geometry
##  git clone http://git.dune-project.org/repositories/dune-grid
##  git clone http://git.dune-project.org/repositories/dune-istl
##  git clone http://git.dune-project.org/repositories/dune-localfunctions
##  git clone http://git.dune-project.org/repositories/dune-grid-howto
##  git clone http://users.dune-project.org/repositories/projects/dune-alugrid.git
##
##	
##
##
##AUTOGEN_FLAGS="--ac=2.59 --am=-1.9.2"

CONFIGURE_FLAGS="DUNE_LDFLAGS='-L/opt/extlib/superludist/3.3/openmpi/1.8.1/gcc/4.9.0/lib -lsuperludist -L/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0/lib -lparmetis -L/opt/extlib/metis/5.1.0/gcc/4.9.0/lib -lmetis -lblas'
                 CXX='mpicxx' CC='mpicc' LD='mpicxx' F77='mpif77'
                 CXXFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing '
                 CPPFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2 -g0 -DHAVE_SUPERLU_DIST -I/opt/extlib/superludist/3.3/openmpi/1.8.1/gcc/4.9.0/SRC '
                 CFLAGS='-DMPICH_IGNORE_CXX_SEEK -O2 -g0 -fomit-frame-pointer --no-strict-aliasing  '
                 --enable-hades3deltd
                 --enable-hades3dfetd
                 --enable-hades3ddges
                 --enable-hades3ddgfd
		 --enable-hades3dx
                 --enable-hades3dfeqs
                 --enable-hades3dfefd
                 --disable-documentation
                 --enable-petsc
                 --enable-parallel
                 --enable-debug-output
                 --enable-fieldvector-size-is-method
                 --enable-experimental-grid-extensions
                 --without-gmp
                 --with-boost='/opt/extlib/boost/1.55.0/gcc/4.9.0'
                 --with-metis='/opt/extlib/metis/5.1.0/gcc/4.9.0'
                 --with-parmetis='/opt/extlib/parmetis/4.0.3/openmpi/1.8.1/gcc/4.9.0'
                 --with-petsc='/opt/extlib/petsc/3.5.0/openmpi/1.8.1/gcc/4.9.0'
                 --prefix='$HOME/gitwork/hades'
                "
                
# --without-alugrid
# --with-alugrid='/opt/extlib/alugrid/1.52/openmpi/1.8.1/gcc/4.9.0'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141126/5e30c934/attachment.sig>


More information about the Dune mailing list