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
nmannall
62f6286876
Fix error when specifying receiver outputs
2024-07-01 17:37:16 +01:00
nmannall
f376d472ab
Fix error in building PML when split across ranks
...
The PML can only be split in two dimensions. I.e. an x PML layer can
only be split in the y and z dimension. The x dimension of the grid in
each rank should be greater than the thickness of the PML.
2024-06-25 09:51:47 +01:00
nmannall
bc860d7d7c
Regenerate TransmissionLine Regression file
2024-06-24 16:20:17 +01:00
nmannall
0508bf6631
Set source directory in MPI geometery tests
2024-06-24 15:36:38 +01:00
nmannall
0c29bb7c66
Add receiver to transmission line test
2024-06-24 15:36:17 +01:00
nmannall
5f94d34fd0
Revert Model to be a parameter and rename regression test files
2024-06-24 15:11:45 +01:00
Nathan Mannall
747eaba1cc
Refactor reframe tests to use new base classes
2024-06-20 17:14:12 +01:00
nmannall
0e6d13898c
Refactor base reframe tests
2024-06-18 11:55:51 +01:00
nmannall
bbfac07fe6
Limit numpy to version less than 2.0
2024-06-18 11:00:33 +01:00
nmannall
40a3c9438d
Merge branch 'devel' into mpi
2024-06-11 18:42:05 +01:00
nmannall
39fd9e0238
Update MPI tests to run on two nodes not one
2024-06-11 18:17:22 +01:00
nmannall
005a8cc4e5
Avoid divide by 0 when calculating MPI rank from coordinate
2024-06-11 18:15:56 +01:00
nmannall
41dc013c69
Check grid dimensions large enough for MPI tasks
2024-06-11 18:14:46 +01:00
nmannall
e66e18a473
Remove gnx properies from Model
2024-06-11 18:10:12 +01:00
nmannall
24145d46d7
Add new tests containing geometry
2024-06-05 10:12:07 +01:00
nmannall
95059d44a3
Use test hash in regression file names
...
The reframe short name is prefered to the unique name as it uses the
test hash. This will stay constant for a given test even if other tests
are created, or removed.
2024-06-05 10:01:54 +01:00
Craig Warren
e842d8a2f6
Tidied import sorting
2024-06-03 21:01:29 +01:00
Craig Warren
108fdb53e1
Fixed check_averaging circular import and sorted import ordering
2024-06-03 20:57:58 +01:00
nmannall
f8f5a64059
Add MPI reframe tests
2024-05-31 17:21:45 +01:00
nmannall
1931617a49
Add initial MPI implementation
2024-05-31 17:21:00 +01:00
nmannall
d8005d35d8
Pass iteration to CUDA and OpenCL update methods
2024-05-31 17:18:35 +01:00
nmannall
a68b7e0583
Store receiver coordinates as a numpy array
2024-05-23 13:44:41 +01:00
nmannall
8e39207272
Add halo swap function to MPIGrid
...
Distribute Model to each rank
2024-05-23 11:47:06 +01:00
nmannall
d004f64d81
Check SimulationConfig.args has attribute subgrid
...
Subgrid attribute won't exist when gprMax is called from the commandline
2024-05-23 11:18:44 +01:00
nmannall
818418c952
Merge branch 'refactor-create-internal-objects' into mpi
2024-05-21 14:45:45 +01:00
nmannall
b8b17a83bc
Rename variables to use cone instead of cylinder
2024-05-21 14:40:51 +01:00