Skip to content
hyschive edited this page Jan 19, 2025 · 8 revisions

This page covers the following topics:


  • Running out of GPU memory

    • Description:
    ERROR : CUDA ERROR : out of memory !!
    
    • Solution: Reduce GPU_NSTREAM until the issue is resolved.

  • Instability with MHD

    • 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:

      1. Use the g++ compiler.
      2. Compile and link with flags -fsanitize=undefined -fsanitize=address.
    • Example (on the eureka machine)

      1. Uncomment the following lines in configs/eureka_gnu.config
        #CXXFLAG -fsanitize=undefined -fsanitize=address
        #LIBFLAG -fsanitize=undefined -fsanitize=address
        
      2. Generate Makefile
        python configure.py --machine=eureka_gnu [--your_other_arguments]
        
      3. Compile
        make clean && make -j4
        

Clone this wiki locally