Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcdf
obs
osc-plugins
Commits
061034b7
Commit
061034b7
authored
Jan 15, 2020
by
Lorenz Huedepohl
Browse files
Fix flake warnings
parent
e66d6f45
Changes
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
061034b7
...
...
@@ -33,7 +33,7 @@ intel_parallel_studio = {
"mpcdf_intel_parallel_studio_2019_3"
:
{
"compiler"
:
"intel_19_0_3"
,
"impi"
:
"impi_2019_3"
,
"mkl"
:
"mkl_2019_3-module"
,
},
"mpcdf_intel_parallel_studio_2019_4"
:
{
"compiler"
:
"intel_19_0_4"
,
"impi"
:
"impi_2019_4"
,
"mkl"
:
"mkl_2019_4-module"
,
},
"mpcdf_intel_parallel_studio_2019_5"
:
{
"compiler"
:
"intel_19_0_5"
,
"impi"
:
"impi_2019_5"
,
"mkl"
:
"mkl_2019_5-module"
,
},
"mpcdf_intel_parallel_studio_2020"
:
{
"compiler"
:
"intel_19_1_0"
,
"impi"
:
"impi_2019_6"
,
"mkl"
:
"mkl_2020-module"
,
},
"mpcdf_intel_parallel_studio_2020"
:
{
"compiler"
:
"intel_19_1_0"
,
"impi"
:
"impi_2019_6"
,
"mkl"
:
"mkl_2020-module"
,
},
}
all_mkls
=
{
ic
[
"mkl"
]
for
ic
in
intel_parallel_studio
.
values
()}
...
...
@@ -343,9 +343,9 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False, filter_r
try
:
return
get_attribute_values
(
api_url
,
project
,
package
,
"MPCDF:"
+
attribute
,
with_project
=
with_project
)
except
UnsetAttributeException
:
print
(
"ERROR: Attribute MPCDF:"
+
attribute
+
"
is not set for
"
+
(
"package '{0}'"
.
format
(
package
)
if
package
else
"project '{0}'"
.
format
(
project
)
)
+
",
aborting here"
,
file
=
sys
.
stderr
)
print
(
"ERROR: Attribute MPCDF:"
+
attribute
,
"is not set for"
,
"package '{0}'"
.
format
(
package
)
if
package
else
"project '{0}'"
.
format
(
project
)
,
"-
aborting here"
,
file
=
sys
.
stderr
)
raise
SystemExit
(
1
)
compilers
=
try_get_attribute
(
package
,
"compiler_modules"
,
with_project
=
True
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment