Skip to content

Konstantin devel Wilson+Clover N_f=2+1 implementation#673

Merged
kostrzewa merged 9 commits intomasterfrom
konstantin_devel
Apr 1, 2026
Merged

Konstantin devel Wilson+Clover N_f=2+1 implementation#673
kostrzewa merged 9 commits intomasterfrom
konstantin_devel

Conversation

@kottnad
Copy link
Copy Markdown
Contributor

@kottnad kottnad commented Mar 27, 2026

Provides a working implementation of N_f=2+1 (plain) Wilson+Clover simulations.
Still lacks a GPU implementation of the force for the single flavor part though.

kottnad and others added 4 commits March 23, 2026 17:29
…ed explicit "single_flavor" flag in monomials to e.g. fix issue with double counting of trlog term and make the code more expressive in several places.
@kostrzewa
Copy link
Copy Markdown
Member

@kottnad thanks, this is looking great!

Not sure how to proceed w.r.t. the order of merging this or #664 first. Any order will require a certain level of conflict resolution.

@kostrzewa
Copy link
Copy Markdown
Member

@chaoos @mtaillefumier any thoughts on the best order of merging this or #664 ?

@chaoos
Copy link
Copy Markdown
Contributor

chaoos commented Mar 27, 2026

@kostrzewa If this is a quick and small thing, I'd merge it. Yes, it gives conflicts on the cmake branch, but else we have to suspend all merges until cmake is merged (which might still take a while?).

@kostrzewa
Copy link
Copy Markdown
Member

@kostrzewa If this is a quick and small thing, I'd merge it. Yes, it gives conflicts on the cmake branch, but else we have to suspend all merges until cmake is merged (which might still take a while?).

@chaoos compared to the cmake_support branch the number of changes here is small

@mtaillefumier
Copy link
Copy Markdown
Contributor

Please merge it. I will resolve the merge conflicts afterwards.

kottnad and others added 2 commits March 30, 2026 12:54
…QUDA_MATPC_ODD_ODD_ASYMMETRIC in quda_interface.h. This does not seem to affect the simulation but more correctly reflects the theoretical setup.
// if(mnl->type != CLOVERRAT) phmc_compute_ev(hf->traj_counter-1, id, &Qtm_pm_ndbipsi);
// else phmc_compute_ev(hf->traj_counter-1, id, &Qsw_pm_ndbipsi);
if(mnl->type != CLOVERRAT) {
phmc_compute_ev(hf->traj_counter-1, id, &Qtm_pm_ndbipsi);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kottnad could you please add a comment here specifying that this call is technically not correct but that when running with QUDA the EV computation will work nonetheless?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@kostrzewa
Copy link
Copy Markdown
Member

kostrzewa commented Apr 1, 2026

Thanks for this. Could you please apply clang-format to the files that you modified and add the comment that I mention above?

Down the line (not in this PR) we will need to review the non-HMC inversion pathway but we need to design a test for that. Already have something in mind.

@kostrzewa
Copy link
Copy Markdown
Member

Thanks!

@kostrzewa kostrzewa merged commit 265590e into master Apr 1, 2026
3 checks passed
@kostrzewa kostrzewa mentioned this pull request Apr 1, 2026
27 tasks
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

Successfully merging this pull request may close these issues.

4 participants