Skip to content

Commit

Permalink
updated README.md and Examples/Waveguide/inputs_3d_LLG_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jackieyao0114 committed May 22, 2024
1 parent 139c92a commit 820a2a9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Examples/Waveguide/inputs_3d_LLG_filter
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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``` <br />
```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``` <br />
```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``` <br />
```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``` <br />
```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.

Expand Down

0 comments on commit 820a2a9

Please sign in to comment.