-
Notifications
You must be signed in to change notification settings - Fork 2
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
Building parts of Spack environments on different nodes: option1 (include other concretised environments) #58
Comments
You don't need to have a rule excluding cp2k - instead it ought to be in the gpu environment. Don't use my
so that you make separate concretised environments for base, gpu-on-gpu, gpu and then include those in |
(There's a question about which of the environments should |
For example, you concretise and build the base environment, then the gpu-on-gpu environment separately (and on a gpu node), then the gpu environment that includes the gpu-on-gpu environment, and finally the myriad environment that includes everything and which has anything extra that is only for myriad. That's if we keep the split of how the environments are divided up the same as I initially did - if another split makes more sense, do that instead. CPU Gromacs should go in base if we're keeping the split the same since CPU Gromacs gets installed everywhere. |
I got the most recent gromacs from spack develop: #44 (comment) so we can have
|
I created a new spacksite in Myriad using Spack 0.22 on the
build01
node:gpg key trust done so I can use the buildcache
(spacksite: fc-myriad-s0.22-test) [ccspapp@build01 hpc-spack]$ spack gpg trust /shared/ucl/apps/spack/0.22/buildcache/build_cache/_pgp/8AD9CBD92CD2A4AEB15F3458969BB097C2225210.pub gpg: key C2225210: public key "ARCHPCSolutions (GPG created for Spack) <rc-support@ucl.ac.uk>" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) gpg: inserting ownertrust of 6
but then I had an empty list of the buildcache:
(spacksite: fc-myriad-s0.22-test) [ccspapp@build01 hpc-spack]$ spack buildcache list --allarch ==> 0 cached builds.
so I tried updating the indexing without the flag
-d
and it works!(spacksite: fc-myriad-s0.22-test) [ccspapp@build01 hpc-spack]$ spack buildcache update-index -d /shared/ucl/apps/spack/0.22/buildcache ==> Error: unrecognized arguments: -d
(spacksite: fc-myriad-s0.22-test) [ccspapp@build01 hpc-spack]$ spack buildcache update-index /shared/ucl/apps/spack/0.22/buildcache (spacksite: fc-myriad-s0.22-test) [ccspapp@build01 hpc-spack]$ spack buildcache list --allarch ==> 134 cached builds. -- linux-rhel7-cascadelake / gcc@11.2.1 ------------------------- autoconf@2.69 bzip2@1.0.8 gdbm@1.23 gmp@6.2.1 libxml2@2.10.3 pigz@2.8 xz@5.4.6 automake@1.16.5 diffutils@3.9 gettext@0.22.5 libiconv@1.17 m4@1.4.19 pkgconf@1.9.5 zlib@1.3.1 berkeley-db@18.1.40 findutils@4.9.0 glibc@2.17 libsigsegv@2.14 ncurses@6.4 readline@8.2 zstd@1.5.5 binutils@2.42 gcc-runtime@11.2.1 gmake@4.4.1 libtool@2.4.7 perl@5.38.0 tar@1.30 -- linux-rhel7-cascadelake / gcc@12.3.0 ------------------------- apr@1.7.4 hdf5@1.14.3 ...
Experimenting with the
myriad.yaml
generated by Heather see https://github.com/UCL-ARC/hpc-spack/issues/56I activated my env
myproject
Adding Gromacs to the spec in my env
myproject
and then concretisespack add gromacs@2023.1%gcc@12.3.0+double ^openmpi@4.1.6%gcc@12.3.0 ==> Adding gromacs@2023.1%gcc@12.3.0+double ^openmpi@4.1.6%gcc@12.3.0 to environment /lustre/scratch/scratch/ccspapp/spack/0.22/hpc-spack/myproject
Gromacs is added to the root specs
I need to define a rule to exclude installing/concretising cp2k in my env ???
The text was updated successfully, but these errors were encountered: