Re: [petsc-users] kokkos and include flags

2025-02-19 Thread Satish Balay
Try setting CPPFLAGS, FPPFLAGS, CXXPPFLAGS [and not via PETSC_FC_INCLUDES]. I think kokkos compile targets [for *.kokkos.cxx sources] should pick up one of them. for ex: >>> CPPFLAGS = -Wall FPPFLAGS = -Wall CXXPPFLAGS = -Wall include ${PETSC_DIR}/lib/petsc/conf/variables include ${PETSC_DIR

[petsc-users] kokkos and include flags

2025-02-19 Thread Steven Dargaville
Hi I'm trying to build my application code (which includes C and Fortran files) with a Makefile based off $PETSC_DIR/share/petsc/Makefile.basic.user by using the variables and rules defined in ${PETSC_DIR}/lib/petsc/conf/variables. My application uses petsc as well as another library, and hence I

Re: [petsc-users] grid adaptivity with dmforest

2025-02-19 Thread Matthew Knepley
On Wed, Feb 19, 2025 at 11:18 AM Preda Silvia via petsc-users < petsc-users@mcs.anl.gov> wrote: > Hi, > > > > I’m using the toycode below to manage adaptivity using a DMForest, based > on p4est. > > > > The code simply performs three adaptivity steps on a square grid > [0,1]x[0,1], uniformly refin

[petsc-users] grid adaptivity with dmforest

2025-02-19 Thread Preda Silvia via petsc-users
Hi, I'm using the toycode below to manage adaptivity using a DMForest, based on p4est. The code simply performs three adaptivity steps on a square grid [0,1]x[0,1], uniformly refined at level 2 at the beginning. The minimum and the maximum level of refinement are set to 1 and 5, respectively.