Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit dd57745

Browse files
authored
Fixup GPU CI configuration. (#519)
- Revert GPU build to RelWithDebInfo. - Re-enable phase 2 GPU nodes. - Add reference to issue #518 - Re-add +gpu variant.
1 parent 982827f commit dd57745

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,32 +35,29 @@ spack_setup:
3535
variables:
3636
# We have to run GPU builds on GPU nodes for driver/makelocalrc reasons.
3737
bb5_constraint: volta
38-
# We cannot use phase 2 GPU nodes for the moment.
39-
bb5_partition: prod_p1
4038
SPACK_PACKAGE_COMPILER: nvhpc
4139
.spack_neuron:
4240
variables:
4341
SPACK_PACKAGE: neuron
4442
SPACK_PACKAGE_REF: ''
4543
SPACK_PACKAGE_SPEC: +coreneuron+debug+tests~legacy-unit
46-
.spack_coreneuron:
44+
45+
build:coreneuron:intel:
4746
variables:
4847
SPACK_PACKAGE: coreneuron
4948
SPACK_PACKAGE_SPEC: +tests~legacy-unit build_type=Debug
50-
51-
build:coreneuron:intel:
5249
extends:
5350
- .spack_build
5451
- .spack_intel
55-
- .spack_coreneuron
5652

5753
build:coreneuron:gpu:
5854
variables:
55+
SPACK_PACKAGE: coreneuron
5956
# +report pulls in a lot of dependencies and the tests fail.
60-
SPACK_PACKAGE_SPEC: +tests~legacy-unit~report build_type=Debug
57+
# See https://github.com/BlueBrain/CoreNeuron/issues/518 re: build_type
58+
SPACK_PACKAGE_SPEC: +gpu+tests~legacy-unit~report build_type=RelWithDebInfo
6159
extends:
6260
- .spack_build
63-
- .spack_coreneuron
6461
- .spack_nvhpc
6562

6663
test:coreneuron:intel:
@@ -73,8 +70,6 @@ test:coreneuron:gpu:
7370
variables:
7471
# GPU tests need to run on nodes with GPUs.
7572
bb5_constraint: volta
76-
# We cannot use phase 2 GPU nodes for the moment.
77-
bb5_partition: prod_p1
7873
needs: ["build:coreneuron:gpu"]
7974

8075
build:neuron:intel:
@@ -118,6 +113,4 @@ test:neuron:gpu:
118113
variables:
119114
# GPU tests need to run on nodes with GPUs.
120115
bb5_constraint: volta
121-
# We cannot use phase 2 GPU nodes for the moment.
122-
bb5_partition: prod_p1
123116
needs: ["build:neuron:gpu"]

0 commit comments

Comments
 (0)