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

upstream spack recipe? #18

Open
ltalirz opened this issue Feb 12, 2023 · 4 comments
Open

upstream spack recipe? #18

ltalirz opened this issue Feb 12, 2023 · 4 comments

Comments

@ltalirz
Copy link
Contributor

ltalirz commented Feb 12, 2023

it would be great if the nlcglib spack package could be upstreamed to simplify the build for users and improve reproducibility

@simonpintarelli
Copy link
Owner

Hi Leo, I'll update the main spack recipe, once the changes are merged in q-e-sirius.

@ltalirz
Copy link
Contributor Author

ltalirz commented Feb 12, 2023

Cheers, thanks Simon!

@ConradJohnston
Copy link

Hi @simonpintarelli , were these changes merged here?
electronic-structure/q-e-sirius#27

@simonpintarelli
Copy link
Owner

Hi @ConradJohnston ,

yes, the code has been merged into the main repository. Also the spack recipes have been merged upstream, it's no longer required to use the local repository.

Here are some common spack commands:

# cpu only
spack install q-e-sirius@develop-ristretto %gcc ^sirius@develop+nlcglib 
# cuda enabled
spack install q-e-sirius@develop-ristretto %gcc ^sirius@develop+nlcglib cuda_arch==XX
# cpu only / MKL
spack install q-e-sirius@develop-ristretto %gcc ^sirius@develop+nlcglib ^[email protected] threads=openmp

The develop branch of q-e-sirius is forked from QE v7.2.

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

3 participants