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
nmannall
b893a83632
Revert "Added averaging check for API to convert y/n to True/False"
...
This reverts commit 23c88cee25
.
Reverting because this commit caused a circular dependency between
hash_cmds_geometry.py and the UserObject files in cmds_geometry/
2024-05-21 14:39:23 +01:00
nmannall
98e74c0c7a
Merge branch 'mpi' into refactor-create-internal-objects
2024-05-21 14:20:44 +01:00
nmannall
c23a2c2a40
Merge branch 'devel' into mpi
2024-05-21 14:07:37 +01:00
nmannall
bf386a15b4
Fix subgrid updater needing iteration count
...
SubgridUpdater now keep track of the number of iterations. Override
update methods to pass the current iteration and increment it in the
correct place. Pass the Model to create_updates as need access to the
main grid as well as subgrids.
2024-05-21 12:01:29 +01:00
nmannall
6033d19e74
Initialise FDTDGrid.dl
2024-05-21 11:58:44 +01:00
nmannall
a4ed515a00
Check if should use model or subgrid iterations
...
A subgrid may have a different number of iterations to the main model.
The correct one should be used when creating sources.
2024-05-21 11:56:27 +01:00
nmannall
5a29d298b1
Use Model properties rather than access G directly
2024-05-21 10:26:24 +01:00
nmannall
06c8908c2c
Move srcsteps and rxsteps into Model class
2024-05-21 10:25:56 +01:00
nmannall
d25ceb281d
Fix materials only built when have dispersive materials
2024-05-20 18:09:20 +01:00
nmannall
c3e43d0283
Fix calculating waveform values Magnetic Dipole sources
...
Should pass model.iterations rather than model.iteration which will
always be 0
2024-05-20 18:07:40 +01:00
nmannall
92c3f9e8c4
Pass Model to write_hdf5_outputfile not FDTDGrid
2024-05-20 18:06:50 +01:00
nmannall
11ff3f6df6
Pass iteration to magnetic source updates
2024-05-20 18:05:40 +01:00