[Trilinos-Users] Trilinos 11.12.1 and ParMETIS
Dominique Orban
dominique.orban at gmail.com
Mon Dec 22 21:08:25 MST 2014
Jonathan,
Many thanks. I set up Trilinos to build against HDF5 version 1.8.12 and I'm
getting a bit further. I'm now getting an error related to Sacado:
/tmp/trilinos-6H4gzM/trilinos-11.12.1-Source/packages/sacado/src/Sacado_trad.hpp:479:
7: error: function template specialization 'operator+' ambiguously refers
to more than one function template; explicitly specify additional
template arguments to identify a particular function template
T2(R,operator+)
^
This error is followed by numerous errors related to Eigen. The complete
logs are here: https://gist.github.com/c5afd04bb05a4cb3ac1c
I'm trying to build a Homebrew formula for Trilinos with as many components
enabled as possible. Let me know if I can provide more useful information.
Dominique
On Mon, Dec 8, 2014 at 1:56 PM, Jonathan Hu <jhu at sandia.gov> wrote:
> 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="yourpathtoparmetis403includefi
>> les"
>> \
>> />/
>> />/
>> />/ 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
>>
>>
>>
>
> _______________________________________________
> 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/20141222/25380689/attachment.html>
More information about the Trilinos-Users
mailing list