-
Notifications
You must be signed in to change notification settings - Fork 0
/
scr.conf.template
82 lines (69 loc) · 2.49 KB
/
scr.conf.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
###################
# SCR Configuration File
###################
# A number of parameters must be specified in this file, such as
# the directory paths that SCR should use for the control and
# cache directories. In addition, other parameters must be
# specified here to enable certain features. For example,
# to enable database logging, one must list the username
# and password needed to connect to the database.
# Finally, other parameters can be set here as a convenience
# to override compile-time defaults. This last set of
# parameters basically consists of the environment variables
# that can be set to adjust the behavior of the SCR library.
#
# SCR searches in the following order to determine a parameter
# value:
# environment variables
# configuration file settings
# compile-time defaults
###################
# SCR Control Directory
###################
# The SCR control directory holds small files that track the
# state of the job. Control directories can be small, and this
# directory must be local to the node. Typically, RAM disk
# works best.
# List possible SCR control directories with expected size
# in bytes in the following form:
# CNTLDIR=<directory_prefix> BYTES=<required_size_in_bytes>
# e.g.,
# CNTLDIR=/dev/shm BYTES=1GB
CNTLDIR=/dev/shm BYTES=1GB
# Select the default SCR control directory. Specify the
# <directory_prefix> that matches one of the control
# directories in the above list.
SCR_CNTL_BASE=/dev/shm
###################
# SCR Cache Directory
###################
# The SCR cache directories store the cached checkpoint files.
# There should be a directory per node, and the directories
# must be one to three times the amount of memory per node.
# Large RAM disks, hard drives, and solid state drives are
# typically used.
# List possible SCR cache directories with expected size
# in bytes, in the following form:
# CACHEDIR=<directory_prefix> BYTES=<required_size_in_bytes>
# e.g.,
# CACHEDIR=/dev/shm BYTES=16GB
CACHEDIR=/dev/shm BYTES=12GB
CACHEDIR=/ssd BYTES=270GB
# Select the default SCR cache directory. Specify the
# <directory_prefix> that matches one of the cache
# directories in the above list.
SCR_CACHE_BASE=/dev/shm
###################
# SCR Logging DB
###################
# set this to 1 to enable database logging
SCR_DB_ENABLE=0
# parameters needed to connect to database
SCR_DB_HOST=host45
SCR_DB_USER=scr_insert
SCR_DB_PASS=12345
SCR_DB_NAME=scr
###################
# SCR Store Descriptors
###################
STORE=/dev/shm GROUP=NODE COUNT=2