Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MPSD Computational Science
mpsd-software-manager
Commits
e2b3c91e
Commit
e2b3c91e
authored
1 year ago
by
Hans Fangohr
Browse files
Options
Downloads
Patches
Plain Diff
mpsd_release may not exist; make error message more generic
parent
35ca1c67
No related branches found
No related tags found
1 merge request
!41
Status command
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mpsd-software-environment.py
+3
-2
3 additions, 2 deletions
mpsd-software-environment.py
with
3 additions
and
2 deletions
mpsd-software-environment.py
+
3
−
2
View file @
e2b3c91e
...
@@ -854,9 +854,10 @@ def environment_status(mpsd_release: str, root_dir: Union[str, Path]) -> dict:
...
@@ -854,9 +854,10 @@ def environment_status(mpsd_release: str, root_dir: Union[str, Path]) -> dict:
spack_dir
=
toolchain_dir
/
"
spack
"
spack_dir
=
toolchain_dir
/
"
spack
"
if
not
spack_dir
.
exists
():
if
not
spack_dir
.
exists
():
logging
.
debug
(
f
"
Looking for files in
{
spack_dir
}
"
)
logging
.
error
(
logging
.
error
(
f
"
Release
{
mpsd_release
}
has not been completly installed yet
"
f
"
Release
{
mpsd_release
}
has not been complet
e
ly installed yet
"
"
,
try reinstalling it (spack directory not found)
"
"
,
or is missing.
"
)
)
return
None
return
None
# find all folders for all microarch in the release directory
# find all folders for all microarch in the release directory
...
...
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