forked from gamer-project/gamer
-
Notifications
You must be signed in to change notification settings - Fork 13
Troubleshooting
hyschive edited this page Jan 19, 2025
·
8 revisions
This page covers the following topics:
-
- Description:
ERROR : CUDA ERROR : out of memory !!
- Solution: Reduce GPU_NSTREAM until the issue is resolved.
-
- Description: See this issue report.
-
Solution: Update
CUDA
to 11.3 or higher.
-
Check static arrays with AddressSanitizer (ASan)
-
Description: Detect incorrect usage of static arrays.
-
Steps:
- Use the
g++
compiler. - Compile and link with flags
-fsanitize=undefined -fsanitize=address
.
- Use the
-
Example (on the
eureka
machine)- Uncomment the following lines in
configs/eureka_gnu.config
#CXXFLAG -fsanitize=undefined -fsanitize=address #LIBFLAG -fsanitize=undefined -fsanitize=address
- Generate
Makefile
python configure.py --machine=eureka_gnu [--your_other_arguments]
- Compile
make clean && make -j4
- Uncomment the following lines in
-
Getting Started
User Guide
- Installation
- Running the Code
- Adding New Simulations
- Runtime Parameters
- MPI and OpenMP
- GPU
- Physics Modules
- Outputs
- Simulation Logs
- Data Analysis
- In Situ Python Analysis
- Test Problems
- Troubleshooting
Advanced Topics
Developer Guide