Some compilation options are activated with ifdef statements.
Other option can be changed at compile time.
Option | Possible values | Default value | Description | Notes |
---|---|---|---|---|
CC | mpicc, cc, gcc, clang, icc, craycc, or another | mpicc | C compiler (C 1999) | |
CFLAGS | -O3 -g | Compilation flags | ||
LDFLAGS | -lm -lpthread | Linking options | ||
CONFIG_CLOCK_GETTIME | y or n | y | Enable real-time clock (time in nanoseconds) | Not used on Apple Mac and on IBM Blue Gene/Q |
CONFIG_LTTNG | y or n | n | Enable LTTng tracepoints for tracing | This is useful to understand bottlenecks and performance issues |
CONFIG_DEBUG | y or n | n | Enable assertions in the code tree | This may produces slightly slower code |
CONFIG_MPI | y or n | y | Enable MPI transport (Message Passing Interface) | Portable |
CONFIG_PAMI | y or n | n | Enable PAMI transport (IBM Parallel Active Message Interface) | Only works on IBM Blue Gene/Q and maybe on POWER7 |
CONFIG_ZLIB | y or n | y | Enable support for zlib-compressed files |