3290 次代码提交

作者 SHA1 备注 提交日期
Nathan Mannall
447c484e53 Log closing VTKHDF file 2025-06-19 15:17:35 +01:00
Nathan Mannall
e842fcd949 Fix deadlock bug when some ranks finish early
- When some ranks finish quicker than others, if the ranks one of the
  ranks still running encounters an error it will attempt to call
  MPI.Abort. As some ranks will have already exited, this was causing
  deadlock without the error actually appearing.
2025-06-19 15:17:35 +01:00
Nathan Mannall
5e8277ceff Use Dim and Dir enums from utilities.mpi 2025-06-19 15:17:35 +01:00
Nathan Mannall
b71d1fb078 Remove unused geometry_objects.py
- Rename the output_controllers directory to geometry_outputs
2025-06-19 15:17:35 +01:00
Nathan Mannall
024cf46adb Fix broken reference links 2025-06-19 15:17:35 +01:00
Nathan Mannall
b390a83266 Fix logo not displaying on getting started page 2025-06-19 15:17:35 +01:00
Nathan Mannall
0d4397f8b8 Fix input API documentation
- Minor corrections to some code documentation
2025-06-19 15:17:35 +01:00
Nathan Mannall
8adb2781bf Allow docs to be built without pip install of gprmax 2025-06-19 15:17:35 +01:00
Nathan Mannall
ff1929754a By default build docs in a build directory 2025-06-19 15:17:35 +01:00
Nathan Mannall
386d7517db Merge branch '53-create-mpi-fractal-objects' into mpi 2025-06-19 15:17:34 +01:00
Nathan Mannall
e4766e22e2 Remove logger.exception from outside try except block 2025-06-19 15:17:34 +01:00
Nathan Mannall
ededfd6855 Update grass for parallel build 2025-06-19 15:17:34 +01:00
Nathan Mannall
bb8f998b38 Fix bug when restoring tests using ReceiverMixin
- 'output_file' is not stored in the run report by reframe. Therefore,
  trying to access 'test_dependency.output_file' where 'test_dependency'
  is a restored test case was returning None and causing an error.
- Instead, created a new function to build an output file path that
  can be reused by the ReceiverMixin class.
2025-06-19 15:17:34 +01:00
Nathan Mannall
45222e62f4 Merge branch '27-mpi-geometry-views' into mpi 2025-06-19 15:17:33 +01:00
Nathan Mannall
183588a930 Update geometry view regression checks to vLEN strings 2025-06-19 15:17:32 +01:00
Nathan Mannall
ad34534291 Update old or missing copyright messages 2025-06-19 15:16:57 +01:00
Nathan Mannall
573c205cf3 Make add data functions private in VtkHdfFile class
- Adding cell and point data is very dependent on the type of the VTKHDF
  file. Therefore these should be private in the base class so an
  instance of the VtkHdfFile class can only add field data.
