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

Arbitrary list length #7

Open
dth2 opened this issue Jun 5, 2019 · 2 comments
Open

Arbitrary list length #7

dth2 opened this issue Jun 5, 2019 · 2 comments

Comments

@dth2
Copy link

dth2 commented Jun 5, 2019

In the line here"
https://github.com/statnet/EpiModelHPC/blob/9491c5e5de29616b824899fa552decddc685150d/R/check_cp.R#L44

the number of cp data files is required to be 16. Is there a reason this is hard coded? When running jobs with very large memory requirements it makes sense to use fewer nodes since memory is shares across nodes but this results in jobs starting as new each time they are checkpointed because the directory check returns NULL. Perhaps setting this to check the number of nodes assigned to the job would make more sense.

@thednainus
Copy link

I have also noticed that. Is there a reason for this? Thanks.

@smjenness
Copy link
Collaborator

this was hard-coded when all the nodes on Hyak were 16-core. we haven't had to use check pointing for years due to tergmLite, so I haven't needed to update this. feel free to contribute a PR if you would like to generalize this.

@smjenness smjenness reopened this Feb 3, 2021
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

No branches or pull requests

3 participants