From 820a2a9b031120849b3fc0259bbeba642eb0c95d Mon Sep 17 00:00:00 2001 From: jackieyao0114 Date: Wed, 22 May 2024 13:19:09 -0700 Subject: [PATCH] updated README.md and Examples/Waveguide/inputs_3d_LLG_filter --- Examples/Waveguide/inputs_3d_LLG_filter | 2 +- README.md | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Examples/Waveguide/inputs_3d_LLG_filter b/Examples/Waveguide/inputs_3d_LLG_filter index eef624ed7..19215a0d7 100644 --- a/Examples/Waveguide/inputs_3d_LLG_filter +++ b/Examples/Waveguide/inputs_3d_LLG_filter @@ -11,7 +11,7 @@ ################################# max_step = 300000 amr.n_cell = 1024 4 512 # number of cells spanning the domain in each coordinate direction at level 0 -amr.max_grid_size = 1024 # maximum size of each AMReX box, used to decompose the domain +amr.max_grid_size = 256 # maximum size of each AMReX box, used to decompose the domain amr.blocking_factor = 4 # only meaningful for AMR geometry.dims = 3 boundary.field_lo = pec pec pml # PEC on side walls; PML at -z end diff --git a/README.md b/README.md index bab586b98..591247c8b 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,22 @@ The default value of ```USE_LLG``` is ```TRUE```. # Running Artemis Example input scripts are located in `Examples` directory. -## Simple Testcase +## Simple Testcase without LLG You can run the following to simulate an air-filled X-band rectangle waveguide: ## For MPI+OMP build ```make -j 4 USE_LLG=FALSE```
```mpirun -n 4 ./main3d.gnu.TPROF.MTMPI.OMP.GPUCLOCK.ex Examples/Waveguide/inputs_3d_empty_X_band``` ## For MPI+CUDA build -```mpirun -n 4 ./main3d.gnu.TPROF.MTMPI.OMP.GPUCLOCK.ex Examples/Waveguide/inputs_3d_empty_X_band``` +```make -j 4 USE_LLG=FALSE USE_GPU=TRUE```
+```mpirun -n 4 ./main3d.gnu.TPROF.MTMPI.CUDA.GPUCLOCK.ex Examples/Waveguide/inputs_3d_empty_X_band``` +## Simple Testcase with LLG +You can run the following to simulate an X-band magnetically tunable filter: +## For MPI+OMP build +```make -j 4 USE_LLG=TRUE```
+```mpirun -n 8 ./main3d.gnu.TPROF.MTMPI.OMP.GPUCLOCK.ex Examples/Waveguide/inputs_3d_LLG_filter``` +## For MPI+CUDA build +```make -j 4 USE_LLG=TRUE USE_GPU=TRUE```
+```mpirun -n 8 ./main3d.gnu.TPROF.MTMPI.CUDA.GPUCLOCK.ex Examples/Waveguide/inputs_3d_LLG_filter``` # Visualization and Data Analysis Refer to the following link for several visualization tools that can be used for AMReX plotfiles.