etc/settings
author wenzelm
Sat Nov 07 16:54:13 2009 +0100 (2009-11-07)
changeset 33502 cf392b693385
parent 32426 dd25b3055c4e
child 33538 edf497b5b5d2
permissions -rw-r--r--
tuned ML_OPTIONS for SML/NJ -- for improved performance;
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@33502
    54
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256"
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@32305
   147
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
   148
kleing@13920
   149
kleing@13920
   150
###
wenzelm@28651
   151
### Default logic
kleing@13920
   152
###
wenzelm@16186
   153
wenzelm@3184
   154
ISABELLE_LOGIC=HOL
wenzelm@2294
   155
wenzelm@2786
   156
kleing@13920
   157
###
kleing@13920
   158
### Docs
kleing@13920
   159
###
wenzelm@2294
   160
wenzelm@16186
   161
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   162
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   163
wenzelm@16186
   164
# Preferred document format
wenzelm@15703
   165
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   166
wenzelm@16186
   167
# The dvi file viewer
wenzelm@3062
   168
DVI_VIEWER=xdvi
wenzelm@2426
   169
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   170
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   171
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   172
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   173
wenzelm@16186
   174
# The pdf file viewer
wenzelm@23138
   175
if [ $(uname -s) = Darwin ]; then
wenzelm@32426
   176
  PDF_VIEWER="open -W -n"
wenzelm@23138
   177
else
wenzelm@23138
   178
  PDF_VIEWER=xpdf
wenzelm@23138
   179
fi
wenzelm@23138
   180
#PDF_VIEWER=acroread
wenzelm@23138
   181
#PDF_VIEWER=evince
wenzelm@23138
   182
kleing@15218
   183
wenzelm@16186
   184
# Printer spool command for PS files
wenzelm@14933
   185
PRINT_COMMAND=lp
wenzelm@14933
   186
wenzelm@2294
   187
wenzelm@2426
   188
###
wenzelm@28651
   189
### Proof General / Emacs
wenzelm@28651
   190
###
wenzelm@28651
   191
wenzelm@28249
   192
# Proof General home, look in a variety of places
wenzelm@28249
   193
PROOFGENERAL_HOME=$(choosefrom \
wenzelm@28249
   194
  "$ISABELLE_HOME/contrib/ProofGeneral" \
wenzelm@28249
   195
  "$ISABELLE_HOME/../ProofGeneral" \
wenzelm@28249
   196
  "/usr/local/ProofGeneral" \
wenzelm@28249
   197
  "/usr/share/ProofGeneral" \
wenzelm@28249
   198
  "/opt/ProofGeneral" \
wenzelm@28249
   199
  "")
wenzelm@28249
   200
wenzelm@29149
   201
PROOFGENERAL_OPTIONS=""
wenzelm@29149
   202
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
wenzelm@17574
   203
wenzelm@17383
   204
# Automatic setup of remote fonts
wenzelm@9994
   205
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@28249
   206
XSYMBOL_INSTALLFONTS=""
wenzelm@7185
   207
wenzelm@28651
   208
wenzelm@28651
   209
###
wenzelm@7185
   210
### External reasoning tools
wenzelm@7185
   211
###
wenzelm@7185
   212
wenzelm@7194
   213
## Set HOME only for tools you have installed!
wenzelm@7185
   214
wenzelm@26212
   215
# External provers
wenzelm@28995
   216
E_HOME=$(choosefrom \
wenzelm@28995
   217
  "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" \
wenzelm@28995
   218
  "$ISABELLE_HOME/../E/$ML_PLATFORM" \
wenzelm@31423
   219
  "/usr/local/E/$ML_PLATFORM" \
wenzelm@28995
   220
  "")
wenzelm@28995
   221
VAMPIRE_HOME=$(choosefrom \
wenzelm@28995
   222
  "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" \
wenzelm@28995
   223
  "$ISABELLE_HOME/../vampire/$ML_PLATFORM" \
wenzelm@31423
   224
  "/usr/local/vampire/$ML_PLATFORM" \
wenzelm@28995
   225
  "")
wenzelm@28995
   226
SPASS_HOME=$(choosefrom \
wenzelm@28995
   227
  "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" \
wenzelm@28995
   228
  "$ISABELLE_HOME/../spass/$ML_PLATFORM/bin" \
wenzelm@31423
   229
  "/usr/local/spass/$ML_PLATFORM" \
wenzelm@28995
   230
  "")
wenzelm@26212
   231
wenzelm@17001
   232
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
wenzelm@26212
   233
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   234
wenzelm@7185
   235
# SVC (Stanford Validity Checker)
wenzelm@7185
   236
#SVC_HOME=
wenzelm@7185
   237
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   238
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   239
wenzelm@7296
   240
# Mucke (mu-calculus model checker)
wenzelm@7296
   241
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   242
wenzelm@7296
   243
# Einhoven model checker
wenzelm@7296
   244
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   245
webertj@20033
   246
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@20033
   247
#MINISAT_HOME=/usr/local/bin
webertj@20033
   248
webertj@17522
   249
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@15284
   250
#ZCHAFF_HOME=/usr/local/bin
webertj@14942
   251
webertj@17522
   252
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14942
   253
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   254
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   255
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   256
webertj@17522
   257
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14943
   258
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   259
wenzelm@32332
   260
# CSDP (SDP Solver, cf. Isabelle/src/HOL/Library/Sum_of_Squares/sos_wrapper.ML)
wenzelm@32332
   261
#CSDP_EXE=csdp
wenzelm@32332
   262
obua@16873
   263
# For configuring HOL/Matrix/cplex
obua@16966
   264
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   265
# First option: use the commercial cplex solver
wenzelm@16968
   266
#LP_SOLVER=CPLEX
wenzelm@16968
   267
#CPLEX_PATH=cplex
obua@16873
   268
# Second option: use the open source glpk solver
wenzelm@16968
   269
#LP_SOLVER=GLPK
wenzelm@16968
   270
#GLPK_PATH=glpsol