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:

SOFISTIK_PRODIR#

Variable:

SOFISTIK_PRODIR

Parameter:

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

Saves all project files without explicit pathname.

SOFISTIK_TMPDIR#

Variable:

SOFISTIK_TMPDIR

Parameter:

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

Default value:

Defaults to SOFISTIK_PRODIR

PSJOBPAR#

Variable:

PSJOBPAR

Parameter:

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

PSJOBINFO#

Variable:

PSJOBINFO

Parameter:

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

CDBASEMEM#

Variable:

CDBASEMEM

Parameter:

Size of Memory for CDBASE in Megabyte (MB) or Gigabyte (GB). It is required to use ‘’MB’’ or ‘’GB’’ as suffix for the unit definition. E.g. CDBASEMEM=3000 MB or CDBASEMEM=3 GB

Default value:

1 MB

CDACCESS#

Variable:

CDACCESS

Parameter:

CDBASE multitasking feature

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

CDBASETEMP#

Variable:

CDBASETEMP

Parameter:

Directory name for temporary scratch files

Using %TEMP% or TMP if not defined.

CDBASEVER#

Variable:

CDBASEVER

Parameter:

Version of CDBASE format

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

SOF_NUM_THREADS#

Variable:

SOF_NUM_THREADS

Parameter:

Default number of threads to be used:

NUMBER_OF_PROCESSORS or
OMP_NUM_THREADS