FEAP User Forum
FEAP => Parallel FEAP => Topic started by: william.lnx on August 10, 2017, 01:21:13 PM
-
Hello everyone,
I am trying to run parfeap (FEAP ver8.4) in a server. I have followed the installation instructions in the parallel manual. Once I made "make install" in the parfeap directory I get the following:
.../ver84/parfeap/unix/smetis.c:35: undefined reference to `METIS_SetDefaultOptions'
.../ver84/parfeap/unix/smetis.c:52: undefined reference to `METIS_PartGraphRecursive'
.../ver84/parfeap/unix/smetis.c:62: undefined reference to `METIS_PartGraphKway'
Any idea of what can be the problem?
Thank you in advance.
-
When you build PETSc you need add the metis and parmetis packages. So when you run configure, make sure to include them:
./configure --download-{parmetis,metis}
-
Thank you for your answer,
This is the way I am running configure:
./configure --download-{spooles,superlu_dist,prometheus, mpich,ml,hypre,parmetis,metis,mumps,scalapack,blacs} --with-debugging=0
So I guess I am already adding the metis and parmetis packages.
Regards.
-
That looks fine, though note that prometheus no longer exists in PETSc it has been replace by a built-in GAMG algorithm, so you can/should remove it from your configure line.
When you perform make install in the parfeap folder you should see
-lparmetis -lmetis
in the link line. If not there is some problem with your PETSc build. If they are there, then problem is more severe. You may want to just delete your PETSc installation and re-do it to make sure that it is building in METIS.
Also check $PETSC_DIR/$PETSC_ARCH/lib/ for libmetis and libparmetis (those are the two libraries needed to resolve the unsatisfied external).