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/
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/a6553a48-5bf5-4d0c-9556-b652bdc3d52bn%40googlegroups.com.

Reply via email to