Skip to content

Fix segfault on restart read?#30

Open
brryan wants to merge 1 commit into
masterfrom
brryan/hdf5_restart_fix
Open

Fix segfault on restart read?#30
brryan wants to merge 1 commit into
masterfrom
brryan/hdf5_restart_fix

Conversation

@brryan

@brryan brryan commented Oct 10, 2022

Copy link
Copy Markdown

PR Summary

I can't immediately deduce whether H5DOpen creates the entire dataset in RAM when called, but this PR closes each processor's dataset right after it is used which should solve the issue if this is indeed the problem.

PR Checklist

  • Adds a test for any bugs fixed. Adds tests for new features.

Comment thread script/machine/debian.py
host['NAME'] = os.uname()[1]
host['COMPILER'] = '/usr/local/hdf5-parallel/bin/h5pcc'
#host['COMPILER'] = '/usr/local/hdf5-parallel/bin/h5pcc'
host['COMPILER'] = 'h5pcc'

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be merged like this... but my vm is named ubuntu but my h5pcc isn't at this path. Maybe the solution is turning host['COMPILER'] into an array of strings all of which are searched?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I want to do a "search" thing. I think these machine files are intended to be modified... and debian was just a template.

@brryan brryan changed the title Fix segfault on restart read Fix segfault on restart read? Oct 10, 2022

@Yurlungur Yurlungur left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey thanks for looking at this. I'll try this and if it's the solution, merge.

Comment thread script/machine/debian.py
host['NAME'] = os.uname()[1]
host['COMPILER'] = '/usr/local/hdf5-parallel/bin/h5pcc'
#host['COMPILER'] = '/usr/local/hdf5-parallel/bin/h5pcc'
host['COMPILER'] = 'h5pcc'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I want to do a "search" thing. I think these machine files are intended to be modified... and debian was just a template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants