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

Compilation Issue with su3_rmd: Function Call Argument Mismatch #74

Open
CunyangWei opened this issue Nov 16, 2024 · 2 comments
Open

Compilation Issue with su3_rmd: Function Call Argument Mismatch #74

CunyangWei opened this issue Nov 16, 2024 · 2 comments

Comments

@CunyangWei
Copy link

I'm working on develop branch. I encountered the following issue while compiling ks_imp_dyn/su3_rmd:

"update_u.c", line 47: error: too many arguments in function call
    qudaUpdateU(MILC_PRECISION, eps, momentum, gauge);
                                               ^
1 error detected in the compilation of "update_u.c".

I noticed that in both the develop and release versions of the QUDA code, the interface is defined as:
void qudaUnitarizeSU3(int prec, double tol, QudaMILCSiteArg_t *arg);

How should I correctly compile su3_rmd?

@detar
Copy link
Contributor

detar commented Nov 18, 2024

This is fixed in the current develop branch.

@CunyangWei
Copy link
Author

Now, in ks_imp_dyn/update_u.c is qudaUpdateU(MILC_PRECISION, eps, *arg); I think it should be modified as qudaUpdateU(MILC_PRECISION, eps, &arg);

And also update msg_tag * declare_strided_gather(void *field, ...) as msg_tag * declare_strided_gather(const void *field, ...)

But besides of these, I got #error "Can't build for QUDA: QUDA no longer supports qudaComputeOprod." in generic_ks/fermion_force_asqtad_gpu.c.

Could you give me some help about how to compile su3_rmd with cuda?

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

No branches or pull requests

2 participants