[Trilinos-Users] Trilinos 11.12.1 and ParMETIS
Dominique Orban
dominique.orban at gmail.com
Sun Dec 7 10:21:05 MST 2014
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> 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
>> <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
>> />/
>> />
>>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> https://software.sandia.gov/mailman/listinfo/trilinos-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20141207/a94c2797/attachment.html>
More information about the Trilinos-Users
mailing list