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

Update RNG seed initialization in PARPACK #437

Closed
wants to merge 1 commit into from

Conversation

FabienPean
Copy link
Contributor

Following-up and trying to wrap-up #431. Taking into account the elements raised by #431 (comment) using basic tools.

Does this change seems appropriate to you @szhorvat @fghoussen ?

Each seed is initialized from a random generator coming from a master seed by running myid times the RNG. For a given seed, successive call to the generator should produce an independent sequence according the info, then converting those number to fit within the LAPACK seed constraints.

@szhorvat
Copy link
Contributor

szhorvat commented Sep 25, 2023

I'm not completely comfortable with this and I'll try to get back to you later.

One (not the only) concern here is whether the process ID can have large values, causing a long initial iteration.

@sylvestre
Copy link
Contributor

is there a way to test this? thanks

@sylvestre
Copy link
Contributor

no activity for a while, closing.
please reopen with a test

@sylvestre sylvestre closed this Apr 1, 2024
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.

3 participants