Skip to content

AMR segmentation fault #251

@suniverse

Description

@suniverse

Hi,

I am trying to run a hydro simulation with AMR. It seems that if I would like to use more than one refinement level, I ran into the memory issue. A segmentation fault from InterpolateBoundaryFromParent. There is no issue is I only use one refinement level. The error message is below.

[tri0004:3048316:0:3048316] Caught signal 11 (Segmentation fault: address not mapped to object at address (nil))
[tri0004:3048302:0:3048302] Caught signal 11 (Segmentation fault: address not mapped to object at address (nil))
==== backtrace (tid:3048433) ====
 0 0x0000000000038790 __sigaction()  ???:0
 1 0x0000000000690d29 grid::InterpolateBoundaryFromParent()  /home/xinyuli/enzo-dev/src/enzo/Grid_InterpolateBoundaryFromParent.C:443
 2 0x00000000007b9950 SetBoundaryConditions()  /home/xinyuli/enzo-dev/src/enzo/SetBoundaryConditions.C:134
 3 0x00000000005c9a34 SetAccelerationBoundary()  /home/xinyuli/enzo-dev/src/enzo/Grid_AccelerationBoundaryRoutines.C:152
 4 0x00000000004d7da5 EvolveLevel()  /home/xinyuli/enzo-dev/src/enzo/EvolveLevel.C:547
 5 0x00000000004d8a8d EvolveLevel()  /home/xinyuli/enzo-dev/src/enzo/EvolveLevel.C:819
 6 0x00000000004d8a8d EvolveLevel()  /home/xinyuli/enzo-dev/src/enzo/EvolveLevel.C:819
 7 0x00000000004c698d EvolveHierarchy()  /home/xinyuli/enzo-dev/src/enzo/EvolveHierarchy.C:506
 8 0x0000000000407de2 main()  /home/xinyuli/enzo-dev/src/enzo/enzo.C:793
 9 0x000000000002394a __libc_init_first()  ???:0
10 0x0000000000023a05 __libc_start_main()  ???:0
11 0x0000000000407051 _start()  ???:0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions