[Trilinos-Users] [EXTERNAL] Trilinos 11.12.1 and ParMETIS

Dominique Orban dominique.orban at gmail.com
Thu Dec 4 10:41:47 MST 2014


Now I'm specifying

-DTPL_ENABLE_PARMETIS:BOOL=ON
-DParMETIS_LIBRARY_DIRS=/usr/local/Cellar/parmetis/4.0.3/lib
-DParMETIS_INCLUDE_DIRS=/usr/local/Cellar/parmetis/4.0.3/include

when I invoke CMake, but I'm still having no luck. CMake says that ParMETIS
is not enabled:

CMake Warning:
  Manually-specified variables were not used by the project:

    ParMETIS_INCLUDE_DIRS
    ParMETIS_LIBRARY_DIRS
    TPL_ENABLE_PARMETIS

Yet Zoltan seems to be looking for ParMETIS and isn't happy. The folders I
specify do contain the library and header file:

$ ls /usr/local/Cellar/parmetis/4.0.3/lib/
libparmetis.a
$ ls /usr/local/Cellar/parmetis/4.0.3/include/
parmetis.h

Any ideas?

Dominique

On Mon, Nov 24, 2014 at 5:30 PM, Devine, Karen D <kddevin at sandia.gov> wrote:

>  No, I build Zoltan with ParMETIS v4.0.3 all the time.
> Make sure your path to the include file parmetis.h is set correctly in
> your Trilinos CMAKE script:
>  -D ParMETIS_LIBRARY_DIRS:FILEPATH="yourpathtoparmetis403libraries" \
> -D ParMETIS_INCLUDE_DIRS:FILEPATH="yourpathtoparmetis403includefiles" \
>
>
>   From: Dominique Orban <dominique.orban at gmail.com>
> Date: Sunday, November 9, 2014 at 8:40 PM
> To: trilinos-users <trilinos-users at software.sandia.gov>
> Subject: [EXTERNAL] [Trilinos-Users] Trilinos 11.12.1 and ParMETIS
>
>    Thanks for the help getting Trilinos 11.12.1 going on OSX. I'm testing
> various options of the Homebrew formula. Homebrew currently ships a formula
> for ParMETIS 4.0.3. When I compile Trilinos and enable ParMETIS support, I
> get
>
>  [  4%] [  4%] In file included from
> /tmp/trilinos-FRHcxM/trilinos-11.12.1-Source/packages/zoltan/src/all/all_allo.c:57:
> In file included from
> /tmp/trilinos-FRHcxM/trilinos-11.12.1-Source/packages/zoltan/src/all/all_allo_const.h:51:
> In file included from
> /tmp/trilinos-FRHcxM/trilinos-11.12.1-Source/packages/zoltan/src/zz/zz_const.h:63:
> /tmp/trilinos-FRHcxM/trilinos-11.12.1-Source/packages/zoltan/src/tpls/third_library_const.h:178:6:
> error: "Unsupported version of ParMETIS; use ParMETIS 3.1 or 4."
>     #error "Unsupported version of ParMETIS; use ParMETIS 3.1 or 4."
>
>  Is it strictly version 4.0.0 that is supported?
>
>  Thanks!
>
>  Dominique
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20141204/11d09221/attachment.html>


More information about the Trilinos-Users mailing list