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

mpiexample_simple.py fails after the increase of number of workers #37

Closed
vvmikheev opened this issue Feb 20, 2020 · 3 comments
Closed

Comments

@vvmikheev
Copy link

I am trying to run the script using this command:

mpiexec -n 20 python mpi_example.py

Unfortunately, it fails with AssertionError. And it works just fine with 10 workers (example below.)
Could you please explain what has happened?

image

@vvmikheev
Copy link
Author

I increased the number of points in experimental design to solve this problem (num_pts in SymmetricLatinHypercube).
It helped somehow...

@dme65
Copy link
Owner

dme65 commented Feb 20, 2020

It’s unclear exactly what your settings are, but you need at least d+1 points to fit an RBF with a linear tail. Thus, if you run in asynchronous mode with p workers you need at least p+d initial design points.

@vvmikheev
Copy link
Author

Thank you, I will keep it in mind.

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

2 participants