Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix segfault on restart read? #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

brryan
Copy link
Collaborator

@brryan brryan commented Oct 10, 2022

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.

@@ -39,7 +39,8 @@ def get_options():
host = {}

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
Collaborator 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
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
Copy link
Collaborator

@Yurlungur Yurlungur left a comment

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.

@@ -39,7 +39,8 @@ def get_options():
host = {}

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
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