petsc with parmetis configuration problem

Christian May cmay at phys.ethz.ch
Wed Jul 1 04:07:09 CDT 2009


Hi all,

I want to configure petsc with parmetis invoking

./configure --prefix=/cluster/work/phys/cmay/petsc/ --with-c++-support 
--with-precision=double --with-shared=0 --download-superlu_dist=1 
--with-superlu_dist 
--with-parmetis-lib=/cluster/work/phys/cmay/petsc/petsc-3.0.0-p3/externalpackages/ParMetis-3.1.1/libparmetis.a 
--with-parmetis-include=/cluster/work/phys/cmay/petsc/petsc-3.0.0-p3/externalpackages/ParMetis-3.1.1/

According to configure.log the error is:

Possible ERROR while running linker: 
/cluster/work/phys/cmay/petsc/petsc-3.0.0-p3/externalpackages/ParMetis-3.1.1/libparmetis.a(kmetis.o): 
In function
  `ParMETIS_V3_PartKway':
kmetis.c:(.text+0xec5): undefined reference to 
`METIS_mCPartGraphRecursive2'
kmetis.c:(.text+0xf45): undefined reference to `METIS_WPartGraphKway'

These symbols are defined in libmetis.a, however there is no configure 
option for petsc to include metis. What would be the clean solution for this?

Thanks
Christian


More information about the petsc-users mailing list