Hi, I need to use DM structures of type PETScInt. I tried to use: DM da_cu_types Vec cu_types_local,cu_types_global PetscInt,pointer :: cu_types_array(:,:,:) Is this allowed? The cu_types_array is to be of integer type. Because I got into problems compiling. -- Thank you. Yours sincerely, TAY wee-beng