Child pages
  • Initialization file
Skip to end of metadata
Go to start of metadata

 

 

Default name of the G-EMMA initialization file is gemma.ini, located in the program's working directory. Alternative filenames or file locations may be entered as the first argument when running the executable.

The G-EMMA initialization file may contain the option keywords listed below. If an option is missing from the file, the default value is used. Keywords and their value must be separated by a <tab>. Comments must be marked with an ! as the first character of a line. In the table below, bold marks the minimum necessary part of a keyword or value to be recognized. Keywords and values are case-insensitive.

Option

Description

Default value

fnendmembers

Filename of end-members file

gemma_endmembers.txt

fnstream

Filename of stream samples file

gemma_stream.txt

fnoutput

Filename of (binary) output file

gemma_output.bin

fniterations

Filename of (optional) temporary iterations file

gemma_temp.iter

usetempfile

Use temporary iterations file (True / False)

True

useexistingtemp

If available, use existing temporary iterations file (from previous calculation) (T/F)

False

niterations

Number of iterations (enforced to be a multiple of 1e5)

1e5

nthreads

Number of threads / cpus to use for the calculation

System maximum

nendmembers

Number of end-members

 

randomendmembers

Choose random set of end-members from full set

False

minendmembers

Minimum number of end-members in a random set

nendmembers

nsolutes

Number of solutes used as tracer

 

solutes

Solutes to use as tracer, input as tab-separated list

 

randomsolutes

Choose random set of solutes as tracers from full set

False

minsolutes

Minimum number of solutes in a random set

nsolutes

withintrapezoid

Enforce all solutes within their respective fuzzy trapezoid (T/F). The alternative is to allow negative fuzzy membership for solutes, which can average out over all solutes (not recommended)

True

normfact1

Fuzzy trapezoid per solute is 1 if residual is within range normfact1*(-anal. std. - anal. std.)

1.

normfact2

Fuzzy trapezoid per solute is >0  if residual is within range normfact2*(-anal. std. - anal. std.)

3.

wbalfactor

Factor to influence the relative importance of closing the water balance. Only applicable when LLS approximation is used.

1.

wbalnorm

Fuzzy triangle of water balance is > 0 if residual is within (-wbalnorm - wbalnorm). Only applicable when LLS approximation is used.

0.05

usellsapproximation

Obtain end-member fractions by least squares approximation instead of sampling (T/F)

False

stopmaxbehave

Stop iterating when the maximum amount of saved behavioural results is reached. The total number of behavioural runs is determined by extrapolating the behavioural / total tries ratio (T/F)

False

maxbehave

Maximum amount of behavioural runs to save to output file

niterations

diagnostics

Operate in diagnostics mode: also output non-behavioural runs to output file (T/F)

False

maxdiagnostics

Maximum amount of runs to save to output file in diagnostics mode

niterations


Example of a G-EMMA initialization file :

! G-EMMA ini file
!
nendmembers	5
nsolutes	8
solutes	B	Br	Cl	Mg	Li	Na	SO4	Sr
useLLSapprox	f
withintrapezoid	t
stopmaxbehave	f
minendmembers	3
minsolutes	5
niterations	1e6
normfact1	1.
normfact2	3.
maxbehavioural	1000
maxdiagnostics	1000
nthreads	1
diagnostics	f
randomendmembers	t
randomsolutes	t
usetempfile	t
useexisting	t
  • No labels