DEF - Environment Variables

Some parameters of the SOFiSTiK programs can be influenced by means of environment variables. The supported set of environment variables is listed at the end of this section. Primarily, environment variables can be used to affect:

  • Settings for layout (paper size, output language etc.)

  • Parameters for the database CDBASE (buffer, multitasking etc.)

  • Standard input records

The environment variables may be set using classical commands of the respective operating system, e.g.:

  • Windows Desktop / Windows Explorer My Computer Properties Extended

  • Windows CMD SET parameter=<value>

It is recommended, however, to gather these parameters in one configuration file named SOFISTIK.DEF, which can also be provided project-specific. In this file all variables for SOFiSTiK Environment as well as any definitions of input blocks can be stored:

e.g.

SOFISTIK_C=49
GRAFSIZE=SIZE -HP 0
HEAD1=New HQ of Xyz-Insurance-Company
CDBASEVER=503

The definition of the input file has priority. Then comes the definition in the environment of the operating system, and at last a definition in SOFISTIK.DEF. If for different projects different properties are requested, it is recommended to save the SOFiSTiK.DEF file in the project directory. This should be done when editing with:

  1. teddy_small TEDDY or via sofistik_small SSD

  2. FILE Ribbon

  3. project_options_large ‘’Project Options’’

  4. Then select Edit File sofistik.def.

The following table contains the currently used values:

Variable

Parameter (separated by comma)

possible values

HEAD1
HEAD2
HEAD3
First header line
Second header line
Third header line

SOFISTIK_PRODIR

Alternate directory for the database project files. Can be used only in TEDDY workflow!

Saves all project files without explicit pathname

SOFISTIK_TMPDIR

Alternate directory for all temporary project files. Can be used only in TEDDY workflow!

Defaults to SOFISTIK_PRODIR

PSJOBPAR

Default Values for WPS/SPS
(execute_wps_small ‘’Calculate’’)

PSJOBINFO

Time & File stamping for WPS/SPS
(execute_wps_small ‘’Calculate’’)

CDBASEMEM

Size of Memory for CDBASE in Bytes or MBytes
It is recommended to use ‘’MB’’ unit for CDBASEMEM, e.g. CDBASEMEM=3072 MB

default: 1 MB

CDACCESS

CDBASE multitasking feature

SINGLE = deactivate
NOWAIT = do NOT wait if locked (useful for remote analysis)

CDBASETEMP

Directory name for temporary scratch files

Using %TEMP% or TMP if not defined

CDBASEVER

Version of CDBASE format

CDBASEVER=501 maximum 256 GB (Default)
CDBASEVER=503 maximum 1024 GB

SOF_NUM_THREADS

Default number of threads to be used

NUMBER_OF_PROCESSORS or OMP_NUM_THREADS