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

Nexus: Adding crowds_serialize_walkers tag to dmc input list #4651

Merged
merged 2 commits into from
Jun 29, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions nexus/lib/qmcpack_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -2551,7 +2551,8 @@ class dmc(QIxml):
'gpu','multiple','warp','checkpoint','trace', # legacy - batched
'target','completed','id','continue']
elements = ['estimator']
parameters = ['total_walkers','walkers_per_rank','crowds','warmupsteps', # batched
parameters = ['total_walkers','walkers_per_rank','crowds','warmupsteps',
'crowd_serialize_walkers', # batched
'blocks','steps','substeps','timestep','maxcpusecs','rewind',
'storeconfigs','checkproperties','recordconfigs','current',
'stepsbetweensamples','samplesperthread','samples','reconfiguration',
Expand Down Expand Up @@ -2598,7 +2599,7 @@ class dmc_batch(QIxml):
tag = 'qmc'
attributes = ['method','move','profiling','kdelay','checkpoint']
elements = ['estimator']
parameters = ['total_walkers','walkers_per_rank','crowds','warmupsteps','blocks','steps','substeps','timestep','maxcpusecs','rewind','storeconfigs','checkproperties','recordconfigs','current','stepsbetweensamples','samplesperthread','samples','reconfiguration','nonlocalmoves','maxage','alpha','gamma','reserve','use_nonblocking','branching_cutoff_scheme','feedback','sigmabound']
parameters = ['total_walkers','walkers_per_rank','crowd_serialize_walkers','crowds','warmupsteps','blocks','steps','substeps','timestep','maxcpusecs','rewind','storeconfigs','checkproperties','recordconfigs','current','stepsbetweensamples','samplesperthread','samples','reconfiguration','nonlocalmoves','maxage','alpha','gamma','reserve','use_nonblocking','branching_cutoff_scheme','feedback','sigmabound']
write_types = obj(usedrift=yesno,profiling=yesno,reconfiguration=yesno,nonlocalmoves=yesnostr,use_nonblocking=yesno)
#end class dmc_batch

Expand Down Expand Up @@ -6578,6 +6579,7 @@ def generate_opts(opt_reqs,**kwargs):
timestep_factor = 0.5,
nonlocalmoves = None,
branching_cutoff_scheme = None,
crowd_serialize_walkers = None,
crowds = None,
reconfiguration = None,
maxage = None,
Expand Down Expand Up @@ -7077,6 +7079,7 @@ def generate_batched_dmc_calculations(
timestep_factor ,
nonlocalmoves ,
branching_cutoff_scheme,
crowd_serialize_walkers,
crowds ,
reconfiguration ,
maxage ,
Expand Down Expand Up @@ -7146,6 +7149,7 @@ def generate_batched_dmc_calculations(
substeps = substeps,
nonlocalmoves = nonlocalmoves,
branching_cutoff_scheme = branching_cutoff_scheme,
crowd_serialize_walkers = crowd_serialize_walkers,
crowds = crowds,
reconfiguration = reconfiguration,
maxage = maxage,
Expand Down