Skip to content

Configuration flags

ax3l edited this page Dec 16, 2014 · 7 revisions

You are here: Home > PIConGPU User Documentation > Configuration flags


This page provides an overview over the CMake configuration flags that are available for PIConGPU. To set a flag, pass it during the configuration of your parameter set:

<pic-src-dir>/configure <parameter-set> -c "-D<FLAG>=<VALUE> -D..."

Your can also use ccmake to query and set the current configuration from your CMake cache in your build directory. Some of the flags are marked as advanced, press t to toggle those.

After you made your changes, reconfigure by pressing c and regenerate the make files by pressing g.

Flag Description Default
CUDA_ARCH CUDA architecture (SM) version sm_20
CUDA_SHOW_REGISTER Show kernel registers and create PTX OFF
CUDA_KEEP_FILES Keep all intermediate files that are generated during internal compilation steps (folder: nvcc_tmp) OFF
CUDA_SHOW_CODELINES Show kernel lines in cuda-gdb and cuda-memcheck OFF
VAMPIR_ENABLE Enable VampirTrace support OFF
SCOREP_ENABLE Enable Score-P support OFF
PIC_RELEASE Create release version without debug asserts OFF
PIC_VERBOSE Runtime verbosity level (bit-wise combination). See PIConGPUVerbose.hpp for available options. 0 (none)
PMACC_BLOCKING_KERNEL Enable synchronization and error checking after each kernel call OFF
PIC_ENABLE_INSITU_VOLVIS Enable in-situ volume visualization (live visualization) OFF