-
Notifications
You must be signed in to change notification settings - Fork 70
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
Clarification on "dependent_runs" tag in canonical Monte carlo simulation and restarting the simulation #341
Comments
|
Thanks for the suggestion regarding the dependent run parameter. |
Can you describe exactly what is happening? I used your input file and canceled the Monte Carlo at 1200 degrees, and it restarted okay for me. I tried both the conda version and the latest version of CASM. |
Sure. I am getting something like "-- Error: Conditions mismatch -- incremental conditions 0: ERROR running Canonical Monte Carlo. ERROR: initial_conditions or incremental_conditions has changed. |
Can you try it with just the first two comp (or whichever two are the composition axes from
|
Thanks!! I tried your suggestion and I get rid of the earlier problem of restarting. However, I am encountering "Segmentation fault" "-- Check: For existing calculations -- -- Set: DoF -- -- Enforce composition -- ===================================================================================
|
Does it only happen when restarting? Also, are you able to install the latest version from source? It might work better. |
Yes, it is happening at the time of restart. I have not tried installing from the source. I will try it. Thanks!! |
One more thing to check, since you are doing canonical Monte Carlo, is that the values of |
Sure!! I will check and compare. Yes, I do expect the values of "comp" which I see from casm query -k comp. |
Hello
I have couple of queries regarding the subject of the issue.
1: I was wondering how the "dependent_runs" would effect my canonical MC results performed at different temperatures.
I did a small testing with two calculations, one with the dependent_runs = true, and the other with "false". As a result, I am getting different formation energies, which makes sense (as if it is true, begin the next calculation with the final DoF from the previous calculation. If false, begin each calculation with the DoF specified for the "motif".) Which of the option would help me achieve more accurate results?
2: Actually I am trying to perform canonical MC simulation at different temperatures and because of the limitation of the cluster walltime, I could scan only few temperatures in the first run. For example, let say, in the first run, I could get the results upto 1200 K and there is proper generation of "condition.x" till that point. Now, I wish to restart from that point and continue to my final condition of temperature specified in my input file.
I could restart the calculations for the grand canonical ensemble, but for canonical, I am not really sure. Can you please suggest a way to achieve the same? For your reference, I attach my input file.
{
"comment" : "This is a sample input file. Unrecognized attributes (like the ones prepended with '_') are ignored.",
"debug" : false,
"ensemble" : "canonical",
"method" : "metropolis",
"model" : {
"formation_energy" : "formation_energy"
},
"supercell" : [
[12, 0, 12],
[0, 12, 12],
[12, 12, 12]
],
"data" : {
"sample_by" : "pass",
"sample_period" : 1,
"_N_sample" : 1000,
"_N_pass" : 1000,
"_N_step" : 1000,
"_max_pass" : 10000,
"min_pass" : 1000,
"_max_step" : 10000,
"_max_sample" : 500,
"_min_sample" : 100,
"confidence" : 0.95,
"measurements" : [
{
"quantity" : "formation_energy",
"precision" : 1e-2
},
{
"quantity" : "potential_energy"
},
{
"quantity" : "atom_frac"
},
{
"quantity" : "site_frac"
},
{
"quantity" : "comp",
"precision" : 1e-3
},
{
"quantity" : "comp_n"
}
],
"storage" : {
"write_observations" : false,
"write_trajectory" : false,
"output_format" : ["csv", "json"]
}
},
"driver" : {
"mode" : "incremental",
"dependent_runs" : false,
"motif" : {
"configname" : "default",
"_configname" : "SCEL9_1_9_1_0_0_0/0",
"_configdof" : "path/to/final_state.json"
},
"initial_conditions" : {
"comp": [0.66666667, 0.22222222, 0.11111111],
"temperature" : 100.0,
"tolerance" : 0.001
},
"final_conditions" : {
"comp": [0.66666667, 0.22222222, 0.11111111],
"temperature" : 1500.0,
"tolerance" : 0.001
},
"incremental_conditions" : {
"comp": [0.000000, 0.000000, 0.00000],
"temperature" : 100.0,
"tolerance" : 0.001
}
}
}
Looking forward for any suggestions. Thank you in advance and regards
Dhanshree
The text was updated successfully, but these errors were encountered: