etc/settings
author wenzelm
Thu Jul 30 23:23:52 2009 +0200 (2009-07-30)
changeset 32292 ceb7190d7a52
parent 32061 11f8ee55662d
child 32305 c5523ded51d9
permissions -rw-r--r--
ISABELLE_USEDIR_OPTIONS: -q 2 by default;
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
#
wenzelm@2309
     3
# Isabelle settings -- site defaults.
wenzelm@16875
     4
#
wenzelm@16875
     5
# Important notes:
wenzelm@16875
     6
#   * See the system manual for explanations on Isabelle settings
wenzelm@16875
     7
#   * DO NOT EDIT the repository copy of this file!
wenzelm@16875
     8
#   * DO NOT COPY this file into your personal isabelle directory!
wenzelm@2309
     9
wenzelm@2426
    10
###
wenzelm@3177
    11
### ML compiler settings (ESSENTIAL!)
wenzelm@2426
    12
###
wenzelm@2426
    13
wenzelm@16968
    14
# ML_HOME specifies the location of the actual compiler binaries.  Do
wenzelm@16968
    15
# not invent new ML system names unless you know what you are doing.
wenzelm@16968
    16
# Only one of the sections below should be activated.
kleing@14447
    17
wenzelm@31308
    18
# Poly/ML 5.x (automated settings)
wenzelm@16968
    19
POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
wenzelm@16968
    20
ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
wenzelm@16968
    21
ML_HOME=$(choosefrom \
wenzelm@16968
    22
  "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
wenzelm@16968
    23
  "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
wenzelm@17119
    24
  "/usr/local/polyml/$ML_PLATFORM" \
wenzelm@16968
    25
  "/usr/share/polyml/$ML_PLATFORM" \
wenzelm@16968
    26
  "/opt/polyml/$ML_PLATFORM" \
wenzelm@16968
    27
  $POLY_HOME)
wenzelm@16968
    28
ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
wenzelm@25500
    29
ML_OPTIONS="-H 200"
wenzelm@31436
    30
ML_SOURCES="$ML_HOME/../src"
wenzelm@8345
    31
wenzelm@31309
    32
# Poly/ML 5.2.1
wenzelm@25347
    33
#ML_PLATFORM=x86-linux
wenzelm@25347
    34
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@31309
    35
#ML_SYSTEM=polyml-5.2.1
wenzelm@25347
    36
#ML_OPTIONS="-H 500"
wenzelm@25347
    37
wenzelm@31309
    38
# Poly/ML 5.2.1 (64 bit)
wenzelm@20764
    39
#ML_PLATFORM=x86_64-linux
wenzelm@20764
    40
#ML_HOME=/usr/local/polyml/x86_64-linux
wenzelm@31309
    41
#ML_SYSTEM=polyml-5.2.1
wenzelm@24479
    42
#ML_OPTIONS="-H 1000"
wenzelm@24479
    43
wenzelm@31444
    44
# Poly/ML 5.3 (experimental)
wenzelm@31444
    45
#ML_PLATFORM=x86-linux
wenzelm@31444
    46
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@31444
    47
#ML_SYSTEM=polyml-experimental
wenzelm@31444
    48
#ML_OPTIONS="-H 500"
wenzelm@31444
    49
#ML_SOURCES="$ML_HOME/../src"
wenzelm@31444
    50
wenzelm@25347
    51
# Standard ML of New Jersey (slow!)
wenzelm@8345
    52
#ML_SYSTEM=smlnj-110
wenzelm@25347
    53
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@8345
    54
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    55
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@25347
    56
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@5708
    57
wenzelm@25347
    58
# Moscow ML 2.00 (experimental!)
wenzelm@9252
    59
#ML_SYSTEM=mosml
wenzelm@25347
    60
#ML_HOME="/usr/local/mosml/bin"
wenzelm@25347
    61
#ML_OPTIONS=""
wenzelm@25347
    62
#ML_PLATFORM=""
wenzelm@25347
    63
wenzelm@2294
    64
wenzelm@2426
    65
###
wenzelm@27906
    66
### JVM components (Scala or Java)
wenzelm@27906
    67
###
wenzelm@27906
    68
wenzelm@31918
    69
ISABELLE_JAVA="java"
wenzelm@27912
    70
ISABELLE_SCALA="scala"
wenzelm@27912
    71
wenzelm@31918
    72
[ -z "$SCALA_HOME" ] && SCALA_HOME=$(choosefrom \
wenzelm@31923
    73
  "$ISABELLE_HOME/contrib/scala" \
wenzelm@31923
    74
  "$ISABELLE_HOME/../scala" \
wenzelm@31918
    75
  "")
wenzelm@31923
    76
wenzelm@31918
    77
[ -n "$SCALA_HOME" ] && ISABELLE_SCALA="$SCALA_HOME/bin/scala"
wenzelm@27921
    78
wenzelm@27906
    79
classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
wenzelm@27906
    80
wenzelm@27906
    81
wenzelm@27906
    82
###
wenzelm@28504
    83
### Interactive sessions (cf. isabelle tty)
wenzelm@25627
    84
###
wenzelm@25627
    85
wenzelm@25627
    86
ISABELLE_LINE_EDITOR=""
wenzelm@26205
    87
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    88
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    89
wenzelm@25627
    90
wenzelm@25627
    91
###
wenzelm@28504
    92
### Batch sessions (cf. isabelle usedir)
wenzelm@2435
    93
###
wenzelm@2435
    94
wenzelm@32292
    95
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
wenzelm@11569
    96
wenzelm@16186
    97
# Specifically for the HOL image
wenzelm@24439
    98
HOL_USEDIR_OPTIONS=""
wenzelm@32061
    99
#HOL_USEDIR_OPTIONS="-p 2 -q 1"
kleing@14044
   100
wenzelm@23837
   101
#Source file identification (default: full name + date stamp)
wenzelm@23837
   102
ISABELLE_FILE_IDENT=""
wenzelm@23837
   103
#ISABELLE_FILE_IDENT="md5"
wenzelm@23837
   104
#ISABELLE_FILE_IDENT="md5sum"
wenzelm@23837
   105
#ISABELLE_FILE_IDENT="sha1sum"
wenzelm@23837
   106
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
wenzelm@23837
   107
wenzelm@2435
   108
wenzelm@2435
   109
###
wenzelm@28504
   110
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
   111
###
wenzelm@7773
   112
wenzelm@7773
   113
ISABELLE_LATEX="latex"
wenzelm@7773
   114
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
   115
ISABELLE_BIBTEX="bibtex"
kleing@14344
   116
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
   117
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
   118
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
   119
kleing@13920
   120
# Paranoia setting for strange latex installations ...
wenzelm@11062
   121
#unset TEXMF
wenzelm@11062
   122
wenzelm@7773
   123
wenzelm@7773
   124
###
wenzelm@2968
   125
### Misc path settings
wenzelm@2426
   126
###
wenzelm@2294
   127
wenzelm@2426
   128
# The place for user configuration, heap files, etc.
wenzelm@28914
   129
ISABELLE_HOME_USER=~/.isabelle
wenzelm@2294
   130
wenzelm@3177
   131
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   132
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   133
wenzelm@4334
   134
# Location for temporary files (should be on a local file system).
wenzelm@9787
   135
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   136
wenzelm@9787
   137
# Heap input locations. ML system identifier is included in lookup.
wenzelm@21489
   138
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
wenzelm@2780
   139
wenzelm@9787
   140
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@26212
   141
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
wenzelm@26212
   142
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   143
wenzelm@16186
   144
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   145
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   146
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   147
kleing@13920
   148
kleing@13920
   149
###
wenzelm@28651
   150
### Default logic
kleing@13920
   151
###
wenzelm@16186
   152
wenzelm@3184
   153
ISABELLE_LOGIC=HOL
wenzelm@2294
   154
wenzelm@2786
   155
kleing@13920
   156
###
kleing@13920
   157
### Docs
kleing@13920
   158
###
wenzelm@2294
   159
wenzelm@16186
   160
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   161
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   162
wenzelm@16186
   163
# Preferred document format
wenzelm@15703
   164
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   165
wenzelm@16186
   166
# The dvi file viewer
wenzelm@3062
   167
DVI_VIEWER=xdvi
wenzelm@2426
   168
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   169
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   170
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   171
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   172
wenzelm@16186
   173
# The pdf file viewer
wenzelm@23138
   174
if [ $(uname -s) = Darwin ]; then
wenzelm@23138
   175
  PDF_VIEWER=open
wenzelm@23138
   176
else
wenzelm@23138
   177
  PDF_VIEWER=xpdf
wenzelm@23138
   178
fi
wenzelm@23138
   179
#PDF_VIEWER=acroread
wenzelm@23138
   180
#PDF_VIEWER=evince
wenzelm@23138
   181
kleing@15218
   182
wenzelm@16186
   183
# Printer spool command for PS files
wenzelm@14933
   184
PRINT_COMMAND=lp
wenzelm@14933
   185
wenzelm@2294
   186
wenzelm@2426
   187
###
wenzelm@28651
   188
### Proof General / Emacs
wenzelm@28651
   189
###
wenzelm@28651
   190
wenzelm@28249
   191
# Proof General home, look in a variety of places
wenzelm@28249
   192
PROOFGENERAL_HOME=$(choosefrom \
wenzelm@28249
   193
  "$ISABELLE_HOME/contrib/ProofGeneral" \
wenzelm@28249
   194
  "$ISABELLE_HOME/../ProofGeneral" \
wenzelm@28249
   195
  "/usr/local/ProofGeneral" \
wenzelm@28249
   196
  "/usr/share/ProofGeneral" \
wenzelm@28249
   197
  "/opt/ProofGeneral" \
wenzelm@28249
   198
  "")
wenzelm@28249
   199
wenzelm@29149
   200
PROOFGENERAL_OPTIONS=""
wenzelm@29149
   201
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
wenzelm@17574
   202
wenzelm@17383
   203
# Automatic setup of remote fonts
wenzelm@9994
   204
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@28249
   205
XSYMBOL_INSTALLFONTS=""
wenzelm@7185
   206
wenzelm@28651
   207
wenzelm@28651
   208
###
wenzelm@28651
   209
### jEdit
wenzelm@28651
   210
###
wenzelm@28651
   211
wenzelm@28651
   212
JEDIT_HOME=$(choosefrom \
wenzelm@28651
   213
  "$ISABELLE_HOME/contrib/jedit" \
wenzelm@28651
   214
  "$ISABELLE_HOME/../jedit" \
wenzelm@28651
   215
  "/usr/local/jedit" \
wenzelm@28651
   216
  "/usr/share/jedit" \
wenzelm@28651
   217
  "/opt/jedit" \
wenzelm@28651
   218
  "")
wenzelm@28651
   219
wenzelm@28659
   220
JEDIT_JAVA_OPTIONS=""
wenzelm@28659
   221
#JEDIT_JAVA_OPTIONS="-server -Xms128m -Xmx512m"
wenzelm@28658
   222
JEDIT_OPTIONS="-reuseview -noserver -nobackground"
wenzelm@28651
   223
wenzelm@28651
   224
wenzelm@7185
   225
###
wenzelm@7185
   226
### External reasoning tools
wenzelm@7185
   227
###
wenzelm@7185
   228
wenzelm@7194
   229
## Set HOME only for tools you have installed!
wenzelm@7185
   230
wenzelm@26212
   231
# External provers
wenzelm@28995
   232
E_HOME=$(choosefrom \
wenzelm@28995
   233
  "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" \
wenzelm@28995
   234
  "$ISABELLE_HOME/../E/$ML_PLATFORM" \
wenzelm@31423
   235
  "/usr/local/E/$ML_PLATFORM" \
wenzelm@28995
   236
  "")
wenzelm@28995
   237
VAMPIRE_HOME=$(choosefrom \
wenzelm@28995
   238
  "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" \
wenzelm@28995
   239
  "$ISABELLE_HOME/../vampire/$ML_PLATFORM" \
wenzelm@31423
   240
  "/usr/local/vampire/$ML_PLATFORM" \
wenzelm@28995
   241
  "")
wenzelm@28995
   242
SPASS_HOME=$(choosefrom \
wenzelm@28995
   243
  "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" \
wenzelm@28995
   244
  "$ISABELLE_HOME/../spass/$ML_PLATFORM/bin" \
wenzelm@31423
   245
  "/usr/local/spass/$ML_PLATFORM" \
wenzelm@28995
   246
  "")
wenzelm@26212
   247
wenzelm@17001
   248
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
wenzelm@26212
   249
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   250
wenzelm@7185
   251
# SVC (Stanford Validity Checker)
wenzelm@7185
   252
#SVC_HOME=
wenzelm@7185
   253
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   254
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   255
wenzelm@7296
   256
# Mucke (mu-calculus model checker)
wenzelm@7296
   257
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   258
wenzelm@7296
   259
# Einhoven model checker
wenzelm@7296
   260
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   261
webertj@20033
   262
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@20033
   263
#MINISAT_HOME=/usr/local/bin
webertj@20033
   264
webertj@17522
   265
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@15284
   266
#ZCHAFF_HOME=/usr/local/bin
webertj@14942
   267
webertj@17522
   268
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14942
   269
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   270
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   271
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   272
webertj@17522
   273
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14943
   274
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   275
obua@16873
   276
# For configuring HOL/Matrix/cplex
obua@16966
   277
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   278
# First option: use the commercial cplex solver
wenzelm@16968
   279
#LP_SOLVER=CPLEX
wenzelm@16968
   280
#CPLEX_PATH=cplex
obua@16873
   281
# Second option: use the open source glpk solver
wenzelm@16968
   282
#LP_SOLVER=GLPK
wenzelm@16968
   283
#GLPK_PATH=glpsol