Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scitas-software-stacks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCITAS
Software stack
scitas-software-stacks
Commits
6944fafc
Commit
6944fafc
authored
7 months ago
by
Nicolas Richart
Browse files
Options
Downloads
Patches
Plain Diff
Adding colors for no particular reasons
parent
83c58fd0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4
Missing cuda/nccl modules
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+17
-5
17 additions, 5 deletions
.gitlab-ci.yml
ci/install_compilers.sh
+15
-5
15 additions, 5 deletions
ci/install_compilers.sh
with
32 additions
and
10 deletions
.gitlab-ci.yml
+
17
−
5
View file @
6944fafc
...
@@ -177,17 +177,28 @@ spack:install:
...
@@ -177,17 +177,28 @@ spack:install:
-
echo "{}" > spack-install-${environment}.xml
-
echo "{}" > spack-install-${environment}.xml
# Cleaning patches in case one has a different hash
# Cleaning patches in case one has a different hash
-
${STACK_LOCATION}/spack/bin/spack --color always -e ${environment} clean -m
-
${STACK_LOCATION}/spack/bin/spack
--color always
-e ${environment}
clean -m
-
${STACK_LOCATION}/spack/bin/spack --color always -e ${environment} install
-
${STACK_LOCATION}/spack/bin/spack
--color always
-e ${environment} install
--log-file spack-install-${environment}.xml
--log-file spack-install-${environment}.xml
--log-format junit
--log-format junit
--only-concrete
--only-concrete
--fail-fast
--fail-fast
--show-log-on-error
--show-log-on-error
-
${STACK_LOCATION}/spack/bin/spack -e ${environment} find -vl | tee spack-find-${environment}-${stack}.log
-
${STACK_LOCATION}/spack/bin/spack
-
${STACK_LOCATION}/spack/bin/spack -e ${environment}
--color always
-e ${environment}
find -vl | tee spack-find-${environment}-${stack}.log
-
${STACK_LOCATION}/spack/bin/spack
--color always
-e ${environment}
buildcache create
buildcache create
--update-index
--update-index
--key EDC904DCE3D2E84E
--key EDC904DCE3D2E84E
...
@@ -202,7 +213,8 @@ spack:install:
...
@@ -202,7 +213,8 @@ spack:install:
-
job
:
spack:concretize
-
job
:
spack:concretize
artifacts
:
artifacts
:
paths
:
paths
:
-
spack-find-*.log
-
spack-*.log
-
spack-*.xml
reports
:
reports
:
junit
:
spack-install-*.xml
junit
:
spack-install-*.xml
timeout
:
72h
timeout
:
72h
...
...
This diff is collapsed.
Click to expand it.
ci/install_compilers.sh
+
15
−
5
View file @
6944fafc
...
@@ -25,14 +25,18 @@ for c in "core_compilers" "compilers"; do
...
@@ -25,14 +25,18 @@ for c in "core_compilers" "compilers"; do
echo
"
${
_specs
}
"
echo
"
${
_specs
}
"
if
[
"x
${
_specs
}
"
!=
"x"
]
;
then
if
[
"x
${
_specs
}
"
!=
"x"
]
;
then
${
STACK_LOCATION
}
/spack/bin/spack spec
\
${
STACK_LOCATION
}
/spack/bin/spack
\
--color
always
\
spec
\
--install-status
\
--install-status
\
--namespaces
\
--namespaces
\
--long
\
--long
\
--types
\
--types
\
${
_specs
}
${
_specs
}
${
STACK_LOCATION
}
/spack/bin/spack spec
\
${
STACK_LOCATION
}
/spack/bin/spack
\
--color
always
\
spec
\
--install-status
\
--install-status
\
--namespaces
\
--namespaces
\
--long
\
--long
\
...
@@ -40,7 +44,9 @@ for c in "core_compilers" "compilers"; do
...
@@ -40,7 +44,9 @@ for c in "core_compilers" "compilers"; do
--json
\
--json
\
${
_specs
}
>
compilers_spec.json
${
_specs
}
>
compilers_spec.json
${
STACK_LOCATION
}
/spack/bin/spack
install
\
${
STACK_LOCATION
}
/spack/bin/spack
\
--color
always
\
install
\
--log-file
${
MOUNT_POINT
}
/spack-install-
${
c
}
.xml
\
--log-file
${
MOUNT_POINT
}
/spack-install-
${
c
}
.xml
\
--log-format
junit
\
--log-format
junit
\
--fail-fast
\
--fail-fast
\
...
@@ -50,7 +56,9 @@ for c in "core_compilers" "compilers"; do
...
@@ -50,7 +56,9 @@ for c in "core_compilers" "compilers"; do
hashes
=
$(
jq
-Mr
'.spec.nodes | map("/\(.hash)") | join(" ")'
compilers_spec.json
)
hashes
=
$(
jq
-Mr
'.spec.nodes | map("/\(.hash)") | join(" ")'
compilers_spec.json
)
echo
"Adding packages to buildcache"
echo
"Adding packages to buildcache"
${
STACK_LOCATION
}
/spack/bin/spack buildcache create
\
${
STACK_LOCATION
}
/spack/bin/spack
\
--color
always
\
buildcache create
\
--update-index
\
--update-index
\
--key
EDC904DCE3D2E84E
\
--key
EDC904DCE3D2E84E
\
${
MOUNT_POINT
}
/buildcache
${
hashes
}
${
MOUNT_POINT
}
/buildcache
${
hashes
}
...
@@ -63,7 +71,9 @@ for c in "core_compilers" "compilers"; do
...
@@ -63,7 +71,9 @@ for c in "core_compilers" "compilers"; do
# echo " - ${location}/compiler/latest/linux"
# echo " - ${location}/compiler/latest/linux"
# echo " - ${location}/Linux_x86_64/2024/compilers"
# echo " - ${location}/Linux_x86_64/2024/compilers"
${
STACK_LOCATION
}
/spack/bin/spack compiler find
\
${
STACK_LOCATION
}
/spack/bin/spack
\
--color
always
\
compiler find
\
--scope
system
\
--scope
system
\
${
location
}
\
${
location
}
\
${
location
}
/compiler/latest
\
${
location
}
/compiler/latest
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment