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