Skip to content

HDF5 crashes with large 2d grids on Mac #40

@IanHawke

Description

@IanHawke

double buffer[buffer_size];

When running on 1024^2 with ToyQ on Mac, the buffer creation segfaults. Replacing this line with

double *buffer = (double *) malloc(buffer_size*sizeof(double));

seems to work.

Unless someone objects, I will change this to an explicit malloc (note: need to check parallel case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions