[Trilinos-Users] Trilinos 11.12.1 and ParMETIS
Jonathan Hu
jhu at sandia.gov
Mon Dec 8 11:56:00 MST 2014
Dominique,
Glad that worked. Regarding the HDF5 error, other users have reported
EpetraExt compatibility issues with recent HDF5 versions.
> On 9/15/14, 1:45 PM, Bosler, Peter Andrew wrote:
> >/ I had problems with EpetraExt and HDF5 too, and eventually found that the
> />/ new (1.8.13) version of HDF5 doesn¹t work with Epetra.
> />/
> />/ I backed down to HDF5 1.8.12, rebuilt, and it worked properly. Not sure
> />/ it that will fix your problem (mine generated a compile-time error, not a
> />/ runtime error), but maybe it¹s worth a shot.
> />/
> />/ Pete Bosler/
You might try 1.8.12 to see if that resolves it.
Regards,
Jonathan
Dominique Orban wrote on 12/07/2014 09:21 AM:
> Jonathan,
>
> Many thanks. Your suggestion resolved my issue. I'm now stuck with the
> following error message:
>
> /tmp/trilinos-3n5bKL/trilinos-11.12.1-Source/packages/epetraext/src/inout/EpetraExt_HDF5.cpp:347:5:
> error: use of undeclared identifier 'H5Pset_fapl_mpio'; did you mean
> 'H5Pset_fapl_core'?
> H5Pset_fapl_mpio(plist_id_, mpiComm, MPI_INFO_NULL);
> ^~~~~~~~~~~~~~~~
> H5Pset_fapl_core
> /usr/local/include/H5FDcore.h:34:15: note: 'H5Pset_fapl_core' declared
> here
> H5_DLL herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment,
> ^
>
> Thanks for any hint!
>
> Dominique
>
> On Thu, Dec 4, 2014 at 1:04 PM, Jonathan Hu <jhu at sandia.gov
> <mailto:jhu at sandia.gov>> wrote:
>
> 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 <http://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
> <http://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
> <http://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
> />/
> />
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> <mailto:Trilinos-Users at software.sandia.gov>
> https://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
More information about the Trilinos-Users
mailing list