2025-06-19 15:16:57 +01:00
Nathan Mannall
1af5d69161 Update GeometryViewLines for parallel build 2025-06-19 15:16:57 +01:00
Nathan Mannall
84d88fcb7b Merge branch 'devel' into mpi 2025-06-19 15:16:56 +01:00
Nathan Mannall
d9120db856 Prevent int overflow at large model sizes 2025-06-19 15:16:40 +01:00
Nathan Mannall
bec5e3277f Remove print statements 2025-06-19 15:16:40 +01:00
Nathan Mannall
3433f116d8 Merge branch '26-mpi-geometry-objects' into mpi 2025-06-19 15:16:40 +01:00
Nathan Mannall
8e4f156595 Update reading geometry objects for parallel build 2025-06-19 15:16:38 +01:00
Nathan Mannall
6a754ca82f Merge branch '53-create-mpi-fractal-objects' into mpi 2025-06-19 15:15:55 +01:00
Nathan Mannall
fbb73eb4ae Update geometry tests to new geometry object mixin 2025-06-19 15:15:55 +01:00
Nathan Mannall
fa93dafcaf Actually wait for Isend calls to distribute material IDs 2025-06-19 15:15:55 +01:00
Nathan Mannall
0d0615c164 Add factory functions to grids for fractal surfaces 2025-06-19 15:15:55 +01:00
nmannall
cb1ecd8d9b Seperate write and read geometry object tests 2025-06-19 15:15:55 +01:00
Nathan Mannall
5f6656741b Use asynchronous MPI calls for halo exchanges 2025-06-19 15:15:55 +01:00
Nathan Mannall
742678b705 Add some missing type hints 2025-06-19 15:15:54 +01:00
Nathan Mannall
8c15235f37 Add factory functions to grids for fractal volumes 2025-06-19 15:15:54 +01:00
Nathan Mannall
5ee013d9fe Create shared MPI fractal functions 2025-06-19 15:15:54 +01:00
Nathan Mannall
548cf6599b Remove add_surface_roughness_half test
- The functionality this tested is better tested by the new
  add_surface_roughness_boundaries test
2025-06-19 15:15:54 +01:00
Nathan Mannall
17c05f5286 Fix bug when fractal surfaces at an MPI boundary
- Add a new test that better tests this scenario
2025-06-19 15:15:54 +01:00
Nathan Mannall
b73cd93d75 Fix bug when modifications applied to multiple fractal boxes 2025-06-19 15:15:54 +01:00
Nathan Mannall
33f8e097c8 Remove 'fractal_box_half' test
- The functionality this was supposed to test is better covered by the
  new 'fractal_box_boundaries' test
2025-06-19 15:15:54 +01:00
Nathan Mannall
0c7c5447a3 Fix bug where fractal box at MPI boundary 2025-06-19 15:15:54 +01:00
Nathan Mannall
34188f8f3d Update add_grass user object for parallel build 2025-06-19 15:15:54 +01:00
Nathan Mannall
ed76cfa4c6 Remove use of logger.exception outside try except block 2025-06-19 15:15:54 +01:00
Nathan Mannall
56fff1c38b Fix bug when original_stop is less than original_start
- Add properties to access and set originalxs etc
- If original_stop is less than original_start (e.g. when both are less
  than the lower extent of the local grid), it could cause the values of
  maskxs etc in generate_volume_mask to be negative. This could cause
  incorrect slicing of self.mask
2025-06-19 15:15:54 +01:00
Nathan Mannall
cdc209d90a Update add_surface_water for parallel build 2025-06-19 15:15:54 +01:00
Nathan Mannall
88a4592764 Add MPI test for add_surface_water user object 2025-06-19 15:15:54 +01:00
Nathan Mannall
dd70f06b7b Remove use of logger.exception outside try except block 2025-06-19 15:15:54 +01:00
Nathan Mannall
80db43bf6b Limit original start and stop to local grid
- Remove unnecessary redefinition of original start and stop
2025-06-19 15:15:54 +01:00
Nathan Mannall
3a6f459179 Add MPIFractalSurface class 2025-06-19 15:15:54 +01:00
Nathan Mannall
51abdf31c0 Check if fractal volume starts beyond upper bound 2025-06-19 15:15:54 +01:00
Nathan Mannall
4882927c4b Add new MPI surface roughness geometry tests 2025-06-19 15:15:54 +01:00
Nathan Mannall
5c5c865064 Remove unnecessary initialisation of offset 2025-06-19 15:15:54 +01:00
Nathan Mannall
bf11148370 Always run receiver regression tests last
This means regression checks for geometry objects etc will run (and
potentially fail) first. This is useful as those regression tests give
more information as to what has gone wrong that the receiver regression
tests.
2025-06-19 15:15:54 +01:00
Nathan Mannall
6bad4149f7 Move fractal objects into seperate files 2025-06-19 15:15:54 +01:00