Skip to content

Commit

Permalink
Merge pull request #3 from CasparJungbacker/OpenACC-advection
Browse files Browse the repository at this point in the history
Offload Advection kernels
  • Loading branch information
CasparJungbacker authored Jun 8, 2023
2 parents 75a1520 + a3fca20 commit c972755
Show file tree
Hide file tree
Showing 8 changed files with 169 additions and 146 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,38 @@
Changes in DALES
================

Version 4.4.1 - 2023-06-07
--------------------------

A minor release with fixes, improved error reporting and statistics output.

### Bugs fixed

* Fix unsafe boundary exchange of ustar, commits f2d07e82, 45e38ace1
* Fix output units and long_name attribute, commits 3358143c, 0744378c0, c8fdb21
* fix #79: dtmax < 0.1 leads to crash, commit 4df5e0e1f1

### Improvements

* 2D radiation statistics, commit 7e58773660e
* Add variance budget module, commit 4646ff8e
* modgenstat: add per-level cloud fraction, cfrac, to profiles.nnn.nc, commit 8aee2cb63c47
* Make lCnstAlbedo true by default for less surprising behavior, commit 989e13a33675
* Allow multiple planes for crossxz, crossyz and in any MPI tile, commit a4640bd20b
* Add namelist option RUN/loutdirs to save model output in separate directories for each row, commit 3576a917ef

### Improved error checking

* Stop with error message if any dzh or dzf is zero or negative, commit 5f9f67046c
* Add error checking when opening *.inp.nnn files, commit f1a38f24d
* Print MPI error string on error, catch and explain nprocx * nprocy != nprocs, commit b6c5887ad8
* Add MPI error checking in initialization, commit 6060f13a2ad
* Check FFTW plan creation result for errors, commit a2666269b6

### Optimization

* bulkmicrophysics: give more of the temporary 3D fields configurable precision (field_r), commit fe5f0ea9


Version 4.4 - 2022-06-20
------------------------
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ elseif("$ENV{SYST}" STREQUAL "FX-Fujitsu")
elseif("$ENV{SYST}" STREQUAL "NV-OpenACC")
set(CMAKE_Fortran_COMPILER "mpif90")
# Includes (temporary) flags for linking to nVidia-built NetCDF
set(CMAKE_Fortran_FLAGS "-W -Wall -Mpreprocess -Mr8 -Mfree -Werror" CACHE STRING "")
set(CMAKE_Fortran_FLAGS "-W -Wall -acc -Minfo=accel -gpu=cc80 -Mpreprocess -Mr8 -Mfree -Werror" CACHE STRING "")
set(CMAKE_Fortran_FLAGS_RELEASE "-Munroll -Ofast -g -traceback" CACHE STRING "")
set(CMAKE_Fortran_FLAGS_DEBUG "-Minit-real=snan -Mbounds -traceback -O0 -g -ffpe-trap=invalid,zero,overflow" CACHE STRING "")
set(CMAKE_Fortran_FLAGS_DEBUG "-Minit-real=snan -Mbounds -traceback -O0 -g -G -ffpe-trap=invalid,zero,overflow" CACHE STRING "")
elseif("$ENV{SYST}" STREQUAL "NO_OVERRIDES")
# don't set any compilation flags here, allows setting them outside CMake
else()
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The following documents are included in the DALES repository (but are not fully
* Documentation of the configuration options [Namoptions.pdf](https://github.com/dalesteam/dales/blob/master/utils/doc/input/Namoptions.pdf)
* [readme.pdf](https://github.com/dalesteam/dales/blob/master/utils/doc/input/readme.pdf)
* [INSTALL.md](https://github.com/dalesteam/dales/blob/master/INSTALL.md) contains installation instructions
* [CHANGELOG.md](https://github.com/dalesteam/dales/blob/master/CHANGELOG.md) documents the changes between versions
* The [DALES Wiki](https://github.com/dalesteam/dales/wiki/) contains [Installation instructions](https://github.com/dalesteam/dales/wiki/Installation-notes) for various systems and notes for [visualizing and processing](https://github.com/dalesteam/dales/wiki/Visualizing-and-processing-output) the model output

## License
Expand Down
Loading

0 comments on commit c972755

Please sign in to comment.