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