[Trilinos-Users] [11.2.1] ml package and Petsc 3.5.2

Jed Brown jed at 59A2.org
Fri Jan 9 14:57:08 MST 2015


It's a shame trlinios-users is not archived because this exact issue was
discussed here in August.  The PETSc interface to ML is maintained, but
evidently not vice-versa.

ML developers, would you be willing to make a stand-alone release of ML?
The majority of PETSc users prefer --download-ml to building the rest of
Trilinos (slow, takes a lot of storage/bandwidth, and we don't support
--download-trilinos).  Although we also support the latest bundled ML,
it doesn't get much testing.  I chatted with Mike about this at a
workshop a few months ago.

-------------- next part --------------
An embedded message was scrubbed...
From: "Heroux\, Mike" <MHeroux at CSBSJU.EDU>
Subject: Re: [Trilinos-Users] Problem compiling Trilinos against recent PETSc
Date: Wed, 27 Aug 2014 18:24:25 +0000
Size: 4571
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20150109/fd8f9c45/attachment.mht>
-------------- next part --------------


Denis Davydov <davydden at gmail.com> writes:

> Deal all, 
>
> Trilinos ML package fails to compile with Petsc 3.5.2:
>
> [ 77%] Built target Anasazi_Epetra_BKS_QEVP_test
> /usr/local/Cellar/cmake/3.1.0/bin/cmake -E cmake_progress_report /tmp/trilinos-8YSCn1/trilinos-11.12.1-Source/build/CMakeFiles 
> [ 77%] /tmp/trilinos-8YSCn1/trilinos-11.12.1-Source/packages/ml/src/Smoother/ml_smoother.c:8685:74: error: too few arguments to function call, expected 6, have 5
>   ierr=VecCreateMPIWithArray(comm->USR_comm,inlen,PETSC_DECIDE,x2,&petscX); CHKERRQ(ierr);
>        ~~~~~~~~~~~~~~~~~~~~~                                             ^
> /usr/local/include/petscvec.h:125:1: note: 'VecCreateMPIWithArray' declared here
> PETSC_EXTERN PetscErrorCode VecCreateMPIWithArray(MPI_Comm,PetscInt,PetscInt,PetscInt,const PetscScalar[],Vec*);
> ^
> /usr/local/include/petscsys.h:80:22: note: expanded from macro 'PETSC_EXTERN'
> #define PETSC_EXTERN extern PETSC_VISIBILITY_PUBLIC
>                      ^
> /tmp/trilinos-8YSCn1/trilinos-11.12.1-Source/packages/ml/src/Smoother/ml_smoother.c:8686:76: error: too few arguments to function call, expected 6, have 5
>   ierr=VecCreateMPIWithArray(comm->USR_comm,outlen,PETSC_DECIDE,rhs,&petscB); CHKERRQ(ierr);
>        ~~~~~~~~~~~~~~~~~~~~~                                               ^
> /usr/local/include/petscvec.h:125:1: note: 'VecCreateMPIWithArray' declared here
> PETSC_EXTERN PetscErrorCode VecCreateMPIWithArray(MPI_Comm,PetscInt,PetscInt,PetscInt,const PetscScalar[],Vec*);
> ^
> /usr/local/include/petscsys.h:80:22: note: expanded from macro 'PETSC_EXTERN'
> #define PETSC_EXTERN extern PETSC_VISIBILITY_PUBLIC
>                      ^
> Building C object packages/ml/src/CMakeFiles/ml.dir/Smoother/ml_superlu.c.o
>
>
>
> Kind regards,
> Denis 
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> https://software.sandia.gov/mailman/listinfo/trilinos-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20150109/fd8f9c45/attachment.sig>


More information about the Trilinos-Users mailing list