[Trilinos-Users] Trilinos building problem with Metis

Devine, Karen D kddevin at sandia.gov
Tue Nov 1 15:15:44 MDT 2011


Yes, the interface to ParMETIS 4.x differs significantly from ParMETIS
3.x.  Upgrading is not as trivial as one might expect.
Karen


On 11/1/11 3:12 PM, "Jonathan Hu" <jhu at sandia.gov> wrote:

>Vish,
>
>     Is there a reason you need the newest versions of the two?  I just
>tried ParMETIS 4.0.2, and there appear to be namespace changes from 3.1,
>with which I know ML will work.
>
>Jonathan
>
>vratnasw at caltech.edu wrote on 11/01/2011 01:58 PM:
>> Hi Jonathan,
>> I used ParMETIS 4.0.1 and METIS 5.0.1. I saw that there were two new
>> versions of ParMETIS and METIS out yesterday. I tried with the new
>>version
>> of METIS (5.0.2), but I had the same problem. Thanks.
>>
>> Vish
>>
>>> Hi Vish,
>>>
>>>       What versions of ParMETIS and METIS are you trying to use?
>>>
>>> Thanks,
>>> Jonathan
>>>
>>> Subject:
>>> [Trilinos-Users] Trilinos building problem with Metis
>>> From:
>>> <vratnasw at caltech.edu>
>>> Date:
>>> Mon, 31 Oct 2011 14:06:21 -0700
>>>
>>> To:
>>> <trilinos-users at software.sandia.gov>
>>>
>>>
>>> Hi,
>>> I tried building trilinos with the ML package enabled along with TPL's
>>> METIS and ParaMEtis. However I ran into the following errors:
>>>
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:85:19:
>>> error: unknown type name 'idxtype'
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:444:24:
>>> error: unknown type name 'idxtype'
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:
>>> In function 'ML_DecomposeGraph_with_METIS':
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:753:3:
>>> error: unknown type name 'idxtype'
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:755:3:
>>> error: unknown type name 'idxtype'
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:757:3:
>>> error: unknown type name 'idxtype'
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:819:14:
>>> error: 'idxtype' undeclared (first use in this function)
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:819:14:
>>> note: each undeclared identifier is reported only once for each
>>>function
>>> it appears in
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:819:23:
>>> error: expected expression before ')' token
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:828:23:
>>> error: expected expression before ')' token
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:829:23:
>>> error: expected expression before ')' token
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:889:22:
>>> error: expected expression before ')' token
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:945:7:
>>> warning: passing argument 9 of 'METIS_PartGraphRecursive' from
>>> incompatible pointer type [enabled by default]
>>> /home/vishagan/met/metis-5.0.1/build/include/metis.h:185:16: note:
>>> expected 'real_t *' but argument is of type 'int *'
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:945:7:
>>> warning: passing argument 10 of 'METIS_PartGraphRecursive' from
>>> incompatible pointer type [enabled by default]
>>> /home/vishagan/met/metis-5.0.1/build/include/metis.h:185:16: note:
>>> expected 'real_t *' but argument is of type 'int *'
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:945:7:
>>> error: too few arguments to function 'METIS_PartGraphRecursive'
>>> /home/vishagan/met/metis-5.0.1/build/include/metis.h:185:16: note:
>>> declared here
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:956:9:
>>> warning: passing argument 9 of 'METIS_PartGraphKway' from incompatible
>>> pointer type [enabled by default]
>>> /home/vishagan/met/metis-5.0.1/build/include/metis.h:190:16: note:
>>> expected 'real_t *' but argument is of type 'int *'
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:956:9:
>>> warning: passing argument 10 of 'METIS_PartGraphKway' from incompatible
>>> pointer type [enabled by default]
>>> /home/vishagan/met/metis-5.0.1/build/include/metis.h:190:16: note:
>>> expected 'real_t *' but argument is of type 'int *'
>>> 
>>>/home/vishagan/t2/trilinos-10.8.2-Source/packages/ml/src/Coarsen/ml_agg_
>>>METIS.c:956:9:
>>> error: too few arguments to function 'METIS_PartGraphKway'
>>> /home/vishagan/met/metis-5.0.1/build/include/metis.h:190:16: note:
>>> declared here
>>> make[2]: *** 
>>>[packages/ml/src/CMakeFiles/ml.dir/Coarsen/ml_agg_METIS.c.o]
>>> Error 1
>>> make[1]: *** [packages/ml/src/CMakeFiles/ml.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>>
>>> I've tried rebuilding metis along with Parametis and so forth, but no
>>>luck
>>> still. Any help would be appreciated. Thanks.
>>>
>>> Vish
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Trilinos-Users mailing list
>>> Trilinos-Users at software.sandia.gov
>>> http://software.sandia.gov/mailman/listinfo/trilinos-users
>>>
>>>
>>
>>
>>
>
>_______________________________________________
>Trilinos-Users mailing list
>Trilinos-Users at software.sandia.gov
>http://software.sandia.gov/mailman/listinfo/trilinos-users




More information about the Trilinos-Users mailing list