Jan P. Gärtner
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Research Interests
Jan P. Gärtner has a total of 45 co-authors. Here are the top co-authors by number of shared publications:
- Martin Losch
Alfred-Wegener-Institut, Helmholtz-Zentrum für Polar- und Meeresforschung, Bremerhaven, Germany
10 shared publications - Roman Nuterman
Niels Bohr Institute University of Copenhagen Copenhagen Denmark
10 shared publications Markus Jochum
9 shared publications- Dian Putrasahan
Max Planck Institute for Meteorology Hamburg Germany
7 shared publications Helmuth Haak
7 shared publications- Karl-Hermann Wieners
Max-Planck-Institut für Meteorologie, Hamburg, Germany
7 shared publications
Latest Publications
- Open Access
- 8 August 2026
- Published by American Geophysical Union (AGU) in Journal of Advances in Modeling Earth Systems
- Vol. 18 (8)
Sharper Resolution of Arctic Sea Ice Dynamics With Non‐Conforming Finite Elements in FESOM2
Sea ice dynamics in numerical models are discretized on a spatial grid, with variables defined at grid cell vertices, edges, or centers. The CD‐grid discretization places the velocity vector on element edges and tracers on vertices. On a triangular grid, the number of edges is three times the number of nodes, therefore placing velocity on edges increases the number of degrees of freedom and effectively enhances the spatial resolution on the same underlying mesh, compared to the vertex‐based placement of velocity of the A‐grid. In this study, we present the first application of the CD‐grid in a realistic, high‐resolution, fully coupled sea ice–ocean simulation using FESOM2, with a horizontal resolution of 4.5 km in the Arctic. We show that the CD‐grid produces a more sharply resolved sea ice field with enhanced small‐scale structure relative to the A‐grid configuration, while preserving large‐scale sea ice characteristics. We further propose a new stress‐subcycling formulation within the mEVP method, in which the divergence of stress is iterated instead of the stress tensor itself. This reformulation is necessary to stabilize the CD‐grid, and, for other discretizations, reduces computational cost while producing identical results. An analysis of the parallel performance of the CD‐grid across a wide range of core counts shows that, within the context of a coupled sea ice–ocean model, the total runtime is only 5%–8% higher than for the A‐grid configuration.
- 8 August 2026
- Published by American Geophysical Union (AGU) in Journal of Advances in Modeling Earth Systems
- Vol. 18 (8)
Open AccessSharper Resolution of Arctic Sea Ice Dynamics With Non‐Conforming Finite Elements in FESOM2
Sea ice dynamics in numerical models are discretized on a spatial grid, with variables defined at grid cell vertices, edges, or centers. The CD‐grid discretization places the velocity vector on element edges and tracers on vertices. On a triangular grid, the number of edges is three times the number of nodes, therefore placing velocity on edges increases the number of degrees of freedom and effectively enhances the spatial resolution on the same underlying mesh, compared to the vertex‐based placement of velocity of the A‐grid. In this study, we present the first application of the CD‐grid in a realistic, high‐resolution, fully coupled sea ice–ocean simulation using FESOM2, with a horizontal resolution of 4.5 km in the Arctic. We show that the CD‐grid produces a more sharply resolved sea ice field with enhanced small‐scale structure relative to the A‐grid configuration, while preserving large‐scale sea ice characteristics. We further propose a new stress‐subcycling formulation within the mEVP method, in which the divergence of stress is iterated instead of the stress tensor itself. This reformulation is necessary to stabilize the CD‐grid, and, for other discretizations, reduces computational cost while producing identical results. An analysis of the parallel performance of the CD‐grid across a wide range of core counts shows that, within the context of a coupled sea ice–ocean model, the total runtime is only 5%–8% higher than for the A‐grid configuration.
- Open Access
- 17 June 2026
- Published by Copernicus GmbH in Geoscientific Model Development
- Vol. 19 (12) , 5225-5236
Veris: fast & efficient sea-ice modeling in Python with GPU acceleration
Climate models have traditionally been developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers substantial advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has historically limited Python's use in large-scale climate modeling. This performance gap can be mitigated by using the JAX library, which significantly improves execution speed of Python code. We use JAX as a backend for Veris, a new sea ice model implemented in Python. Veris builds upon the Fortran-based sea ice component of the general circulation model MITgcm. Benchmark experiments show that Veris exhibits scaling behavior with increasing process counts comparable to the Fortran reference implementation. For small CPU process counts, Veris outperforms the MITgcm, showing the great potential that JAX has for climate modeling, particularly as further improvements in inter-process communication are anticipated. When executed on a high-end GPU, a single-process Veris simulation matches the performance of the parallelized Fortran reference running on hundreds of CPU cores, but at a fraction of the energy cost. These results demonstrate the potential of Veris for large-scale HPC-based simulations.
- 17 June 2026
- Published by Copernicus GmbH in Geoscientific Model Development
- Vol. 19 (12) , 5225-5236
Open AccessVeris: fast & efficient sea-ice modeling in Python with GPU acceleration
Climate models have traditionally been developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers substantial advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has historically limited Python's use in large-scale climate modeling. This performance gap can be mitigated by using the JAX library, which significantly improves execution speed of Python code. We use JAX as a backend for Veris, a new sea ice model implemented in Python. Veris builds upon the Fortran-based sea ice component of the general circulation model MITgcm. Benchmark experiments show that Veris exhibits scaling behavior with increasing process counts comparable to the Fortran reference implementation. For small CPU process counts, Veris outperforms the MITgcm, showing the great potential that JAX has for climate modeling, particularly as further improvements in inter-process communication are anticipated. When executed on a high-end GPU, a single-process Veris simulation matches the performance of the parallelized Fortran reference running on hundreds of CPU cores, but at a fraction of the energy cost. These results demonstrate the potential of Veris for large-scale HPC-based simulations.
- Open Access
- 13 March 2026
- Published by Copernicus GmbH
Sharper Resolution of Arctic Sea Ice Dynamics with Non-Conforming Finite Elements in FESOM2
Sea ice dynamics in numerical models are discretized on a spatial grid, with variables located at grid cell vertices, edges, or centers. On triangular grids, the number of edges is three times larger than the number of vertices. Consequently, placing variables on edges --- corresponding to a non-conforming finite-element discretization --- increases the number of degrees of freedom and effectively enhances the spatial resolution on a given mesh. Idealized benchmark experiments without a coupled ocean using the CD-grid discretization, where sea ice velocity is placed on edges and tracers on vertices, have demonstrated an increased occurrence of small-scale fractures and more finely resolved features in the sea ice field compared to other discretizations. In this study, we present the first application of the CD-grid in a high-resolution, fully coupled sea ice--ocean simulation using FESOM2, using a spatial resolution in the Arctic of 4.5 km. We show that the CD-grid produces a more sharply resolved sea ice field with an increased occurrence of small-scale structures relative to the A-grid configuration, in which both velocity and tracers are placed on vertices, while maintaining the same large-scale sea ice characteristics. In addition, we present a scaling analysis of the CD-grid in parallel applications across varying core counts, including runtime benchmarks and a direct performance comparison with the A-grid.
- 13 March 2026
- Published by Copernicus GmbH
Open AccessSharper Resolution of Arctic Sea Ice Dynamics with Non-Conforming Finite Elements in FESOM2
Sea ice dynamics in numerical models are discretized on a spatial grid, with variables located at grid cell vertices, edges, or centers. On triangular grids, the number of edges is three times larger than the number of vertices. Consequently, placing variables on edges --- corresponding to a non-conforming finite-element discretization --- increases the number of degrees of freedom and effectively enhances the spatial resolution on a given mesh. Idealized benchmark experiments without a coupled ocean using the CD-grid discretization, where sea ice velocity is placed on edges and tracers on vertices, have demonstrated an increased occurrence of small-scale fractures and more finely resolved features in the sea ice field compared to other discretizations. In this study, we present the first application of the CD-grid in a high-resolution, fully coupled sea ice--ocean simulation using FESOM2, using a spatial resolution in the Arctic of 4.5 km. We show that the CD-grid produces a more sharply resolved sea ice field with an increased occurrence of small-scale structures relative to the A-grid configuration, in which both velocity and tracers are placed on vertices, while maintaining the same large-scale sea ice characteristics. In addition, we present a scaling analysis of the CD-grid in parallel applications across varying core counts, including runtime benchmarks and a direct performance comparison with the A-grid.
- Open Access
- 12 February 2026
- Published by Copernicus GmbH
- Vol. 2025, 1
Reply on RC2
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- 12 February 2026
- Published by Copernicus GmbH
- Vol. 2025, 1
Open AccessReply on RC2
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- Open Access
- 9 February 2026
- Published by Copernicus GmbH
- Vol. 2025, 1
Comment on egusphere-2025-756
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- 9 February 2026
- Published by Copernicus GmbH
- Vol. 2025, 1
Open AccessComment on egusphere-2025-756
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- Open Access
- 21 January 2026
- Published by Copernicus GmbH
- Vol. 2025, 1
Comment on egusphere-2025-756
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- 21 January 2026
- Published by Copernicus GmbH
- Vol. 2025, 1
Open AccessComment on egusphere-2025-756
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- Open Access
- 17 July 2025
- Published by Copernicus GmbH in Earth System Dynamics
- Vol. 16 (4) , 1103-1134
Earth's future climate and its variability simulated at 9 km global resolution
Earth's climate response to increasing greenhouse gas emissions occurs on a variety of spatial scales. To assess climate risks on regional scales and implement adaptation measures, policymakers and stakeholders often require climate change information on scales that are considerably smaller than the typical resolution of global climate models (O(100 km)). To close this important knowledge gap and consider the impact of small-scale processes on the global scale, we adopted a novel iterative global earth system modeling protocol. This protocol provides key information on earth's future climate and its variability on storm-resolving scales (less than 10 km). To this end we used the coupled earth system model OpenIFS–FESOM2 (AWI-CM3; Open Integrated Forecasting System – Finite volumE Sea ice–Ocean Model) with a 9 km atmospheric resolution (TCo1279) and a 4–25 km ocean resolution. We conducted a 20-year 1950 control simulation and four 10-year-long coupled transient simulations for the 2000s, 2030s, 2060s, and 2090s. These simulations were initialized from the trajectory of a coarser 31 km (TCo319) SSP5-8.5 transient greenhouse warming simulation of the coupled model with the same high-resolution ocean. Similar to the coarser-resolution TCo319 transient simulation, the high-resolution TCo1279 simulation with the SSP5-8.5 scenario exhibits a strong warming response relative to present-day conditions, reaching up to 6.5 °C by the end of the century at CO2 levels of about 1100 ppm. The TCo1279 high-resolution simulations show a substantial increase in regional information and climate change granularity relative to the TCo319 experiment (or any other lower-resolution model), especially over topographically complex terrain. Examples of enhanced regional information include projected changes in temperature, rainfall, winds, extreme events, tropical cyclones, and the hydroclimate teleconnection patterns of the El Niño–Southern Oscillation and the North Atlantic Oscillation on scales of less than 1000 km. The novel iterative modeling protocol that facilitates coupled storm-resolving global climate simulations for future climate time slices offers major benefits over regional climate models. However, it also has some drawbacks, such as initialization shocks and resolution-dependent biases and climate sensitivities, which are further discussed.
- 17 July 2025
- Published by Copernicus GmbH in Earth System Dynamics
- Vol. 16 (4) , 1103-1134
Open AccessEarth's future climate and its variability simulated at 9 km global resolution
Earth's climate response to increasing greenhouse gas emissions occurs on a variety of spatial scales. To assess climate risks on regional scales and implement adaptation measures, policymakers and stakeholders often require climate change information on scales that are considerably smaller than the typical resolution of global climate models (O(100 km)). To close this important knowledge gap and consider the impact of small-scale processes on the global scale, we adopted a novel iterative global earth system modeling protocol. This protocol provides key information on earth's future climate and its variability on storm-resolving scales (less than 10 km). To this end we used the coupled earth system model OpenIFS–FESOM2 (AWI-CM3; Open Integrated Forecasting System – Finite volumE Sea ice–Ocean Model) with a 9 km atmospheric resolution (TCo1279) and a 4–25 km ocean resolution. We conducted a 20-year 1950 control simulation and four 10-year-long coupled transient simulations for the 2000s, 2030s, 2060s, and 2090s. These simulations were initialized from the trajectory of a coarser 31 km (TCo319) SSP5-8.5 transient greenhouse warming simulation of the coupled model with the same high-resolution ocean. Similar to the coarser-resolution TCo319 transient simulation, the high-resolution TCo1279 simulation with the SSP5-8.5 scenario exhibits a strong warming response relative to present-day conditions, reaching up to 6.5 °C by the end of the century at CO2 levels of about 1100 ppm. The TCo1279 high-resolution simulations show a substantial increase in regional information and climate change granularity relative to the TCo319 experiment (or any other lower-resolution model), especially over topographically complex terrain. Examples of enhanced regional information include projected changes in temperature, rainfall, winds, extreme events, tropical cyclones, and the hydroclimate teleconnection patterns of the El Niño–Southern Oscillation and the North Atlantic Oscillation on scales of less than 1000 km. The novel iterative modeling protocol that facilitates coupled storm-resolving global climate simulations for future climate time slices offers major benefits over regional climate models. However, it also has some drawbacks, such as initialization shocks and resolution-dependent biases and climate sensitivities, which are further discussed.
- Open Access
- 12 June 2025
- Published by Copernicus GmbH
- Vol. 2025, 1
Reply on AC1
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- 12 June 2025
- Published by Copernicus GmbH
- Vol. 2025, 1
Open AccessReply on AC1
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- Open Access
- 12 June 2025
- Published by Copernicus GmbH
- Vol. 2025, 1
Reply on RC1
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- 12 June 2025
- Published by Copernicus GmbH
- Vol. 2025, 1
Open AccessReply on RC1
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- Open Access
- 12 June 2025
- Published by Copernicus GmbH
- Vol. 2025, 1
Reply on CEC1
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.
- 12 June 2025
- Published by Copernicus GmbH
- Vol. 2025, 1
Open AccessReply on CEC1
Climate models are typically developed in Fortran, due to its long-standing use in scientific computing and its excellent computational performance. While Python offers significant advantages in terms of code readability, maintainability, and the availability of libraries and tools, the performance gap between Python and Fortran has limited Python's use in large scale climate simulations. The JAX library for array based computing addresses this gap by enabling Just-In-Time compilation, which significantly enhances execution speed. As climate models iterate over numerous time steps, using compiled functions substantially increases the performance of the model. Furthermore, JAX supports both CPU and GPU execution, allowing models to leverage the high parallelism of GPUs. Given that climate models are highly parallelizable, GPUs offer a more efficient alternative to CPUs, both in terms of performance and energy consumption, thereby reducing the computational carbon footprint. This work presents Veris, a sea ice model that is a Fortran to Python translation of the sea ice component of the general circulation model MITgcm. Benchmark tests on a grid with 106 grid cells show that Veris with JAX as the backend is only 1.7 times slower than the Fortran reference. When running on a high-end GPU, Veris matches the performance of the parallelized Fortran reference running on 45 CPUs on 45 nodes or 224 CPUs on 2 nodes. Additionally, Veris can be coupled with the Python-based ocean model Veros to form a fully Python-based coupled sea ice-ocean model, that can be used with large grids in HPC-based simulations.