Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e535ba6
working baroclinic test case example (#81)
oelbert Apr 19, 2024
fa6097e
fixing dockerfile overriding netcdf, mpi4py, and numpy versions with …
oelbert Apr 25, 2024
74ccf31
Update notebooks for eta file creations (#85)
mlee03 May 10, 2024
3fa59a8
Update pace to use python 3.11.9 (#82)
fmalatino May 17, 2024
392aa2d
Updated container for Github Action and reusable workflow (#87)
mlee03 Jun 26, 2024
777b332
Updated container for Github Action and reusable workflow - Redo (#89)
mlee03 Jun 26, 2024
e7f5a48
Matching packages between main and develop branches and removal of ou…
fmalatino Jul 8, 2024
ffbf851
reusable workflow CI - checkout corrrect repository (#90)
mlee03 Jul 9, 2024
4e2521d
add build script for intel oneapi and gcc compiler separately (#88)
Jul 10, 2024
6640a99
pace/tests/main/grid/test_eta.py moved to NDSL/tests/grid/test_eta.py…
fmalatino Sep 6, 2024
6915fc3
Updated constraints to reflect incoming new versions of subrepositori…
fmalatino Sep 13, 2024
a8152e5
Updated README to include directions for generating eta files (#99)
fmalatino Dec 13, 2024
ec20c2a
Update submodules and addition of baroclinic run to workflow (#101)
fmalatino Jan 21, 2025
5092938
Hotfix/update netcdf version for docker files (#102)
oelbert Jan 27, 2025
b32a2bd
`xarray` to `2025.01.2` to grab the `DataTree` (#103)
FlorianDeconinck Feb 24, 2025
66acf88
Update submodules (#104)
fmalatino Mar 5, 2025
332daa3
Updating to match current state of develop
fmalatino Mar 10, 2025
74024fe
Reverting changes to build_gaea_c5_gcc.sh
fmalatino Mar 11, 2025
265c717
Reverting changes to build_gaea_c5_gcc.sh one more thing
fmalatino Mar 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/main_unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,8 @@ jobs:
run: |
cd ${GITHUB_WORKSPACE}/pace
pytest -x tests/main

- name: run baroclinic
run: |
cd ${GITHUB_WORKSPACE}/pace
mpiexec -np 6 --oversubscribe python -m pace.run examples/configs/baroclinic_c12.yaml
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y make \
python3-pip \
git

RUN pip3 install --upgrade setuptools wheel
RUN pip3 install --upgrade pip setuptools wheel

COPY . /pace

Expand Down
2 changes: 1 addition & 1 deletion NDSL
Submodule NDSL updated 77 files
+10 −13 .github/workflows/lint.yaml
+3 −1 .gitignore
+24 −0 docs/builddocs.sh
+5 −0 docs/requirement_docs.txt
+225 −0 docs/sphinx_doc/Makefile
+331 −0 docs/sphinx_doc/conf.py
+9 −0 docs/sphinx_doc/dace.rst
+161 −0 docs/sphinx_doc/developer_guide.rst
+23 −0 docs/sphinx_doc/docker.rst
+16 −0 docs/sphinx_doc/fortran_porting.rst
+7 −0 docs/sphinx_doc/gt4py.rst
+27 −0 docs/sphinx_doc/index.rst
+281 −0 docs/sphinx_doc/make.bat
+126 −0 docs/sphinx_doc/overview.rst
+ docs/sphinx_doc/static/ndsl_flow.png
+ docs/sphinx_doc/static/ndsl_orchestration.png
+65 −0 docs/sphinx_doc/test.rst
+4 −0 docs/sphinx_doc/users_guide.rst
+0 −1 examples/mpi/.gitignore
+1 −1 external/dace
+1 −1 ndsl/__init__.py
+5 −2 ndsl/boilerplate.py
+2 −2 ndsl/comm/boundary.py
+9 −3 ndsl/comm/caching_comm.py
+28 −1 ndsl/comm/comm_abc.py
+70 −13 ndsl/comm/communicator.py
+8 −2 ndsl/comm/local_comm.py
+29 −21 ndsl/comm/mpi.py
+7 −3 ndsl/comm/null_comm.py
+104 −58 ndsl/constants.py
+0 −2 ndsl/dsl/__init__.py
+4 −4 ndsl/dsl/dace/dace_config.py
+4 −1 ndsl/dsl/dace/orchestration.py
+43 −43 ndsl/dsl/dace/utils.py
+1 −1 ndsl/dsl/gt4py_utils.py
+3 −0 ndsl/dsl/stencil.py
+1 −0 ndsl/dsl/stencil_config.py
+47 −13 ndsl/dsl/typing.py
+17 −12 ndsl/grid/generation.py
+3 −3 ndsl/grid/global_setup.py
+3 −3 ndsl/grid/gnomonic.py
+1 −1 ndsl/grid/mirror.py
+2 −2 ndsl/grid/stretch_transformation.py
+1 −1 ndsl/halo/data_transformer.py
+5 −5 ndsl/halo/updater.py
+11 −0 ndsl/initialization/sizer.py
+1 −1 ndsl/io.py
+34 −2 ndsl/logging.py
+14 −2 ndsl/monitor/netcdf_monitor.py
+7 −5 ndsl/namelist.py
+9 −0 ndsl/quantity/__init__.py
+190 −0 ndsl/quantity/bounds.py
+70 −0 ndsl/quantity/metadata.py
+43 −280 ndsl/quantity/quantity.py
+0 −3 ndsl/stencils/__init__.py
+1 −1 ndsl/stencils/c2l_ord.py
+1 −1 ndsl/stencils/corners.py
+6 −6 ndsl/stencils/testing/README.md
+29 −7 ndsl/stencils/testing/conftest.py
+3 −0 ndsl/stencils/testing/parallel_translate.py
+27 −5 ndsl/stencils/testing/savepoint.py
+5 −4 ndsl/stencils/testing/serialbox_to_netcdf.py
+87 −35 ndsl/stencils/testing/test_translate.py
+45 −7 ndsl/stencils/testing/translate.py
+5 −5 ndsl/testing/README.md
+75 −39 ndsl/testing/comparison.py
+1 −1 ndsl/utils.py
+3 −3 setup.py
+8 −8 tests/dsl/test_caches.py
+5 −9 tests/dsl/test_compilation_config.py
+4 −4 tests/grid/test_eta.py
+149 −0 tests/mpi/test_mpi_all_reduce_sum.py
+2 −1 tests/mpi/test_mpi_halo_update.py
+4 −4 tests/mpi/test_mpi_mock.py
+2 −2 tests/quantity/test_quantity.py
+8 −8 tests/test_halo_data_transformer.py
+1 −1 tests/test_halo_update.py
4 changes: 2 additions & 2 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ nest-asyncio==1.6.0
# via
# ipykernel
# nbclient
netcdf4==1.7.0
netcdf4==1.7.1
# via
# -r requirements_dev.txt
# ndsl
Expand Down Expand Up @@ -515,7 +515,7 @@ wheel==0.43.0
# via
# astunparse
# scikit-build
xarray==2024.3.0
xarray==2025.01.2
# via
# -r requirements_dev.txt
# ndsl
Expand Down
18 changes: 11 additions & 7 deletions examples/build_scripts/build_gaea_c5_gcc.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
#!/usr/bin/env bash

# Example bash script to install Pace to run bare-metal on Gaea's c5 cluster
# Example bash script to install Pace to run bare-metal on Gaea's c4 cluster

set -e -x

# module load necessary system software
module use -a /usw/conda/modulefiles
module rm PrgEnv-intel
module load PrgEnv-gnu
module load gcc-native/12.3
module load boost/1.85.0
module load miniforge
Comment on lines -11 to -13
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these changes correct for Gaes c5?


export DACE_compiler_cpu_executable='which g++'
module rm gcc
module load gcc/12.2.0
module load boost/1.79.0
module load python/3.11.7

export CC=`which gcc`
export CXX=`which g++`
export MPICC=`which mpicc`
export MPICXX=`which mpicxx`
export DACE_compiler_cpu_executable=${CXX}
export GT4PY_EXTRA_COMPILE_ARGS="-O3 -ffast-math -fprefetch-loop-arrays -funroll-all-loops"
export OPENMP_CPPFLAGS="-fopenmp -fopenmp-simd"
export OPENMP_LDFLAGS="-fopenmp -fopenmp-simd"
Expand Down