Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoicon
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
w2w
autoicon
Commits
613fe90c
Commit
613fe90c
authored
1 year ago
by
Fabian.Jakub
Browse files
Options
Downloads
Patches
Plain Diff
icon-spack package: make --enable-mpi-checks=no a variant, now set with icon-nwp~mpichecks
parent
39e071d1
Branches
FJ/running_on_levante
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#18752
passed
1 year ago
Stage: everything
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/01_real-from-ideal+psp.sh
+1
-1
1 addition, 1 deletion
examples/01_real-from-ideal+psp.sh
examples/01_real-from-ideal.sh
+1
-1
1 addition, 1 deletion
examples/01_real-from-ideal.sh
spack_repo/packages/icon-nwp/package.py
+12
-11
12 additions, 11 deletions
spack_repo/packages/icon-nwp/package.py
with
14 additions
and
13 deletions
examples/01_real-from-ideal+psp.sh
+
1
−
1
View file @
613fe90c
...
...
@@ -108,7 +108,7 @@ spack:
icon:
#build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug+petsc target=x86_64_v2 ^openmpi+pmi+legacylaunchers schedulers=slurm fabrics=ucx ucx+dc+dm+ib_hw_tm+mlx5_dv+rc+rdmacm+thread_multiple+ud+verbs"
build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug target=x86_64_v2 source=dkrz_https"
build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug
~mpichecks
target=x86_64_v2 source=dkrz_https"
version: psp
data_management:
...
...
This diff is collapsed.
Click to expand it.
examples/01_real-from-ideal.sh
+
1
−
1
View file @
613fe90c
...
...
@@ -108,7 +108,7 @@ spack:
icon:
#build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug+petsc target=x86_64_v2 ^openmpi+pmi+legacylaunchers schedulers=slurm fabrics=ucx ucx+dc+dm+ib_hw_tm+mlx5_dv+rc+rdmacm+thread_multiple+ud+verbs"
build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug target=x86_64_v2 source=dkrz_https"
build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug
~mpichecks
target=x86_64_v2 source=dkrz_https"
version: 2.6.5-nwp0
data_management:
...
...
This diff is collapsed.
Click to expand it.
spack_repo/packages/icon-nwp/package.py
+
12
−
11
View file @
613fe90c
...
...
@@ -38,20 +38,21 @@ class IconNwp(Package):
"
lmu
"
:
"
ssh://git@gitlab.physik.uni-muenchen.de/w2w/icon.git
"
,
}
variant
(
"
plexrt
"
,
default
=
False
,
description
=
"
add 3D radiation support with TenStream
"
)
variant
(
"
petsc
"
,
default
=
False
,
description
=
"
add PETSc support
"
)
variant
(
"
debug
"
,
default
=
False
,
description
=
"
add debug flags when compiling icon
"
)
variant
(
"
parallelnetcdf
"
,
default
=
True
,
description
=
"
enable-parallel-netcdf
"
)
variant
(
"
yaxt
"
,
default
=
True
,
description
=
"
enable-yaxt
"
)
variant
(
"
grib2
"
,
default
=
True
,
description
=
"
enable-grib2
"
)
variant
(
"
mpichecks
"
,
default
=
True
,
description
=
"
enable-mpi-checks
"
)
variant
(
"
waves
"
,
default
=
True
,
description
=
"
enable-waves
"
)
variant
(
"
ecrad
"
,
default
=
True
,
description
=
"
enable-ecrad
"
)
variant
(
"
rttov
"
,
default
=
True
,
description
=
"
enable-rttov
"
)
variant
(
"
dace
"
,
default
=
True
,
description
=
"
enable-dace
"
)
variant
(
"
emvorado
"
,
default
=
True
,
description
=
"
enable-emvorado
"
)
variant
(
"
art
"
,
default
=
True
,
description
=
"
enable-art
"
)
variant
(
"
waves
"
,
default
=
False
,
description
=
"
enable-waves
"
)
variant
(
"
ecrad
"
,
default
=
False
,
description
=
"
enable-ecrad
"
)
variant
(
"
rttov
"
,
default
=
False
,
description
=
"
enable-rttov
"
)
variant
(
"
dace
"
,
default
=
False
,
description
=
"
enable-dace
"
)
variant
(
"
emvorado
"
,
default
=
False
,
description
=
"
enable-emvorado
"
)
variant
(
"
art
"
,
default
=
False
,
description
=
"
enable-art
"
)
variant
(
"
plexrt
"
,
default
=
False
,
description
=
"
add 3D radiation support with TenStream
"
)
variant
(
"
petsc
"
,
default
=
False
,
description
=
"
add PETSc support
"
)
# Dependencies
depends_on
(
"
mpi
"
)
...
...
@@ -238,6 +239,9 @@ class IconNwp(Package):
else
:
options
.
append
(
f
"
ICON_FCFLAGS=
{
ICON_FCFLAGS
}
-O3
"
)
if
"
~mpichecks
"
in
self
.
spec
:
options
.
append
(
"
--enable-mpi-checks=no
"
)
if
"
+parallelnetcdf
"
in
self
.
spec
:
options
.
append
(
"
--enable-parallel-netcdf
"
)
...
...
@@ -266,9 +270,6 @@ class IconNwp(Package):
if
"
+art
"
in
self
.
spec
:
options
.
append
(
"
--enable-art
"
)
# For some reason there's a problem with OpenMPI with gcc@11.3.0 which makes the configuration fail.
if
self
.
spec
.
compiler
.
name
==
"
gcc
"
and
self
.
spec
.
compiler
.
version
==
Version
(
"
11.3.0
"
):
options
.
append
(
"
--enable-mpi-checks=no
"
)
configure
(
*
options
)
def
build
(
self
,
spec
,
prefix
):
...
...
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