Please ignore my previous message but remind me not to work late with STARTING programming, one of the flags had ONE character of lowercase than it should, strange that configure accepted it (check for len is advisable). The point is that the inserted string had null string, when i checked the configure log i noticed the ARCH didnt have the right string in the configure but enviroment had. The cause: --with-petsc=$PETsC_ARCH.
> I am following the Wiki instruction, i think i have done that correctly, > however, i get the following error message after i pressed make all ( > exluding some uninteresting compiling info, with no error to keep the this > message short), > > In file included from /home/pi06jl6/petsc-2.3.3-p15/include/petscis.h:7, > from /home/pi06jl6/petsc-2.3.3-p15/include/petscvec.h:9, > from > /home/pi06jl6/deal.II/base/include/base/utilities.h:24, > from source/data_out_base.cc:32: > /home/pi06jl6/petsc-2.3.3-p15/include/petsc.h:13:23: error: petscconf.h: > No such file or directory > In file included from /home/pi06jl6/petsc-2.3.3-p15/include/petsc.h:1135, > from /home/pi06jl6/petsc-2.3.3-p15/include/petscis.h:7, > from /home/pi06jl6/petsc-2.3.3-p15/include/petscvec.h:9, > from > /home/pi06jl6/deal.II/base/include/base/utilities.h:24, > from source/data_out_base.cc:32: > /home/pi06jl6/petsc-2.3.3-p15/include/petscviewer.h:117: error: > 'PETSC_STATIC_INLINE' does not name a type > In file included from /home/pi06jl6/petsc-2.3.3-p15/include/petsc.h:1136, > from /home/pi06jl6/petsc-2.3.3-p15/include/petscis.h:7, > from /home/pi06jl6/petsc-2.3.3-p15/include/petscvec.h:9, > from > /home/pi06jl6/deal.II/base/include/base/utilities.h:24, > from source/data_out_base.cc:32: > /home/pi06jl6/petsc-2.3.3-p15/include/petscoptions.h:10: error: > 'PETSC_STATIC_INLINE' does not name a type > /home/pi06jl6/petsc-2.3.3-p15/include/petscoptions.h:12: error: > 'PETSC_STATIC_INLINE' does not name a type > /home/pi06jl6/petsc-2.3.3-p15/include/petscoptions.h:14: error: > 'PETSC_STATIC_INLINE' does not name a type > /home/pi06jl6/petsc-2.3.3-p15/include/petscoptions.h:16: error: > 'PETSC_STATIC_INLINE' does not name a type > /home/pi06jl6/petsc-2.3.3-p15/include/petscoptions.h:18: error: > 'PETSC_STATIC_INLINE' does not name a type > /home/pi06jl6/petsc-2.3.3-p15/include/petscoptions.h:20: error: > 'PETSC_STATIC_INLINE' does not name a type > /home/pi06jl6/petsc-2.3.3-p15/include/petscoptions.h:22: error: > 'PETSC_STATIC_INLINE' does not name a type > /home/pi06jl6/petsc-2.3.3-p15/include/petscoptions.h:24: error: > 'PETSC_STATIC_INLINE' does not name a type > /home/pi06jl6/petsc-2.3.3-p15/include/petscoptions.h:26: error: > 'PETSC_STATIC_INLINE' does not name a type > > note that the compiler is complaining about petsconf.h, if you look into > the header you see it requires PETSC_ARCH and PETSC_DIR enviroment > correctly, this i have also checked, and verified the presence of the > headers requested, this i cannot truly understand, anyone who could help > me? > > Best Regards > > Johan > > PS. And yes i have started to modify the the wrappers, just need to get > PetSc properly installed since i havent used it before. > _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
