Before executing SCIRun, be aware of the Dynamic Compilation feature.
Dynamic compilation is a technique used by SCIRun to discover and generate code for data types and algorithms used by modules in networks. This is done at runtime and once for each new data type and algorithm encountered. This technique provides a number of benefits not discussed here (see the publication Dynamic Compilation of C++ Template Code for details).
By default, code generated by dynamic compilation is stored in directory on-the-fly-libs in the user's home directory. The location of dynamically generated code can be changed by setting the value of the environment variable SCIRUN_ON_THE_FLY_LIBS_DIR to the desired directory.
For example:
for Bourne-like shells (sh, ksh, bash, etc,)
SCIRUN_ON_THE_FLY_LIBS_DIR=~/SCIRun/on-the-fly-libs export SCIRUN_ON_THE_FLY_LIBS_DIR
for csh-like shells
setenv SCIRUN_ON_THE_FLY_LIBS_DIR ~/SCIRun/on-the-fly-libs
SCIRUN_ON_THE_FLY_LIBS_DIR can be set in the user's .scirunrc file.
SCIRUN_ON_THE_FLY_LIBS_DIR=/home/me/on-the-fly-libs
Setting a unique value of SCIRUN_ON_THE_FLY_LIBS_DIR for each SCIRun user has the following benefits:
Dynamic compilation causes a delay the first time a module is executed. The module changes color while it is being compiled.
Ted Dustman 2005-06-22