Skip to content
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

Release V4.4.0 #2383

Merged
merged 480 commits into from
Aug 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
480 commits
Select commit Hold shift + click to select a range
562e6c5
Bump googletest version
ZedThree Jul 28, 2021
299a7ed
Use sor as default preconditioner for test-laplacexy
ZedThree Jul 28, 2021
a4f868a
Replace test-datadir with test-command-args subtests
ZedThree Sep 30, 2019
fab85bb
CMake: Change bout_test_copy_file to update dest if source changes
ZedThree Sep 30, 2019
8020a95
CMake: Fix wrong name for REVISION macro definition
ZedThree Sep 30, 2019
2196345
CMake: Allow integrated tests to set executable name
ZedThree Sep 30, 2019
afad1c6
CMake: Add BOUT_FLAGS_STRING define
ZedThree Oct 1, 2019
9dfe950
Use command line to change parameter rather than sed-ing BOUT.inp
ZedThree Oct 1, 2019
e2f5bdb
CMake: Add build scripts for more integrated tests
ZedThree Oct 8, 2019
729d512
Replace test-fieldgroup with unit test
ZedThree Oct 8, 2019
10fb6fe
Fix PETSc Laplace MAST test: was always using same grid file
ZedThree Oct 9, 2019
324fe70
Fix PETSc Laplace MAST test: sometimes too many iterations
ZedThree Oct 9, 2019
6823480
CMake: add missing source files for SNB
ZedThree Oct 9, 2019
9814208
CMake: fix some typos
ZedThree Oct 9, 2019
323f1f0
CMake: Reorder tests
ZedThree Oct 10, 2019
c3a9047
CMake: Consistent integrated test target names
ZedThree Oct 10, 2019
514eed1
CMake: Name the default test executable like the source file
ZedThree Oct 10, 2019
4ec0882
Don't delete test executables
ZedThree Nov 5, 2019
643b994
Use default executable name for fieldgroupcomm test
ZedThree Nov 5, 2019
358071b
CMake: Add all "check" targets, remove tests from `make all`
ZedThree Nov 5, 2019
9b59cdc
Move test input file into data directory
ZedThree Nov 5, 2019
3f2afde
CMake: Handle empty CMAKE_BUILD_TYPE
ZedThree Nov 6, 2019
22dda77
Remove duplicated DEPRECATED
ZedThree Jul 5, 2019
9c394f3
Workaround for bug in MSVC: explicitly name type of std::bind return
ZedThree Oct 2, 2019
f6e9d5f
Fix for undefined behaviour with isspace
ZedThree Oct 2, 2019
6fff65b
Add definitions of UNUSED and MAYBE_UNUSED for MSVC
ZedThree Oct 2, 2019
b6965c2
Use fully resolved name for fft functions
ZedThree Oct 2, 2019
894b275
Ignore various Windows/Visual Studio files
ZedThree Oct 2, 2019
5eee2fd
Fix non-guarded find_package for NLS
ZedThree Oct 2, 2019
da2e1a4
Add windows headers and shims for BOUT++ initialisation
ZedThree Oct 2, 2019
b234f2e
Provide shim for non-standard finite function
ZedThree Oct 2, 2019
31d3e98
Add shim for POSIX strcasecmp on MSVC
ZedThree Oct 2, 2019
a4dcdc4
Silence some warnings about unused variables from exceptions
ZedThree Oct 8, 2019
71842c3
Silence some conversion warnings with explicit cast
ZedThree Oct 8, 2019
d5e6deb
Rename function parameter to avoid shadowing member variable
ZedThree Oct 8, 2019
1e5912a
Fix MACRO_FOR_EACH for MSVC using intermediate expansion
ZedThree Dec 16, 2019
0b1392a
Fix Datafile members missing from copy/move constructors
ZedThree Dec 16, 2019
be492b1
Add some documentation for compiling on Windows
ZedThree Dec 16, 2019
1e6f0c5
Replace [[gnu::deprecated]] attribute with standard form
ZedThree Dec 16, 2019
d35ff43
CMake: Don't use runtest for SNB test
ZedThree Dec 16, 2019
fcc7f70
Add wrapper to safely make tests that does nothing if on Windows
ZedThree Dec 16, 2019
efb8c13
Add note on running tests on Windows
ZedThree Dec 17, 2019
d6f3832
CMake: fix FindSlepc for non-make generators
ZedThree Jan 8, 2020
ba387f6
CMake: Enable using external mpark.variant installation
ZedThree Jan 27, 2020
9ed38ad
CMake: Wrap submodule update into function
ZedThree Jan 27, 2020
98d09c8
CMake: Fix wrong variable name in FindNetCDF
ZedThree Jan 27, 2020
6452319
CMake: Update docs with how to use existing fmt/mpark installations
ZedThree Jan 27, 2020
37d0732
CMake: Fatal error if bundled dependencies not found
ZedThree Jan 28, 2020
7ac9ffd
CMake: Rename EXTERNAL_* options to BOUT_USE_SYSTEM_*
ZedThree Jan 28, 2020
df090e7
use system library, if GIT_SUBMODULE=OFF
dschwoerer Jan 28, 2020
33b007d
mention that *_ROOT is optional
dschwoerer Mar 11, 2020
c490f13
Do not install GTEST by default
dschwoerer Jan 30, 2020
7deb7a2
Set default checklevel to 2
dschwoerer Jan 30, 2020
444d762
CMake: Fix FindPETSc for static builds
ZedThree Feb 14, 2020
06374fc
CMake: Fix FindPETSc to link/include OpenMP/MPI
ZedThree Feb 17, 2020
5f44f8e
CMake: Fix finding/setting NetCDF version
ZedThree Feb 17, 2020
e5d2a59
CMake: Add missing dependencies to install config file
ZedThree Feb 17, 2020
9a05b93
CMake: Don't require exact version matches in install config file
ZedThree Feb 17, 2020
7c35d99
Fix (almost) all remaining uses of shell("make") in runtests
ZedThree Mar 6, 2020
4a5146b
CMake: Create PVODE config files properly
ZedThree Mar 23, 2020
78b282c
CMake: Enable using the build directory directly
ZedThree Mar 23, 2020
04dc1ae
CMake: Add instructions for using BOUT++ from a subdirectory
ZedThree Mar 23, 2020
1bb1316
CMake: Add CMakeLists.txt for all examples
ZedThree Mar 16, 2020
9773bbf
Merge [laplace] sections in input file
ZedThree Mar 24, 2020
067d237
Minor fix for laplace-dae: use references for Options
ZedThree Apr 15, 2020
16b67cc
Minor LaTeX fix for finite volume docs, plus add links
ZedThree Apr 15, 2020
a9f2532
Remove unused example source file
ZedThree Apr 15, 2020
e53a4c3
Add READMEs for remaining examples
ZedThree Apr 15, 2020
fc944fd
CMake: Add bout_add_example function
ZedThree Jul 27, 2020
0f7672a
Add gitignores for some examples
ZedThree Jul 27, 2020
ffe2924
CMake: Add option to download and build netCDF C++ API
ZedThree Nov 6, 2020
fdd6f8a
CMake: Add better search for netCDF C when downloading C++ API
ZedThree Nov 6, 2020
bfec073
CMake: Fix typo in FindnetCDFCxx module
ZedThree Nov 9, 2020
2561bc4
CMake: Move a couple of functions to a common module
ZedThree Nov 9, 2020
7ad77f6
CMake: Ensure namespaced targets exist for netCDF
ZedThree Nov 9, 2020
d4ddb84
Fix CMake config file following change to netCDF cmake module
ZedThree Dec 1, 2020
986496d
CMake: Set PYTHONPATH for tests
ZedThree Dec 10, 2020
4b6a1f9
CMake: Check if _ncxx4_version is set
bendudson Apr 7, 2021
d73daa9
CMake: Find the Libuuid dependency
bendudson Apr 7, 2021
d07cc65
Update cmake/FindnetCDFCxx.cmake
bendudson Apr 8, 2021
e187259
CMake: Fix netCDFCxx version parsing
ZedThree Apr 8, 2021
5556b4e
CMake: Move bout_add_integrated_test out of main CML file
ZedThree Apr 16, 2021
115e442
CMake: Generalise add test function to add MMS tests
ZedThree Apr 16, 2021
bcc886e
CMake: Add option to disable running expensive tests
ZedThree Apr 16, 2021
25a25c3
Use global mesh/dump in some MMS tests
ZedThree Apr 16, 2021
66c29e0
CMake: Add most MMS tests
ZedThree Apr 16, 2021
3bcd88e
CMake: Allow tests that rely on executables from other tests
ZedThree Apr 16, 2021
3cb038a
CMake: Add more MMS tests
ZedThree Apr 16, 2021
1464883
Force output_debug on if CHECK > 3
ZedThree May 26, 2020
134c2a6
Namespace all CMake options
ZedThree May 26, 2020
ae1602e
Fix conditional in cmake_dependent_option for submodules
ZedThree May 28, 2020
3c200d9
Workaround for git submodule update sometimes failing
ZedThree May 28, 2020
cb01496
CMake: Build documentation
ZedThree May 4, 2021
0370c93
GHA: Don't build docs on github
ZedThree May 4, 2021
7761ddb
GHA: Don't build the docs for other Github actions either
ZedThree May 5, 2021
b6fa6c2
CMake: Fix typo
ZedThree May 6, 2021
b0a81f0
CMake: Be explicit that docs aren't built in `all`
ZedThree May 6, 2021
9f094ab
CMake: Default to not building the docs
ZedThree May 6, 2021
b9037a0
Fix for FindPETSc not being reentrant if pkg-config used
ZedThree May 17, 2021
56074b1
CMake: Add coverage/sanitizers
ZedThree May 5, 2021
9f59d7a
CMake: Add CONFLICTS to bout_add_integrated_or_mms_test
ZedThree May 18, 2021
9894428
CMake: Install missing cmake modules
ZedThree May 19, 2021
2a0e41a
CMake: Provide bout-config
ZedThree May 19, 2021
8f11546
CMake: Install the various helper scripts
ZedThree May 19, 2021
2fd841a
CMake: Fix some issues with FindSLEPc module
ZedThree May 19, 2021
ae35bd4
CMake: Cache SUNDIALS variables
ZedThree May 19, 2021
a0f88fc
CMake: Fix correct library location for shared lib in bout-config
ZedThree May 25, 2021
d4fd557
CMake: Use less jargon in function docstring
ZedThree May 25, 2021
5411adc
CMake: Fix issue on Fedora with PETSc linking order with bout-config
ZedThree May 25, 2021
3f73cde
Add simple test for bout-config
dschwoerer May 25, 2021
912d563
Fix permissions
dschwoerer May 25, 2021
ff353f1
CMake: Add REQUIRES, CONFLICTS arguments to bout_add_model/example
ZedThree May 27, 2021
114b81b
CMake: Fail fast in CI script
ZedThree May 27, 2021
cbf7873
CMake: Add option to download SUNDIALS at configure time
ZedThree May 21, 2021
cdc704d
Add downloading dependencies to CMake install doc
bendudson May 24, 2021
720bb4a
CMake rename PACKAGE_TESTS to BOUT_TESTS
bendudson Jun 9, 2021
1c51db6
Disable tests by default if building as part of another project
ZedThree Jun 10, 2021
2337364
make sundials detection errors fatal
dschwoerer Jun 29, 2021
8e3c2cb
Add soversion
dschwoerer Jun 29, 2021
0cf2a37
Simplify sundials detection
dschwoerer Jul 3, 2021
d1c3fb9
Add SO version for bundled pvode
dschwoerer Jul 3, 2021
0b83240
Move input file for staggered version of test
ZedThree Nov 6, 2019
46fcf56
Delete removed test_io.grd.nc file from test-invpar's CMakeLists.txt
johnomotani Aug 12, 2020
592aad1
Upgrade split-file version of advdiff to PhysicsModel
ZedThree Jun 9, 2020
bb2ac60
Add bout_config to expose configure status to python
dschwoerer Feb 27, 2020
ca0c5b5
Add bout_config to cmake
dschwoerer Mar 1, 2020
bad4ba9
Move boutconfig to own folder.
dschwoerer Mar 1, 2020
75b035b
update configure
dschwoerer Apr 4, 2020
d04e80a
Fix bad cherry-pick
dschwoerer Apr 11, 2020
a2e608f
Use dict for boutconfig
dschwoerer Apr 11, 2020
2dc58a3
Update boutconfig to new interface
dschwoerer Jun 3, 2020
b33abef
Apply black formatting to boutconfig input files
ZedThree Dec 10, 2020
7c181f2
Add CMake variables for SUNDIALS components to boutconfig input
ZedThree Dec 10, 2020
feb992a
Remove BOUT_METRIC_TYPE from boutconfig
ZedThree Dec 10, 2020
7b41701
Fix names of some boutconfig variables
ZedThree Dec 10, 2020
01384cc
CMake: Set BOUT_PYTHONPATH variable with location of Python modules
ZedThree Dec 10, 2020
120dfc2
Add back CMake versions of boutconfig cflags/lib variables
ZedThree Dec 10, 2020
8b04dee
CMake: Install boutconfig python module
ZedThree Dec 10, 2020
58ade8f
Autotools: Remove generated boutconfig module with distclean
ZedThree Dec 10, 2020
4a83be9
Remove some other references to 3D metrics
ZedThree Dec 10, 2020
d6402ff
build shared lib if --enable-shared
dschwoerer Mar 20, 2020
294393b
Use relative path for so file linking
dschwoerer Mar 20, 2020
3bc72d9
be verbose in travis script
dschwoerer Mar 23, 2020
680470f
prefer $(BOUT_LIB_PATH)
dschwoerer Mar 24, 2020
e598be5
use single var for both files
dschwoerer Mar 27, 2020
0b6bb63
Only remove libbout++.a
dschwoerer Apr 1, 2020
6e0cb5d
Use CXX to compile instead of MPICXX
ZedThree Jul 29, 2021
5eaf372
Use @CXX@ instead of @MPICXX@ in bout-config.in
ZedThree Nov 1, 2019
f987a26
CMake: Fix for v4.4 without build_defines header
ZedThree Jul 29, 2021
a7403b5
Fix comparison
dschwoerer Sep 27, 2020
9472a62
Add CMake code to generate generated_fieldops
dschwoerer Sep 27, 2020
938d142
CMake: Add module to find clang-format
ZedThree Oct 21, 2020
11aca91
CMake: Make generated_fieldops.cxx command more portable
ZedThree Oct 21, 2020
fe2f099
CMake: Add option to skip generating fieldops
ZedThree Oct 21, 2020
efefdc7
Merge pull request #2389 from boutproject/backport-cmake-v4.4-rebase
ZedThree Jul 29, 2021
7cf678a
Merge branch 'master' into v4.4.0-alpha
ZedThree Jul 29, 2021
3b7e720
Merge branch 'master' into v440-merge-master
ZedThree Jul 29, 2021
ddbe218
Autotools: Bump soversion
ZedThree Jul 29, 2021
e029b76
Update changelog
ZedThree Jul 29, 2021
3c68b24
Linking fixes for .so
dschwoerer Apr 2, 2020
2696b91
Faster recompile
dschwoerer Apr 28, 2021
62155e3
Fix compilation
dschwoerer Apr 28, 2021
4bfed9c
fix order of date and time
dschwoerer May 1, 2021
4ec28df
Update changelog
ZedThree Jul 29, 2021
a42d99f
Merge pull request #2390 from boutproject/v440-merge-master
ZedThree Jul 29, 2021
5e05d0c
Allow Petsc options to be passed from BOUT.inp
johnomotani Sep 23, 2019
878d74c
Use unique prefixes to allow passing object-specific options to PETSc
johnomotani Sep 23, 2019
187decd
Manual entry on PETSc options
johnomotani Sep 23, 2019
d4540d0
Add 'Invertable operators' section to the contents list of the manual
johnomotani Sep 24, 2019
ad3107e
PetscOptionsSetValue had a different signature before PETSc-3.7
johnomotani Sep 24, 2019
a154a67
Fix createKSPWithOptions call in InvertableOperator
johnomotani Sep 24, 2019
b9216c4
Minor tidy of PetscLib changes
johnomotani Sep 24, 2019
7ddb068
Return KSP from PetscLib::createKSPWithOptions()
johnomotani Sep 24, 2019
11bd331
Pass "petsc" options subsection directly to PetscLib constructor
johnomotani Sep 24, 2019
c95b1d4
Note usefulness of PETSc's -options_view and -options_left in manual
johnomotani Sep 24, 2019
4270fea
Fix non-unique 'count' bug in PetscLib
johnomotani Sep 24, 2019
08f23d6
Pass-by-value in createKSPWithOptions()
johnomotani Sep 24, 2019
21d8cb5
Add missing .c_str()
johnomotani Sep 24, 2019
0b069ec
Pass by const reference in createKSPWithOptions()
johnomotani Sep 28, 2019
1683fb3
Remove KSPSetOptionsPrefix(ksp, "invertable_") in InvertableOperator
johnomotani Sep 28, 2019
f802aaf
PetscLib method for setting options instead of one for creating KSP
johnomotani Sep 28, 2019
9df655e
Tidy up null-value option passing in PetscLib
johnomotani Oct 1, 2019
b1e2c19
Remove unneeded work-around for passing "true" to PETSc options
johnomotani Oct 1, 2019
1fd0c2c
Tidy up PetscLib (suggestions from code review)
johnomotani May 20, 2020
df6cb0b
Remove PetscLib::unique_id, use options section name instead
johnomotani May 20, 2020
1d4369a
Get "petsc" options section inside PetscLib
johnomotani May 20, 2020
720be85
Fix unused parameter warning
johnomotani May 22, 2020
3416662
Remove underscore from PetscLib prefix
johnomotani May 22, 2020
16df85c
Avoid double-read of petsc options
johnomotani May 22, 2020
607fbf4
Update manual for PETSc options
johnomotani May 22, 2020
2733d2f
Move forward-declare of class Options outside "#if BOUT_HAS_PETSC"
johnomotani May 26, 2020
075e9fd
Adding an adaptive, arbitrary order, Adams-Bashforth solver
d7919 Nov 22, 2019
29316bd
Add adaptive_order to Adams-Bashforth solver
d7919 Nov 25, 2019
e041630
Bug fix : Ensure non-adaptive code exits inner loop
d7919 Nov 25, 2019
fa6d719
Bug fix: Reduce scope of use_lower and ensure it is reset for every
d7919 Nov 26, 2019
813ddd5
Bug fix: Ensure we put the state into the fields before calculating t…
d7919 Nov 26, 2019
6912951
Allow order to adapt down to 1 (previously 2 was the minimum allowed)
d7919 Nov 26, 2019
ad9eff4
Cheat a bit when doing adaptive order
d7919 Nov 26, 2019
220392f
Minor optimisation to skip some work.
d7919 Nov 26, 2019
6ee88b5
Put state into variables at the end of each internal step rather than at
d7919 Nov 26, 2019
94fdef1
Add Adams-Bashforth solver to CMake
ZedThree May 22, 2020
cee0e22
Move struct AdamsBashforthHelper to anonymous namespace
ZedThree May 28, 2020
3a5c7f0
Pull out helper function for AB integration
ZedThree May 28, 2020
be77914
Move helper function to anonymous namespace
ZedThree May 28, 2020
b9ea4dc
Move another helper to anonymous namespace
ZedThree May 28, 2020
5dfb45f
Flip conditional to break loop early if non-adaptive
ZedThree May 28, 2020
c538451
Fix a few minor issues
ZedThree May 28, 2020
1b36fee
Fix const of primitive types in function declaration
ZedThree May 28, 2020
10d5b54
Return early if not adaptive in take_step
ZedThree May 29, 2020
6d5f320
Remove trailing commas from OpenMP pragmas
ZedThree May 29, 2020
314e648
Add Mesh::getRegion<T> for use in generic code
ZedThree Jan 13, 2020
38b3e5f
Fix bug in DataFormat::writeFieldAttributes with FieldPerp
ZedThree Sep 21, 2020
cc5a3f4
Enable some HDF5-specific tests in default test set
ZedThree Sep 21, 2020
d8ec5c7
Some tidying up to test-restarting
ZedThree Sep 21, 2020
e402f56
Use global mesh/dump in test-io_hdf5
ZedThree Sep 21, 2020
32eda6e
Require netCDF for some tests
ZedThree Sep 21, 2020
dd776bd
Remove unnecessary hardcoding of dump_format in test-invpar
ZedThree Sep 21, 2020
062500b
Add Mesh::getLocal{X,Y,Z}Index{NoBoundaries} methods
ZedThree Sep 22, 2020
6dd22c5
Use more consistent global index when writing/reading `FieldPerp`s
ZedThree Sep 22, 2020
7ab1f48
Use no boundary form of global index conversion in FieldPerp I/O
ZedThree Sep 22, 2020
b568ba8
Rename *local -> *global argument in mesh index routines
ZedThree Sep 23, 2020
1eadf81
Better fix for reading/writing FieldPerp index
ZedThree Sep 23, 2020
2f64961
Use last boundary point for global y-index in restart IO test
ZedThree Sep 25, 2020
6da048e
Don't read/write FieldPerps in guard cells
ZedThree Sep 25, 2020
50f039f
Make sure test-restart-io sets exit code correctly on failure
ZedThree Sep 25, 2020
5689b51
Bump boutdata/boututils for v4.4
ZedThree Aug 4, 2021
a60fdba
Don't run pytest on GHA: all tested modules are now separate repos
ZedThree Jun 11, 2021
8ae765c
Make bout-squashoutput a symlink to boutdata version
ZedThree Jun 11, 2021
8121266
Fix typo in PETSc options docs
johnomotani Aug 4, 2021
9bf10e8
Add `const` suggested by clang-tidy
johnomotani Aug 4, 2021
45bf3e8
Merge pull request #2391 from boutproject/petsc-pass-options-v44
ZedThree Aug 5, 2021
5d07ab7
Merge pull request #2394 from boutproject/fix-hdf5-restart-v44
ZedThree Aug 5, 2021
a5d2eb9
Add toString, operator<<, operator==, typeName for FieldPerp
ZedThree Nov 23, 2020
09d95bd
Add FieldPerp constructor from Array<BoutReal>
ZedThree Nov 23, 2020
14fe22a
Add FieldPerp::getGlobalindex/setIndexFromGlobal
ZedThree Nov 24, 2020
a902332
Fix range-based for loops in tests copying element
ZedThree Nov 23, 2020
e461adf
Add Options::hasAttribute to check for existence of attribute
ZedThree Nov 24, 2020
1472570
Add FieldPerp to Options::ValueType variant
ZedThree Nov 23, 2020
92adb96
Add ability to read/write FieldPerp to OptionsNetCDF
ZedThree Nov 24, 2020
52a0cb6
Fix error message in Options::as<FieldPerp>
ZedThree Nov 24, 2020
c431fa1
Fix FieldPerp equality unit tests (didn't set y-index)
ZedThree Nov 24, 2020
9e987e6
Normalise location in Field constructor
ZedThree Nov 24, 2020
8f6536c
Initialise MPI for tests and fix FakeMesh
ZedThree Aug 4, 2021
e29d3a3
Merge pull request #2392 from boutproject/adams-bashforth-v44
ZedThree Aug 6, 2021
d3388ef
Merge pull request #2393 from boutproject/get-region-v44
ZedThree Aug 6, 2021
24299d6
Merge pull request #2395 from boutproject/add-fieldperp-options-v44
ZedThree Aug 6, 2021
2ee02ff
CMake: Bump version
ZedThree Aug 6, 2021
6b17600
Bump DOI and release date for v4.4.0
ZedThree Aug 6, 2021
5c5a8d3
Update changelog
ZedThree Aug 6, 2021
45d3877
Update change summary
ZedThree Aug 6, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions .ci_with_cmake.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env bash

set -ex

cmake --version
cmake . -B build $@ -DCMAKE_INSTALL_PREFIX=$(pwd)/installed
cmake --build build --target build-check -j 2
cd build
ctest --output-on-failure --timeout 300

# Test bout-config basic functionallity
cd ../examples/make-script
PATH=../../build/bin:$PATH make
./test --help
cd -
make install -j 2
cd -
rm test
PATH=../../installed/bin:$PATH make
./test --help
10 changes: 7 additions & 3 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@ jobs:
-DBOUT_USE_HDF5=ON \
-DBOUT_USE_SUNDIALS=ON \
-DBOUT_BUILD_EXAMPLES=ON \
-DBOUT_BUILD_DOCS=OFF \
-DCMAKE_EXPORT_COMPILE_COMMANDS=On

- name: Run clang-tidy
uses: ZedThree/clang-tidy-review@v0.3.0
uses: ZedThree/clang-tidy-review@v0.6.1
id: review
with:
build_dir: build
apt_packages: "libfftw3-dev,libnetcdf-c++4-dev,libhdf5-mpi-dev,libopenmpi-dev,petsc-dev,slepc-dev,liblapack-dev,libparpack2-dev,libsundials-dev"

apt_packages: "libfftw3-dev,libnetcdf-c++4-dev,libopenmpi-dev,petsc-dev,slepc-dev,liblapack-dev,libparpack2-dev,libsundials-dev,uuid-dev"
clang_tidy_checks: '-*,performance-*,readability-*,bugprone-*,clang-analyzer-*,cppcoreguidelines-*,mpi-*,misc-*,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers,-misc-non-private-member-variables-in-classes,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-type-vararg,-clang-analyzer-optin.mpi*'
# Googletest triggers a _lot_ of clang-tidy warnings, so ignore all
# the unit tests until they're fixed or ignored upstream
exclude: "tests/unit/*cxx"
17 changes: 6 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ jobs:
- name: "CMake, shared, Ubuntu 20.04"
os: ubuntu-20.04
cmake_options: "-DBUILD_SHARED_LIBS=ON
-DENABLE_OPENMP=ON
-DUSE_PETSC=ON
-DUSE_SLEPC=ON
-DUSE_HDF5=ON
-DUSE_SUNDIALS=ON
-DBOUT_ENABLE_OPENMP=ON
-DBOUT_USE_PETSC=ON
-DBOUT_USE_SLEPC=ON
-DBOUT_USE_SUNDIALS=ON
-DBOUT_BUILD_DOCS=OFF
-DSUNDIALS_ROOT=/home/runner/local"
omp_num_threads: 2

Expand Down Expand Up @@ -157,12 +157,7 @@ jobs:

- name: Build (CMake)
if: ${{ contains(matrix.config.name, 'CMake') }}
run: |
cmake --version
cmake . -B build ${{ matrix.config.cmake_options }}
cmake --build build -j 2
cd build
ctest --output-on-failure --timeout 300
run: ./.ci_with_cmake.sh ${{ matrix.config.cmake_options }}

- name: Capture coverage
if: ${{ matrix.config.name == 'Coverage' }}
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
autom4te.cache/
aclocal.m4
/bin/bout-config
/src/makefile
/include/pvode
/lib/
/manual/*.pdf
Expand All @@ -41,3 +42,6 @@ src/.libfast
.BOUT.pid.*
build/
build*/
/.vs
/CMakeSettings.json
/CppProperties.json
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
[submodule "mpark.variant"]
path = externalpackages/mpark.variant
url = https://github.com/mpark/variant.git
[submodule "externalpackages/boututils"]
path = externalpackages/boututils
url = https://github.com/boutproject/boututils.git
[submodule "externalpackages/boutdata"]
path = externalpackages/boutdata
url = https://github.com/boutproject/boutdata.git
3 changes: 1 addition & 2 deletions .travis_script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -e
set -ex

#Default flags
COVERAGE=0
Expand Down Expand Up @@ -126,7 +126,6 @@ fi
if [[ ${INTEGRATED} == 1 ]]
then
time make check-integrated-tests
time py.test-3 tools/pylib/
fi

if [[ ${MMS} == 1 ]]
Expand Down
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,76 @@

See [\#2154](https://github.com/boutproject/BOUT-dev/pull/2154).

## [v4.4.0](https://github.com/boutproject/BOUT-dev/tree/v4.4.0) (2021-07-30)

[Full Changelog](https://github.com/boutproject/BOUT-dev/compare/v4.3.3...v4.4.4)

**Merged pull requests:**

- Add ability to use FieldPerp in Options (v.4.4) [\#2395](https://github.com/boutproject/BOUT-dev/pull/2395) ([ZedThree](https://github.com/users/ZedThree))
- Fix some HDF5 related issues and add Mesh::getLocal{X,Y,Z}Index (v4.4) [\#2394](https://github.com/boutproject/BOUT-dev/pull/2394) ([ZedThree](https://github.com/users/ZedThree))
- Add Mesh::getRegion<T> for use in generic code (v4.4) [\#2393](https://github.com/boutproject/BOUT-dev/pull/2393) ([ZedThree](https://github.com/users/ZedThree))
- Adding an adaptive, arbitrary order, Adams-Bashforth solver (v4.4) [\#2392](https://github.com/boutproject/BOUT-dev/pull/2392) ([ZedThree](https://github.com/users/ZedThree))
- Allow PETSc options to be passed from BOUT.inp (v4.4) [\#2391](https://github.com/boutproject/BOUT-dev/pull/2391) ([ZedThree](https://github.com/users/ZedThree))
- Add new contributors [\#2386](https://github.com/boutproject/BOUT-dev/pull/2386) ([dschwoerer](https://github.com/users/dschwoerer))
- Update locale [\#2385](https://github.com/boutproject/BOUT-dev/pull/2385) ([dschwoerer](https://github.com/users/dschwoerer))
- Fix RTD [\#2384](https://github.com/boutproject/BOUT-dev/pull/2384) ([dschwoerer](https://github.com/users/dschwoerer))
- Rename `max_nonlinear_it` to `max_nonlinear_iterations` [\#2339](https://github.com/boutproject/BOUT-dev/pull/2339) ([johnomotani](https://github.com/users/johnomotani))
- CVODE constraints and max_noinlinear_iterations options (4.4) [\#2304](https://github.com/boutproject/BOUT-dev/pull/2304) ([johnomotani](https://github.com/users/johnomotani))
- Fix some Solvers not always using user preconditioner/Jacobian (v4.4) [\#2284](https://github.com/boutproject/BOUT-dev/pull/2284) ([ZedThree](https://github.com/users/ZedThree))
- Fix formatting strings for pre-fmt in beuler solver [\#2278](https://github.com/boutproject/BOUT-dev/pull/2278) ([bendudson](https://github.com/users/bendudson))
- Backport of Backward Euler solver to v4.4 [\#2265](https://github.com/boutproject/BOUT-dev/pull/2265) ([bendudson](https://github.com/users/bendudson))
- Fix use of uninitialised value in Delp2 (4.4) [\#2263](https://github.com/boutproject/BOUT-dev/pull/2263) ([johnomotani](https://github.com/users/johnomotani))
- Save provenance tracking info from grid file (4.4) [\#2231](https://github.com/boutproject/BOUT-dev/pull/2231) ([johnomotani](https://github.com/users/johnomotani))
- Generate random run ID, track restarts (4.4) [\#2224](https://github.com/boutproject/BOUT-dev/pull/2224) ([johnomotani](https://github.com/users/johnomotani))
- Generate report for Timers (4.4) [\#2216](https://github.com/boutproject/BOUT-dev/pull/2216) ([johnomotani](https://github.com/users/johnomotani))
- Replace boutdata and boututils directories with submodules (v4.4) [\#2198](https://github.com/boutproject/BOUT-dev/pull/2198) ([johnomotani](https://github.com/users/johnomotani))
- Use bout_type="string" for strings in H5Format (4.4) [\#2194](https://github.com/boutproject/BOUT-dev/pull/2194) ([johnomotani](https://github.com/users/johnomotani))
- Write descriptions for std::vector<int> and std::string variables [\#2191](https://github.com/boutproject/BOUT-dev/pull/2191) ([johnomotani](https://github.com/users/johnomotani))
- Fix reading of char* in Ncxx4 (4.4) [\#2189](https://github.com/boutproject/BOUT-dev/pull/2189) ([johnomotani](https://github.com/users/johnomotani))
- Merge master into v4.4.0-alpha [\#2174](https://github.com/boutproject/BOUT-dev/pull/2174) ([ZedThree](https://github.com/users/ZedThree))
- I/O for std::vector<int> and std::string (4.4) [\#2155](https://github.com/boutproject/BOUT-dev/pull/2155) ([johnomotani](https://github.com/users/johnomotani))
- Check DataFile grid sizes match those in existing mesh (v4.4) [\#2148](https://github.com/boutproject/BOUT-dev/pull/2148) ([johnomotani](https://github.com/users/johnomotani))
- Call checkData() before returning result in Laplace inversions (v4.4) [\#2134](https://github.com/boutproject/BOUT-dev/pull/2134) ([johnomotani](https://github.com/users/johnomotani))
- Allow setting FFTW_EXHAUSTIVE (v4.4) [\#2132](https://github.com/boutproject/BOUT-dev/pull/2132) ([johnomotani](https://github.com/users/johnomotani))
- Make example relocatable [\#2127](https://github.com/boutproject/BOUT-dev/pull/2127) ([dschwoerer](https://github.com/users/dschwoerer))
- Merge master into v4.4.0-alpha [\#2121](https://github.com/boutproject/BOUT-dev/pull/2121) ([ZedThree](https://github.com/users/ZedThree))
- Handle FieldPerps in Datafile::varAdded() and Datafile::varPtr() (v4.4.0) [\#2094](https://github.com/boutproject/BOUT-dev/pull/2094) ([johnomotani](https://github.com/users/johnomotani))
- Staggered grids in InvertPar (v4.4.0) [\#2088](https://github.com/boutproject/BOUT-dev/pull/2088) ([johnomotani](https://github.com/users/johnomotani))
- Allow descriptions of output variables; save some diagnostics for solvers (v4.4) [\#2086](https://github.com/boutproject/BOUT-dev/pull/2086) ([johnomotani](https://github.com/users/johnomotani))
- Correct Grad2_par2 implementation in InvertParCR (v4.4.0) [\#2077](https://github.com/boutproject/BOUT-dev/pull/2077) ([johnomotani](https://github.com/users/johnomotani))
- Enable staggered versions of SplitFluxDerivativeType (4.4) [\#2059](https://github.com/boutproject/BOUT-dev/pull/2059) ([johnomotani](https://github.com/users/johnomotani))
- Merge master into v4.4.0-alpha [\#1998](https://github.com/boutproject/BOUT-dev/pull/1998) ([ZedThree](https://github.com/users/ZedThree))
- LaplaceXY: finite difference option (v4.4) [\#1924](https://github.com/boutproject/BOUT-dev/pull/1924) ([johnomotani](https://github.com/users/johnomotani))
- Backport of Laplace performance test [\#1910](https://github.com/boutproject/BOUT-dev/pull/1910) ([JosephThomasParker](https://github.com/users/JosephThomasParker))
- Macro for creating enum classes (v4.4) [\#1895](https://github.com/boutproject/BOUT-dev/pull/1895) ([johnomotani](https://github.com/users/johnomotani))
- Implement toFieldAligned and fromFieldAligned for Vector3D (v4.4) [\#1878](https://github.com/boutproject/BOUT-dev/pull/1878) ([johnomotani](https://github.com/users/johnomotani))
- Remove 3-element list indexers for collect() [\#1862](https://github.com/boutproject/BOUT-dev/pull/1862) ([johnomotani](https://github.com/users/johnomotani))
- Allow user to override library option defaults (v4.4) [\#1849](https://github.com/boutproject/BOUT-dev/pull/1849) ([johnomotani](https://github.com/users/johnomotani))

The following were backported from v5.0.0 in [\#2389](https://github.com/boutproject/BOUT-dev/pull/2389):

- Add remaining integrated tests to CMake build [\#1833](https://github.com/boutproject/BOUT-dev/pull/1833) ([ZedThree](https://github.com/users/ZedThree))
- Fixes for Windows [\#1874](https://github.com/boutproject/BOUT-dev/pull/1874) ([ZedThree](https://github.com/users/ZedThree))
- CMake: fix FindSlepc for non-make generators [\#1881](https://github.com/boutproject/BOUT-dev/pull/1881) ([ZedThree](https://github.com/users/ZedThree))
- CMake: enable using external mpark.variant [\#1900](https://github.com/boutproject/BOUT-dev/pull/1900) ([ZedThree](https://github.com/users/ZedThree))
- Cmake fixes [\#1909](https://github.com/boutproject/BOUT-dev/pull/1909) ([dschwoerer](https://github.com/users/dschwoerer))
- CMake: find package fixes [\#1912](https://github.com/boutproject/BOUT-dev/pull/1912) ([ZedThree](https://github.com/users/ZedThree))
- Fix runtest for non-make generators [\#1952](https://github.com/boutproject/BOUT-dev/pull/1952) ([ZedThree](https://github.com/users/ZedThree))
- CMake: Generate Field arithmetic operators [\#2119](https://github.com/boutproject/BOUT-dev/pull/2119) ([dschwoerer](https://github.com/users/dschwoerer))
- CMake: Add option to download and build netCDF C++ API [\#2138](https://github.com/boutproject/BOUT-dev/pull/2138) ([ZedThree](https://github.com/users/ZedThree))
- Fix CMake config file following change to netCDF cmake module [\#2162](https://github.com/boutproject/BOUT-dev/pull/2162) ([ZedThree](https://github.com/users/ZedThree))
- Make input Options case sensitive and error on unused Options [\#2210](https://github.com/boutproject/BOUT-dev/pull/2210) ([ZedThree](https://github.com/users/ZedThree))
- Next CMake fixes [\#2275](https://github.com/boutproject/BOUT-dev/pull/2275) ([bendudson](https://github.com/users/bendudson))
- Add MMS tests to CMake build [\#2286](https://github.com/boutproject/BOUT-dev/pull/2286) ([ZedThree](https://github.com/users/ZedThree))
- CMake: Build documentation [\#2300](https://github.com/boutproject/BOUT-dev/pull/2300) ([ZedThree](https://github.com/users/ZedThree))
- Fix for FindPETSc not being reentrant if pkg-config used (next) [\#2318](https://github.com/boutproject/BOUT-dev/pull/2318) ([ZedThree](https://github.com/users/ZedThree))
- CMake: Fix a few minor issues, generate `bout-config` [\#2328](https://github.com/boutproject/BOUT-dev/pull/2328) ([ZedThree](https://github.com/users/ZedThree))
- CMake: Add option to download SUNDIALS at configure time [\#2331](https://github.com/boutproject/BOUT-dev/pull/2331) ([ZedThree](https://github.com/users/ZedThree))
- CMake rename PACKAGE_TESTS to BOUT_TESTS [\#2347](https://github.com/boutproject/BOUT-dev/pull/2347) ([bendudson](https://github.com/users/bendudson))
- CMake: Add SOVERSION; fix FindSUNDIALS [\#2358](https://github.com/boutproject/BOUT-dev/pull/2358) ([dschwoerer](https://github.com/users/dschwoerer))
- Faster recompile [\#2294](https://github.com/boutproject/BOUT-dev/pull/2294) ([dschwoerer](https://github.com/users/dschwoerer))

## [v4.3.3](https://github.com/boutproject/BOUT-dev/tree/v4.3.2) (2021-07-28)

[Full Changelog](https://github.com/boutproject/BOUT-dev/compare/v4.3.2...master)
Expand Down
9 changes: 6 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,17 @@ authors:
- family-names: Wang
given-names: Zhanhui

- family-names: Ahmed
given-names: Sajidah

- family-names: James
given-names: Toby

version: 4.3.3
date-released: 2021-07-29
version: 4.4.0
date-released: 2020-08-06
repository-code: https://github.com/boutproject/BOUT-dev
url: http://boutproject.github.io/
doi: 10.5281/zenodo.5142504
doi: 10.5281/zenodo.5167527
license: 'LGPL-3.0-or-later'
references:
- type: article
Expand Down
Loading