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

Install Ginkgo via Spack for HiOp #656

Open
nychiang opened this issue Aug 25, 2023 · 1 comment
Open

Install Ginkgo via Spack for HiOp #656

nychiang opened this issue Aug 25, 2023 · 1 comment

Comments

@nychiang
Copy link
Collaborator

I tried to install ginkgo, using the same configuration given in newellVariables.sh, i.e.,
ginkgo@glu_experimental%gcc@8.3.1+cuda~develtools~full_optimizations~hwloc~ipo~oneapi+openmp~rocm+shared build_type=Release cuda_arch=70 arch=linux-rhel7-power9le

but then I got the following error:
[+] /usr/tce/packages/cuda/cuda-11.7.0 (external cuda-11.7.0-uokrglpk6zzlvaq2gpfrfgmgtdikqize) ==> Error: Can't extrapolate a URL for version glu_experimental because package ginkgo defines no URLs

Maybe a customized repository needs to be provided.

@cameronrutherford

@nychiang nychiang changed the title Installing Ginkgo via Spack Install Ginkgo via Spack for HiOp Aug 25, 2023
@cameronrutherford
Copy link
Collaborator

cameronrutherford commented Aug 30, 2023

I think you just have the spack package spec a little off. The newell modules here are a little old, and so feel free to copy the newer modules from updated ExaGO builds as needed (will be on GitHub soon...) - https://gitlab.pnnl.gov/exasgd/frameworks/exago/-/blob/develop/buildsystem/spack/newell/modules/dependencies.sh

https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/ginkgo/package.py#L29 - the proper syntax for ginkgo for that version is either ginkgo@1.5.0.glu_experimental, ginkgo@git.glu_experimental=1.5.0 or pulling in an external source code version of ginkgo and installing through spack develop or otherwise.

Hopefully that helps. Sorry for getting to this late, as I anticipated this would require more effort when just skimming my emails...

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