-
Notifications
You must be signed in to change notification settings - Fork 34
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
General: How to run in parallel? #10
Comments
Milan, thanks for raising this issue. The message you have copied in the above implies that you are not running the executable in parallel, rather, multiple copies of the program are being executed serially. The only other scenario that could lead to such a message being printed on the screen, is when an MPI parallelized sampler is used with only a single processor, like: Another scenario that can cause an MPI-parallelized program to not properly run in parallel is when an OpenMPI-parallelized executable is invoked via an MPICH mpiexec --version on the command line. |
Hi @milancurcic, since there have been no activities on this thread for a while, I assume the issue is now resolved and close it. If there are still ongoing problems relevant to this issue, feel free to reopen it and expand on it further. Thanks! |
Thank you for the nudge @shahmoradi and sorry for not acting sooner. I will give this one more try now from a fresh start, and compare MPI versions. |
Okay, all good, I just tried it and don't have the issue that I had before. |
I'm playing with the example provided with the binary release (libparamonte_fortran_linux_x64_gnu_release_dynamic_heap_openmpi) and I'm not clear how to run in parallel.
In serial mode things seem okay. However, if I do:
I get this message in stdout (among others):
I get the same result if I change the number of processes, or if I run the program directly,
mpiexec -n 2 ./main.exe
.In reference to openjournals/joss-reviews#2741
The text was updated successfully, but these errors were encountered: