[Trilinos-Users] Trilinos 11.12.1 and ParMETIS

Jonathan Hu jhu at sandia.gov
Thu Dec 4 11:04:25 MST 2014


Dominique,

     Your option specifying that ParMETIS be enabled is not correct, as 
cmake is case sensitive.  The message "Manually-specified variables were 
not used" indicates there could be an issue with some of your cmake 
options. Use "-DTPL_ENABLE_ParMETIS:BOOL=ON" instead.

ParMETIS is an optional dependency for Zoltan, so it should configure 
and build fine if ParMETIS isn't enabled.

Regards,
Jonathan

> 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  <https://software.sandia.gov/mailman/listinfo/trilinos-users>> 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  <https://software.sandia.gov/mailman/listinfo/trilinos-users>>
> />/  Date: Sunday, November 9, 2014 at 8:40 PM
> />/  To: trilinos-users <trilinos-users at software.sandia.gov  <https://software.sandia.gov/mailman/listinfo/trilinos-users>>
> />/  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
> />/
> />



More information about the Trilinos-Users mailing list