From GridLAB-D Wiki
Jump to: navigation, search

module_compiler_flags - Control module compiler features

Synopsis

#set module_compiler_flags=VERBOSE|DEBUG|KEEPWORK|CLEAN

Description

The module compiler has optional features that can be enabled or disabled using the module_compiler_flags global variable.

VERBOSE

The VERBOSE option enables output of all system calls made by the module compiler. This is helpful for debugging the usage of environment variables such as CCFLAGS, DBFLAGS, and LDFLAGS.

DEBUG

The DEBUG option enables the production of a debugging version of the dynamic link library for use with gbd.

KEEPWORK

The KEEPWORK option disables the automatic deletion of intermediate files creating during the compilation process. This can help with debugging and troubleshooting compiler and linker problems.

CLEAN

The CLEAN option disables the automatic suppression of compiles for modules that are already up to date with respect to the source GLM file.

Version

Module compiler options were introduced in Hassayampa (Version 3.0)

See also