Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • hyteg hyteg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 50
    • Issues 50
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • hyteg
  • hyteghyteg
  • Issues
  • #94
Closed
Open
Issue created Feb 27, 2019 by Nils Kohl@kohl🌝Maintainer

Optimized Intel builds result in segfaults when iterating over the boundary of a macro-face accessing edge unknowns

The following code produces segfaults (only) for Intel 2018 and 2019 release builds:

for ( const auto & it : edgedof::macroface::Iterator( fineLevel, 0 ) )
{
    edgeFineData[ edgedof::macroface::index( fineLevel, it.x(), it.y(), edgedof::EdgeDoFOrientation::X ) ] = real_c( 0 );
    edgeFineData[ edgedof::macroface::index( fineLevel, it.x(), it.y(), edgedof::EdgeDoFOrientation::XY ) ] = real_c( 0 );
    edgeFineData[ edgedof::macroface::index( fineLevel, it.x(), it.y(), edgedof::EdgeDoFOrientation::Y ) ] = real_c( 0 );
}

Compare codebase at b67f0f72 (P2toP2QuadraticProlongation.cpp::prolongateAdditively())

Currently replaced with:

const uint_t edgedofFieldSize = face->getData( function.getEdgeDoFFunction().getFaceDataID() )->getSize( fineLevel );
for ( uint_t i = 0; i < edgedofFieldSize; i++ )
{
    edgeFineData[i] = real_c( 0 );
}

The replacement appears to produce working code.

Assignee
Assign to
Time tracking