-
Notifications
You must be signed in to change notification settings - Fork 2
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
parallel computing error #51
Comments
I have a few questions
|
How are you parallelizing? |
questions: I assumed it is internally parallelized and I don't need to make the outer for-loop parallelized. Am I correct? The steps' time sounds reasonable but didn't check it out how long they take exactly. |
Monte Carlo sampling is a Markov Chain so you cannot parallelize that.
For your case I think option 3 is the best. Which means that you have to parallelize a for loop over compositions. |
Option 1 is handled internally, but you have to pass a MPI communicator object to the Monte Carlo class to activate it. For ground search I recommend option 3. |
OK, understand. Will try to make an example of option 3 and then maybe you could complement it with option 1. |
Option 1 is of no use when searching for ground states. At low temperatures
it might also be rather inefficient because all Markov Chain can easily end
up visiting the same states and then there is not much point. If you really
want to make sure that you use the CPUs efficiently option 3 is the best.
Den lør. 20. okt. 2018, 10.54 skrev phymalidoust <notifications@github.com>:
… OK, understand. Will try to make an example of option 3 and then maybe you
could complement it with option 1.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#51 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMg_T00qqBEsfEw_O1u-cv6hZBBEgky1ks5umuTCgaJpZM4XwNJx>
.
|
When running on a supercomputer, with 1node and asking for 1 task per node, it works although returns several warnings. However, when the number of nodes or tasks per node is increased, the code stops with error. The output files of both cases are attached.
output_1node_1task.txt
output_3nodes_1task.txt
The text was updated successfully, but these errors were encountered: