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

Allow deferred variables in 'only_if' and 'not-if'. #720

Open
Paul-Ferrell opened this issue Nov 27, 2023 · 0 comments
Open

Allow deferred variables in 'only_if' and 'not-if'. #720

Paul-Ferrell opened this issue Nov 27, 2023 · 0 comments
Assignees

Comments

@Paul-Ferrell
Copy link
Collaborator

It seems, you cannot use deferred variables (e.g. host_arch) in the only_if section of tests. In combination with the slurm scheduler, this is problematic. The only_if is evaluated on the frontend without deferred variables, so if you have e.g. an x86_64 frontend but aarch64 compute nodes, the tests are never built nor ran. In my case, I have a sys_var plugin for the vectorization support (SSE, AVX, AVX512, …) of the “host”. The frontend is an old Haswell system (so no AVX512) while the backend are IcelakeSP nodes (support for AVX512). How can we fix this?

@Paul-Ferrell Paul-Ferrell self-assigned this Nov 27, 2023
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

1 participant