Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
easybuild-repository-public-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
DEEP-SEA
easybuild-repository-public-release
Commits
38995a5c
Commit
38995a5c
authored
3 years ago
by
Damian Alvarez
Browse files
Options
Downloads
Patches
Plain Diff
Make the check also work in for -mt toolchains
parent
800d95ce
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Custom_Toolchains/ipsmpi.py
+2
-1
2 additions, 1 deletion
Custom_Toolchains/ipsmpi.py
with
2 additions
and
1 deletion
Custom_Toolchains/ipsmpi.py
+
2
−
1
View file @
38995a5c
...
@@ -59,7 +59,8 @@ class Ipsmpi(IccIfort, IntelCompilersToolchain, Psmpi):
...
@@ -59,7 +59,8 @@ class Ipsmpi(IccIfort, IntelCompilersToolchain, Psmpi):
# 'a' is assumed to be equivalent with '.01' (January), and 'b' with '.07' (June)
# 'a' is assumed to be equivalent with '.01' (January), and 'b' with '.07' (June)
# (good enough for this purpose)
# (good enough for this purpose)
self
.
ipsmpi_ver
=
self
.
version
.
replace
(
'
a
'
,
'
.01
'
).
replace
(
'
b
'
,
'
.07
'
)
self
.
ipsmpi_ver
=
self
.
version
.
replace
(
'
a
'
,
'
.01
'
).
replace
(
'
b
'
,
'
.07
'
)
if
LooseVersion
(
self
.
ipsmpi_ver
)
>=
LooseVersion
(
'
2020.12
'
):
# Strip out -mt if necessary for the comparison, otherwise it breaks
if
LooseVersion
(
self
.
ipsmpi_ver
.
replace
(
'
-mt
'
,
''
))
>=
LooseVersion
(
'
2020.12
'
):
self
.
oneapi_gen
=
True
self
.
oneapi_gen
=
True
self
.
SUBTOOLCHAIN
=
IntelCompilersToolchain
.
NAME
self
.
SUBTOOLCHAIN
=
IntelCompilersToolchain
.
NAME
self
.
COMPILER_MODULE_NAME
=
IntelCompilersToolchain
.
COMPILER_MODULE_NAME
self
.
COMPILER_MODULE_NAME
=
IntelCompilersToolchain
.
COMPILER_MODULE_NAME
...
...
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