Skip to content

Commit 8c02621

Browse files
authored
Update run_artemis.rst
1 parent ac79cc9 commit 8c02621

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Docs/source/usage/run_artemis.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,34 @@ Advanced Usage
111111
- **Micromagnetics**: When ``USE_LLG=TRUE``, additional array fields for magnetization components will be allocated, and the FDTD step will couple to LLG updates.
112112
- **Superconductivity**: Some versions of ARTEMIS allow modeling superconductors with a two-fluid model. Ensure your input file is set up properly, referencing the parameters introduced in the relevant publication or example.
113113

114+
Common Pitfalls
115+
---------------
116+
117+
1. **MPI Rank Mismatch / Library Errors**:
118+
- Ensure that your environment is loading the correct MPI library before running, e.g.:
119+
::
120+
module load openmpi
121+
mpirun -n 4 ./main3d...
122+
- Mixing different MPI implementations at compile/run time can cause errors.
123+
124+
2. **CUDA or HIP Errors**:
125+
- If you compiled with ``USE_GPU=TRUE``, verify that your CUDA or HIP drivers match the version you used during compilation.
126+
- On HPC systems:
127+
::
128+
module load cuda
129+
nvidia-smi
130+
to confirm GPU visibility.
131+
132+
3. **Out-of-Memory**:
133+
- Very fine meshes or many levels of AMR can exceed GPU or CPU memory. Try reducing resolution or domain size.
134+
- Check if your domain decomposition is balanced across MPI ranks.
135+
136+
4. **Missing Output Files**:
137+
- Check that the parameter ``plot_int`` in your input file is set appropriately (e.g., 100 steps) to generate plotfiles.
138+
- If no plotfiles are produced, you might be running fewer steps than ``plot_int``.
139+
140+
For further assistance, please open an issue on our GitHub or consult the AMReX documentation.
141+
114142
Further Documentation
115143
---------------------
116144

0 commit comments

Comments
 (0)