-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnwchemex-stack.yaml
More file actions
153 lines (148 loc) · 4.03 KB
/
nwchemex-stack.yaml
File metadata and controls
153 lines (148 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# Copyright 2026 NWChemEx-Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# NWChemEx stack Spack Environment file.
#
# It describes the combinatorial build of the NWChemEx stack.
spack:
# General definitions for various flags and options used in the
# combinatorial builds
definitions:
- shared: [+shared]
- pybindings: [+python, ~python]
- sigmas: [+sigma, ~sigma]
# Eigen version that actually works for all builds
- eigens: [eigen@git.2e76277bd049f7bec36b0f908c69734a42c5234f=master]
- eigenflags: [+eigen ^eigen@git.2e76277bd049f7bec36b0f908c69734a42c5234f=master, ~eigen]
- common_deps: [catch2@3.8.0]
- libint_tuning: [tune=cp2k-lmax-4]
# Compiler toolchains for baseline build testing.
#
# See https://spack.readthedocs.io/en/latest/advanced_topics.html#defining-and-using-toolchains
toolchains:
# Force using only gcc@<version> for C, CXX, and Fortran
gcc14_all:
- spec: '%c=gcc@14'
when: '%c'
- spec: '%cxx=gcc@14'
when: '%cxx'
- spec: '%fortran=gcc@14'
when: '%fortran'
# Force using only llvm@<version> for C, CXX, and Fortran
llvm21_all:
- spec: '%c=llvm@21'
when: '%c'
- spec: '%cxx=llvm@21'
when: '%cxx'
- spec: '%fortran=llvm@21'
when: '%fortran'
# Definition of NWChemEx stack package combinations
specs:
# libint pinning to try to ensure that packages all use the same version
- matrix:
- ['libint@2.6:']
- [$libint_tuning]
- ['%gcc14_all']
- matrix:
- [sigma]
- ['@main']
- ['%gcc14_all']
- [$eigenflags]
- matrix:
- [utilities]
- ['@master']
- [$shared]
- ['%gcc14_all']
- [$^common_deps]
- matrix:
- [parallelzone, pluginplay]
- ['@master']
- [$shared]
- [$pybindings]
- ['%gcc14_all']
- [$^common_deps]
- matrix:
- [tensorwrapper]
- ['@master']
- [$shared]
- [$pybindings]
- [$sigmas]
- ['%gcc14_all']
- [$^eigens]
- [$^common_deps]
- matrix:
- [chemist, simde, integrals]
- ['@master']
- [$shared]
- [$pybindings]
- [$sigmas]
- ['%gcc14_all']
- [$^eigens]
- [$^common_deps]
- matrix:
- [scf]
- ['@master']
- [$shared]
- [$pybindings]
- ['%gcc14_all']
- [$^eigens]
- [$^common_deps]
- matrix:
- [chemcache]
- ['@master']
- [$shared]
- [$pybindings]
- ['%gcc14_all']
- [$^common_deps]
- matrix:
- [nux]
- ['@master']
- [$shared]
- [$pybindings]
- ['%gcc14_all']
- [$^common_deps]
- matrix:
- [friendzone]
- ['@master']
- [friends=none, 'friends=nwchem,ase']
- ['%gcc14_all']
- matrix:
- [nwchemex]
- ['@master']
- ['%gcc14_all']
# TODO: Uncomment and provide toolchain path if needed
# env_vars:
# set:
# # Recommended way to set toolchain file for nwchemex.* packages
# CMAKE_TOOLCHAIN_FILE: <path>/<to>/toolchain.cmake
view: false
concretizer:
unify: when_possible
# TODO: Uncomment and provide alternative tmp path if needed
# config:
# # Give the tmp directory more room if your /tmp partition is not large
# # enough for 10+ GB compiler builds
# build_stage: <path>/<to>/<alternative>/tmpdir
packages:
gcc:
externals: []
llvm:
externals: []
# Likely set by `spack repo add` commands (see README.md)
# repos:
# nwchemex:
# git: https://github.com/NWChemEx/SpackRepos.git
# destination: <path>/<to>/nwchemex
# qcuncertainty:
# git: https://github.com/QCUncertainty/spack-repo.git
# destination: <path>/<to>/qcuncertainty