Thanks Fehling, which version of Petsc is compatible with dealii?

Best regards,

Em sáb, 27 de mar de 2021 às 8:50 PM, Marc Fehling <[email protected]>
escreveu:

> Hello!
>
> > I wonder whether the PETSc interfaces have changed again.
>
> Sigh, I guess exactly this happened, see
> https://github.com/petsc/petsc/commit/569ea7c476928c4ccab5493c49720b88ce3320f4#diff-10d5cd204c8b9d29ef9bc54965f06c2ac039d4cfcdaab6a01ce027a345b9d232
>
> I'll prepare a fix.
>
> @Emmanuel: To solve the problem, you can either use an older version of
> PETSc, or wait for a patch that fixes this.
>
> Best,
> Marc
>
>
> On Saturday, March 27, 2021 at 5:56:53 AM UTC-6 [email protected] wrote:
>
>> Hi Dr. Wolfgang,
>>
>> This is version 3.14 and I installed it with the following settings:
>> ./configure --with-cc = gcc --with-fc = gfortran --download-mpich
>> --download-fblaslapack --download-mumps --download-scalapack
>> --download-hypre --download-metis --download -parmetis --download-arpack
>> --download-hdf5 --download-eigen --download-ptscotch --download-suitesparse
>> --with-scalar-type = real --with-debugging = no
>>
>> El sábado, 27 de marzo de 2021 a la(s) 00:34:21 UTC-3, Wolfgang Bangerth
>> escribió:
>>
>>>
>>> Emmanuel,
>>> what's the PETSc version you have installed? I wonder whether the PETSc
>>> interfaces have changed again.
>>>
>>> Best
>>> W.
>>>
>>> On 3/27/21 12:24 AM, Emmanuel Yarleque Medina wrote:
>>> > Hello everyone:
>>> >
>>> > I'm trying to install deal II 9.2.0 on Ubuntu 20.04.2 LTS release with
>>> comands:
>>> >
>>> > cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DDEAL_II_WITH_MPI=ON
>>> > -DPETSC_DIR=/home/hpc/petsc -DPETSC_ARCH=arch-linux2-c-opt
>>> > -DDEAL_II_WITH_PETSC=ON
>>> -DMETIS_DIR=/home/hpc/metis-5.1.0/build/Linux-x86_64
>>> > -DDEAL_II_WITH_METIS=ON -DP4EST_DIR=/home/hpc/p4est/DEBUG
>>> > -DTRILINOS_DIR=/home/hpc/trilinos -DDEAL_II_WITH_TRILINOS=ON
>>> > -DDEAL_II_WITH_P4EST=ON -DTrilinos_ENABLE_EXPLICIT_INSTANTIATION=ON
>>> ../
>>> >
>>> > and the following error happened:
>>> >
>>> > Scanning dependencies of target obj_non_matching_inst
>>> > [ 19%] Generating coupling.inst
>>> > [ 19%] Built target obj_physics_elasticity_inst
>>> > Scanning dependencies of target obj_sundials_debug
>>> > [ 19%] Built target obj_non_matching_inst
>>> > Scanning dependencies of target obj_numerics_debug
>>> > [ 19%] Building CXX object
>>> > source/sundials/CMakeFiles/obj_sundials_debug.dir/arkode.cc.o
>>> > [ 19%] Building CXX object
>>> > source/numerics/CMakeFiles/obj_numerics_debug.dir/data_out.cc.o
>>> > [ 19%] Building CXX object
>>> > source/sundials/CMakeFiles/obj_sundials_debug.dir/ida.cc.o
>>> > In file included from /home/hpc/petsc/include/petscsf.h:7,
>>> >                  from /home/hpc/petsc/include/petsc.h:12,
>>> >                  from
>>> > /home/hpc/dealII/dealii-9.2.0/include/deal.II/fe/fe_values.h:52,
>>> >                  from
>>> > /home/hpc/dealII/dealii-9.2.0/source/numerics/data_out.cc:23:
>>> > /home/hpc/petsc/include/petscis.h:216:47: error: expected initializer
>>> before
>>> > ‘ISColoringValue’
>>> >   216 | typedef unsigned PETSC_IS_COLORING_VALUE_TYPE ISColoringValue;
>>> >       |                                               ^~~~~~~~~~~~~~~
>>> > /home/hpc/petsc/include/petscis.h:219:65: error: ‘ISColoringValue’ has
>>> not
>>> > been declared
>>> >   219 | PETSC_EXTERN PetscErrorCode
>>> >
>>> ISAllGatherColors(MPI_Comm,PetscInt,ISColoringValue*,PetscInt*,ISColoringValue*[]);
>>>
>>> >       |
>>> >  ^~~~~~~~~~~~~~~
>>> > /home/hpc/petsc/include/petscis.h:219:92: error: ‘ISColoringValue’ has
>>> not
>>> > been declared
>>> >   219 | PETSC_EXTERN PetscErrorCode
>>> >
>>> ISAllGatherColors(MPI_Comm,PetscInt,ISColoringValue*,PetscInt*,ISColoringValue*[]);
>>>
>>> >       |
>>> >                       ^~~~~~~~~~~~~~~
>>> > /home/hpc/petsc/include/petscis.h:221:79: error: ‘ISColoringValue’
>>> does not
>>> > name a type; did you mean ‘ISColoringType’?
>>> >   221 | PETSC_EXTERN PetscErrorCode
>>> > ISColoringCreate(MPI_Comm,PetscInt,PetscInt,const
>>> > ISColoringValue[],PetscCopyMode,ISColoring*);
>>> >       |
>>> >          ^~~~~~~~~~~~~~~
>>> >       |
>>> >          ISColoringType
>>> > /home/hpc/petsc/include/petscis.h:230:86: error: ‘ISColoringValue’
>>> does not
>>> > name a type; did you mean ‘ISColoringView’?
>>> >   230 | PETSC_EXTERN PetscErrorCode
>>> > ISColoringGetColors(ISColoring,PetscInt*,PetscInt*,const
>>> ISColoringValue**);
>>> >       |
>>> >                 ^~~~~~~~~~~~~~~
>>> >       |
>>> >                 ISColoringView
>>> > In file included from /home/hpc/petsc/include/petscdm.h:6,
>>> >                  from /home/hpc/petsc/include/petscdmda.h:4,
>>> >                  from /home/hpc/petsc/include/petsc.h:14,
>>> >                  from
>>> > /home/hpc/dealII/dealii-9.2.0/include/deal.II/fe/fe_values.h:52,
>>> >                  from
>>> > /home/hpc/dealII/dealii-9.2.0/source/numerics/data_out.cc:23:
>>> > /home/hpc/petsc/include/petscmat.h:1335:68: error: ‘ISColoringValue’
>>> has not
>>> > been declared
>>> >  1335 | PETSC_EXTERN PetscErrorCode
>>> > MatColoringPatch(Mat,PetscInt,PetscInt,ISColoringValue[],ISColoring*);
>>> >       |
>>> > ^~~~~~~~~~~~~~~
>>> > [ 19%] Building CXX object
>>> > source/sundials/CMakeFiles/obj_sundials_debug.dir/copy.cc.o
>>> > [ 19%] Building CXX object
>>> > source/sundials/CMakeFiles/obj_sundials_debug.dir/kinsol.cc.o
>>> > make[2]: ***
>>> [source/numerics/CMakeFiles/obj_numerics_debug.dir/build.make:63:
>>> > source/numerics/CMakeFiles/obj_numerics_debug.dir/data_out.cc.o] Erro
>>> 1
>>> > make[1]: *** [CMakeFiles/Makefile2:1882:
>>> > source/numerics/CMakeFiles/obj_numerics_debug.dir/all] Erro 2
>>> > make[1]: ** Esperando que outros processos terminem.
>>> > [ 19%] Built target obj_sundials_debug
>>> > make: *** [Makefile:130: all] Erro 2
>>> > hpc@hpc:~/dealII/dealii-9.2.0/build$
>>> >
>>> >
>>> >
>>> > how can I resolve this error?
>>> >
>>> > Best regards,
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > The deal.II project is located at http://www.dealii.org/
>>> > <
>>> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dealii.org%2F&data=04%7C01%7CWolfgang.Bangerth%40colostate.edu%7Cd587d0874fda4e3cec2b08d8f0ae5b89%7Cafb58802ff7a4bb1ab21367ff2ecfc8b%7C0%7C0%7C637523978960103853%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XZzrxwNrIoXGRA7u%2BjqdoaEasOa0919yfdimTThIKz4%3D&reserved=0>
>>>
>>> > For mailing list/forum options, see
>>> > https://groups.google.com/d/forum/dealii?hl=en
>>> > <
>>> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fforum%2Fdealii%3Fhl%3Den&data=04%7C01%7CWolfgang.Bangerth%40colostate.edu%7Cd587d0874fda4e3cec2b08d8f0ae5b89%7Cafb58802ff7a4bb1ab21367ff2ecfc8b%7C0%7C0%7C637523978960113849%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HEDF6YFE0z5TvYRnp7jZ7mD31riWnHONO9pPFJT7qY8%3D&reserved=0>
>>>
>>> > ---
>>> > You received this message because you are subscribed to the Google
>>> Groups
>>> > "deal.II User Group" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>> > email to [email protected]
>>> > <mailto:[email protected]>.
>>> > To view this discussion on the web visit
>>> >
>>> https://groups.google.com/d/msgid/dealii/a6553a48-5bf5-4d0c-9556-b652bdc3d52bn%40googlegroups.com
>>> > <
>>> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fdealii%2Fa6553a48-5bf5-4d0c-9556-b652bdc3d52bn%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7CWolfgang.Bangerth%40colostate.edu%7Cd587d0874fda4e3cec2b08d8f0ae5b89%7Cafb58802ff7a4bb1ab21367ff2ecfc8b%7C0%7C0%7C637523978960113849%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UqZrZuzCRb%2BmjI%2Bi1A1AOG5IE1VSdwI9vAxS%2Fy2EKwQ%3D&reserved=0>.
>>>
>>>
>>>
>>> --
>>> ------------------------------------------------------------------------
>>> Wolfgang Bangerth email: [email protected]
>>> www: http://www.math.colostate.edu/~bangerth/
>>>
>>> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dealii/GsQZX6LbMFE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/e20f55c7-0d9a-403a-98ba-42cdac768b25n%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/e20f55c7-0d9a-403a-98ba-42cdac768b25n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAJht_TXBZZ7sGYgice0-9ZwjzDE%2BMBTFRRJxSfbmA-2nod7rkA%40mail.gmail.com.

Reply via email to