Debian Codegraph @

tests/prep/mkbergmanvanl

raw
1 #!/bin/csh
2 setenv GROEB /usr/local/matte/bergman
3 mv $GROEB/logs/mklog $GROEB/logs/mklog~
4 $psys/psl > $GROEB/logs/mklog <<EOF
5
6 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7 %% Copyright (C) 1992,1994 Joergen Backelin
8 %%
9 %% Bergman is distributed in the hope that it will be useful,
10 %% but WITHOUT ANY WARRANTY. No author or distributor
11 %% accepts responsibility to anyone for the consequences of using it
12 %% or for whether it serves any particular purpose or works at all,
13 %% unless he says so in writing. Refer to the Bergman General Public
14 %% License for full details.
15
16 %% Everyone is granted permission to copy, modify and redistribute
17 %% bergman, but only under the conditions described in the
18 %% Bergman General Public License. A copy of this license is
19 %% supposed to have been given to you along with bergman so you
20 %% can know your rights and responsibilities. It should be in a
21 %% file named copyright. Among other things, the copyright notice
22 %% and this notice must be preserved on all copies.
23 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
24
25
26 (SETQ TOPLOOPNAME!* "")
27 % CHANGES:
28
29 (OFF RAISE)
30 (GLOBAL '(SPairs cSPairs GBasis cGBasis InPols cInPols MAXDEG
31 BigNumbFile InumModLimit LogModLimit EMBDIM MAOaux
32 HISTORYLIST!*))
33
34 % Here is a (hopefully complete) list of file names and file name suffixes
35 % used by bergman automatic file reading commands. PSL suffixes are not
36 % added.
37 % Some names are identifiers in capitals; these are translated to lower
38 % case letters by the PSL procedure LOAD.
39
40 (SETQ BigNumbFile 'NBIG30)
41
42 (SETQ InumModLimit (SUB1 (EXPT 2 15)))
43 (SETQ InumLogModLimit (SUB1 (EXPT 2 30)))
44 (SETQ LogModLimit (EXPT 2 20))
45
46 (OFF USERMODE) (OFF REDEFMSG)
47
48 (COND ((NOT (MEMBER (MKBMPATHEXPAND "$GROEB/") LOADDIRECTORIES!*))
49 (SETQ LOADDIRECTORIES!* (CONS (MKBMPATHEXPAND "$GROEB/") LOADDIRECTORIES!*))))
50 (COND ((NOT (MEMBER (MKBMPATHEXPAND "$GROEB/bin/") LOADDIRECTORIES!*))
51 (SETQ LOADDIRECTORIES!* (CONS (MKBMPATHEXPAND "$GROEB/bin/") LOADDIRECTORIES!*))))
52
53 (LOAD "slextens" "full" "auxil")
54
55 % (DSKIN (MKBMPATHEXPAND "$GROEB/src/debug.sl")))
56
57 (OFF RAISE)
58 (OFF GC)
59
60
61 % Some flags and modes, default settings/initiations.
62
63 (ON SAVERECVALUES)
64
65 (COMMIFY)
66
67 (LAPIN "topproc.sl")
68
69 (ON IMMEDIATEFULLREDUCTION)
70 (ON RAISE)
71 (ON USERMODE) (ON REDEFMSG)
72
73
74 % For possible future use:
75
76 (COND ((FILEP "patches.sl") (LAPIN "patches.sl")))
77
78
79 % For local modifications:
80
81 (COND ((FILEP "local.sl") (LAPIN "local.sl")))
82
83
84 (SAVESYSTEM "Bergman 0.9"
85 (MKBMPATHEXPAND "$GROEB/bergman")
86 '((SETQ TOPLOOPNAME!* "bergman")
87 (READ-INIT-FILE "bergman.ini")))
88
89 EOF