Changeset [53df545c3266c3599a9a5bcb12437906162b6722] by Jed Brown
November 29th, 2009 @ 06:59 PM
Check alignment in TensorMult_Hex_P4_Q4_D1
16-byte alignment is required for the MOVAPD instructions
used
extensively in this function. Prior to a fix in PetscTrMalloc,
this
function was crashing with optimized PETSc and -malloc_dump. The
reason
for this: PetscTrMallocDefault() was only guaranteeing 8-byte
alignment
(rather than respecting PETSC_MEMALIGN). In debug mode, these
happened to be equivalent because struct _trSPACE contained a
PetscStack member.
In optimized mode, the stack is not stored so we were only
getting
8-byte alignment, causing MOVAPD to generate a GP fault.
http://github.com/jedbrown/dohp/commit/53df545c3266c3599a9a5bcb1243...
Committed by Jed Brown
- M src/jacobi/impls/tensor/inlinetmulthex.h
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
An implementation of the ``dual order hp'' version of the finite element method. This project targets parallel domain-decomposition methods for strongly coupled nonlinear problems with PDE constraints.