nmannall
bea6f12da6
Fix MPI regresssion tests not finding dependency
2024-09-26 18:18:38 +01:00
nmannall
bb5832b042
Add new snapshot tests at MPI boundaries
2024-09-26 18:16:23 +01:00
nmannall
9d13d5a495
Update snapshot regression files with new discretisations
2024-09-26 18:14:22 +01:00
nmannall
9dd0d1b255
Add validation for snapshots to fix out of bounds memory access
2024-09-26 18:13:05 +01:00
nmannall
aef7737299
Change mpi and taskfarm flags to use -- convention
2024-08-16 15:49:20 +01:00
nmannall
93dadd9f1e
Reformat long strings in contexts.py
2024-08-16 15:32:34 +01:00
nmannall
c288e8eb7c
Add docstrings to all MPIGrid and FDTDGrid methods
2024-08-16 14:47:45 +01:00
nmannall
89873a5963
Fix bug when rank only contains the final snapshot step
2024-08-06 13:46:11 +01:00
nmannall
9a4d576284
Add additional Snapshot tests (2D slices of 3D model)
2024-08-06 13:44:37 +01:00
nmannall
d4276e44f9
Add has_neighbour helper method
2024-08-05 15:53:26 +01:00
nmannall
33670b3bd1
Merge branch 'devel' into mpi
2024-08-05 15:31:40 +01:00
nmannall
4b9bd26a4d
Add reframe tests for Snapshots
2024-08-05 15:29:39 +01:00
nmannall
320b813f8d
Run h5diff command in reframe sanity function
2024-08-02 13:53:28 +01:00
Craig Warren
9107179d5a
Fixed bug with start/end/thickness of cylindrical sector
2024-07-24 15:13:56 +01:00
nmannall
87d4d63a38
Regenerate regression tests after PML precision change
2024-07-24 13:28:23 +01:00
nmannall
bef3b8e6bd
Change pml cython functions to double precision
...
Reduces numerical differences between serial and MPI implementation
2024-07-24 10:33:44 +01:00
nmannall
70960f38b8
Fix typo in source directory
2024-07-24 10:33:10 +01:00
nmannall
8f336d9de0
Add reference data to output plot and plot diffs
2024-07-24 10:13:22 +01:00
nmannall
7d97ebcd81
Move regression checks folder to correct location
2024-07-24 10:06:42 +01:00
nmannall
43e9390b8d
Split reframe tests into multiple files
2024-07-23 15:24:59 +01:00
nmannall
e7eaba53df
Add comments to all methods
2024-07-23 15:23:46 +01:00
nmannall
05cfc6403b
Move reframe test files into seperate directory
2024-07-23 14:36:10 +01:00
nmannall
bec547f201
Throw exception if unknown grid type
2024-07-18 17:38:06 +01:00
nmannall
960ced4761
Implement Snapshots for MPI
...
Works, except for small errors in the corners of 2D models. Requires
further investigation.
2024-07-18 17:33:27 +01:00
nmannall
5c9d59d7d1
Fix wrong grid coord when coordinate at edge of grid
...
When the global coordinate was in the far edge of the grid, the returned
grid coordinate would be one more than the maximum in at least one
dimension resulting in comm.Get_cart_rank failing.
2024-07-18 17:17:16 +01:00
nmannall
b8e7a3b3ca
Update dtype and type hints for numpy arrays
2024-07-18 17:10:39 +01:00
nmannall
63042ab0ad
Remove default value from GridType
2024-07-18 17:06:01 +01:00
nmannall
cd078dbfc4
Add some type hints
2024-07-18 17:05:07 +01:00
nmannall
7d0321715f
Fix snapshots always defaulting to .vti files
2024-07-18 17:03:29 +01:00
nmannall
8af024b496
Move test input files into folders
...
Reduces the number of unnecessary files present in the test stage and
output directories.
2024-07-16 12:10:43 +01:00
nmannall
ddf4a97e5b
Log materials table clearer with debug log level
2024-07-15 16:43:33 +01:00
nmannall
e5051912ef
Save output files from each rank in a folder
2024-07-15 16:42:47 +01:00
nmannall
de952f2bed
Fix ID array not being distributed to MPI ranks
2024-07-15 16:25:20 +01:00
nmannall
f3c1c17ff7
Change materials table to Ascii as displays better
...
SingleTable does not display well in log files or if stdout is
redirected to a text file
2024-07-12 16:55:37 +01:00
nmannall
147f7860c3
Tidy up logging (mainly for log files/debug level)
2024-07-12 16:54:13 +01:00
nmannall
d1755e9474
Fix checking memory requirements twice in MPIModel
2024-07-12 16:51:22 +01:00
nmannall
f21c281bac
Use colorama to control logging colours
2024-07-12 16:50:14 +01:00
nmannall
8052d2a448
Add controls for MPI logging
2024-07-12 16:49:22 +01:00
nmannall
ba2edbf3d3
Turn off progress bars for non-rank 0 processes
2024-07-12 16:32:02 +01:00
nmannall
8467ee5dfa
Change logger.exception to logger.error
...
logger.exception is designed to be used inside an exception handler as
the exception info is added to the logging message.
2024-07-12 14:59:28 +01:00
nmannall
e99e1b304b
Split test output by rank and add some debug info
2024-07-09 15:03:39 +01:00
nmannall
642db458e2
Add overrides to show or hide progress bars
2024-07-04 12:36:24 +01:00
nmannall
687448e97d
Fix all MPI ranks should use the same sigma max
...
The CFS parameter sigma max values for PMLs should be the same for all
PMLs. Therefore it needs to be broadcast to all MPI ranks.
2024-07-04 11:43:10 +01:00
nmannall
7078bbebf3
Fix incorrect PML material property averages (MPI)
2024-07-02 17:11:25 +01:00
nmannall
5938579516
Fix receivers not always output in the same order
...
This happened when receivers were recombined on rank 0 when using MPI.
Need to ensure consistancy in the regression tests when comparing
serial and MPI implementations.
2024-07-02 15:08:41 +01:00
nmannall
816833e254
Make abstract Updates class generic and add grid attribute
2024-07-02 15:07:30 +01:00
nmannall
0cde41cdca
Add input and regression files for new tests
2024-07-02 15:04:39 +01:00
nmannall
6c80ea3a7c
Add support for plotting a subset of outputs
2024-07-02 15:02:58 +01:00
nmannall
54e999398f
Add new PML tests
2024-07-02 15:01:28 +01:00
nmannall
7538e201d7
Make mpi_layout a parameter instead of a variable
2024-07-02 14:55:42 +01:00