-
Notifications
You must be signed in to change notification settings - Fork 4
ICON-DSL uenv: ICON-Exclaim with ICON4Py dycore. #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DropD
wants to merge
18
commits into
C2SM:main
Choose a base branch
from
DropD:icon-dsl
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8a0636d
add blueline uenv for running ICON with ICON4Py dycore.
DropD 2ed4c34
rename blueline -> icon-dsl & add to config
DropD 6052ca2
replace updated py-uv package with uv from binary releases
DropD d04c007
rename recipe path g200 -> gh200
bcumming b6a8ae1
add fixes from experimenting on santis
DropD e9ad287
clean up old "py-uv" dependence, get rid of "cudnn" dep.
DropD 4a5fd29
fix packages
DropD 784d6f7
add a100 version for balfrin
DropD 293f3c5
update config with a100 balfrin version of icon-dsl
DropD 8544c9c
manually block `cupy-cuda12x` and `ghex` from being reinstalled by uv
DropD 366f5e4
fix icon-dsl uenv name in config
DropD 9f06d6e
merge icon dependencies from the "icon" uenv into this one
DropD f1b48ca
update cupy to a version that supports cuda 12.6, fix mpi spec
DropD eddca3f
fix cupy package depends_on calls
DropD c6f60c5
fix cupy and icon4py packages
DropD 1b544bb
fix gh200 cupy package
DropD 6d10584
downgrade cuda to 12.4
DropD e11032a
try using cupy version 13.1.0 with cuda 12.4
DropD File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
bootstrap: | ||
spec: [email protected] | ||
gcc: | ||
specs: | ||
- gcc@13 | ||
llvm: | ||
requires: gcc@13 | ||
specs: | ||
- [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: icon-dsl | ||
store: /user-environment | ||
spack: | ||
repo: https://github.com/spack/spack.git | ||
commit: releases/v0.23 | ||
modules: false | ||
description: Build and runtime dependencies for ICON-DSL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
myenv: | ||
compiler: | ||
- toolchain: gcc | ||
spec: gcc | ||
- toolchain: llvm | ||
spec: nvhpc | ||
mpi: | ||
spec: [email protected]%nvhpc | ||
gpu: cuda | ||
specs: | ||
# icon4py deps | ||
- [email protected] | ||
- py-cupy +cuda cuda_arch=90 | ||
- ghex +python +cuda cuda_arch=90 | ||
- py-mpi4py | ||
- icon4py@icon_20250328 | ||
# icon deps | ||
- boost | ||
- [email protected] | ||
- [email protected]%nvhpc +tools +fortran +aec +openmp jp2k=jasper | ||
- [email protected] | ||
- hdf5%nvhpc +szip +hl +fortran +mpi | ||
- [email protected]%nvhpc | ||
- [email protected]%nvhpc | ||
- [email protected]%nvhpc | ||
- [email protected]%nvhpc | ||
- openblas | ||
# for validation | ||
- cdo | ||
# everything needed for nccl on SS11 | ||
- nccl | ||
- nccl-tests | ||
# extras | ||
- libfyaml | ||
- zlib-ng | ||
- cmake | ||
unify: true | ||
variants: | ||
- +mpi | ||
- +cuda | ||
- cuda_arch=80 | ||
views: | ||
default: | ||
link: roots | ||
uenv: | ||
prefix_paths: | ||
LD_LIBRARY_PATH: [lib, lib64] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
default: | ||
features: [osu-micro-benchmarks, mpi, serial, openmp] | ||
cc: mpicc | ||
cxx: mpic++ | ||
ftn: mpifort | ||
activation: /user-environment/env/default/activate.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
modules: | ||
# Paths to check when creating modules for all module sets | ||
prefix_inspections: | ||
bin: | ||
- PATH | ||
lib: | ||
- LD_LIBRARY_PATH | ||
lib64: | ||
- LD_LIBRARY_PATH | ||
|
||
default: | ||
arch_folder: false | ||
# Where to install modules | ||
roots: | ||
tcl: /snap/modules | ||
tcl: | ||
all: | ||
autoload: run | ||
hash_length: 0 | ||
hide_implicits: true | ||
exclude: | ||
- '%[email protected]' | ||
- '%gcc@12' | ||
- 'gcc %[email protected]' | ||
projections: | ||
all: '{name}/{version}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
packages=("cosmo-eccodes-definitions") | ||
SPACK_C2SM_TAG="v0.22.2.1" | ||
|
||
git clone -b ${SPACK_C2SM_TAG} https://github.com/C2SM/spack-c2sm.git | ||
|
||
for package in "${packages[@]}"; do | ||
cp -r spack-c2sm/repos/c2sm/packages/"${package}" store/repo/packages | ||
done | ||
|
||
rm -rf spack-c2sm |
11 changes: 11 additions & 0 deletions
11
recipes/icon-dsl/25.8/a100/repo/packages/eccodes/cmake_install_rpath.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/cmake/ecbuild_append_to_rpath.cmake | ||
+++ b/cmake/ecbuild_append_to_rpath.cmake | ||
@@ -31,7 +31,7 @@ function( _path_append var path ) | ||
else() | ||
list( FIND ${var} ${path} _found ) | ||
if( _found EQUAL "-1" ) | ||
- set( ${var} "${${var}}:${path}" PARENT_SCOPE ) | ||
+ set( ${var} "${${var}};${path}" PARENT_SCOPE ) | ||
endif() | ||
endif() | ||
endfunction() |
39 changes: 39 additions & 0 deletions
39
recipes/icon-dsl/25.8/a100/repo/packages/eccodes/openjpeg_jasper.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -43,6 +43,18 @@ ecbuild_add_option( FEATURE JPG | ||
DESCRIPTION "support for JPG decoding/encoding" | ||
DEFAULT ON | ||
) | ||
+# Options related to JPG. The Jasper and OpenJPEG libraries | ||
+ecbuild_add_option( FEATURE JPG_LIBJASPER | ||
+ DESCRIPTION "Support for JPG decoding/encoding with the Jasper library" | ||
+ CONDITION ENABLE_JPG | ||
+ DEFAULT ON | ||
+) | ||
+ecbuild_add_option( FEATURE JPG_LIBOPENJPEG | ||
+ DESCRIPTION "Support for JPG decoding/encoding with the OpenJPEG library" | ||
+ CONDITION ENABLE_JPG | ||
+ DEFAULT ON | ||
+) | ||
+ | ||
|
||
ecbuild_add_option( FEATURE PNG | ||
DESCRIPTION "support for PNG decoding/encoding" | ||
@@ -144,7 +156,7 @@ if( ENABLE_JPG ) | ||
|
||
find_package( OpenJPEG ) | ||
|
||
- if( JASPER_FOUND ) | ||
+ if( JASPER_FOUND AND ENABLE_JPG_LIBJASPER ) | ||
list( APPEND ECCODES_TPLS Jasper ) | ||
set( HAVE_JPEG 1 ) | ||
set( HAVE_LIBJASPER 1 ) | ||
@@ -152,7 +164,7 @@ if( ENABLE_JPG ) | ||
string(REGEX REPLACE "^([0-9]+)\\.[0-9]+\\.[0-9]+.*" "\\1" JASPER_VERSION_MAJOR "${JASPER_VERSION_STRING}") | ||
endif() | ||
|
||
- if( OPENJPEG_FOUND ) | ||
+ if( OPENJPEG_FOUND AND ENABLE_JPG_LIBOPENJPEG ) | ||
list( APPEND ECCODES_TPLS OpenJPEG ) | ||
set( HAVE_JPEG 1 ) | ||
set( HAVE_LIBOPENJPEG 1 ) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.