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