[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CSE471 Project 3 Questions [parse-error, memory requirement, problem name]



At 12:49 AM 11/14/2001 -0700, you wrote:
>While working on project 3, I have encountered the following questions and 
>problems.  I would appreciate your comments on these issues.
>
>1)  When I try to compile f01-proj3-problems.lisp, the compilation fails 
>with a PARSE-ERROR.  I have attached a dribble file showing this error. Am 
>I doing something wrong, or is there a problem with the code?

You don't have to compile the problems.lisp file. Just compile the 
code.lisp file.

>2)  When I run compute-pg or my regression planner for many of the 
>problems, I receive a STORAGE-CONDITION error indicating that I have 
>exceeded the heap limit of the CL trial edition.  I have attached a 
>dribble file showing this problem.  Am I doing something incorrectly or is 
>the trial edition not suitable for this project?  Are there any options 
>that might instruct the compiler to optimize for size?

That is the problem with trial edition (they put a heap limit so you can't 
run everything with trial edition).

You should use the student edition that I was giving out..

>3)  I cannot find problem "att-loga" referenced in f01-proj3.txt. Should 
>this be problem "att-log-a"?

yes, it is att-log-a



>I am using "International Allegro CL Trial Edition 6.1" from the Franz web 
>site.
>
>Thank you,
>    Peter Neubauer
>
>
>dribbling to file "problem.txt"
>
>NIL
>CL-USER(2): (in-package user)
>#<The COMMON-LISP-USER package>
>CL-USER(3): (compile-file "f01-proj3-problems.lisp")
>;;; Compiling file f01-proj3-problems.lisp
>; While compiling (:TOP-LEVEL-FORM "f01-proj3-problems.lisp" 1):
>Warning: Free reference to undeclared variable PRODIGY-BW assumed
>          special.
>Warning: Free reference to undeclared variable PICK-UP assumed special.
>Error: Function position must contain a symbol or lambda expression:
>        (OBJECT ?OB1)
>Problem detected when processing
>        ((OBJECT ?OB1))
>inside (:OPERATOR PICK-UP :PARAMETERS ...)
>inside (DEFINE (DOMAIN PRODIGY-BW) (:REQUIREMENTS :STRIPS :TYPING) ...)
>inside (PROGN NIL
>               (DEFINE (DOMAIN PRODIGY-BW) ..))
>   [condition type: PARSE-ERROR]
>
>Restart actions (select using :continue):
>  0: retry the compilation of f01-proj3-problems.lisp
>  1: continue compiling f01-proj3-problems.lisp but generate no output
>     file
>  2: Return to Top Level (an "abort" restart).
>  3: Abort entirely from this process.
>[1] CL-USER(4): :res
>CL-USER(5): (load "f01-proj3-code")
>; Fast loading /home/peterjn/Documents/CSE471/f01-proj3-code.fasl
>Warning: UBNODE is defined more than once as a type in the file
>          f01-proj3-code.lisp.
>Warning: UBNODE-EOB is defined more than once as a operator in the file
>          f01-proj3-code.lisp.
>Warning: UBNODE-GOALS is defined more than once as a operator in the
>          file f01-proj3-code.lisp.
>Warning: UBNODE-NAME is defined more than once as a operator in the
>          file f01-proj3-code.lisp.
>Warning: UBNODE-EOB is defined more than once as a setf-method in the
>          file f01-proj3-code.lisp.
>Warning: UBNODE-GOALS is defined more than once as a setf-method in the
>          file f01-proj3-code.lisp.
>Warning: UBNODE-NAME is defined more than once as a setf-method in the
>          file f01-proj3-code.lisp.
>Warning: MAKE-UBNODE is defined more than once as a operator in the
>          file f01-proj3-code.lisp.
>Warning: COPY-UBNODE is defined more than once as a operator in the
>          file f01-proj3-code.lisp.
>Warning: UBNODE-P is defined more than once as a operator in the file
>          f01-proj3-code.lisp.
>T
>CL-USER(6): (load "f01-proj3-problems")
>; Loading /home/peterjn/Documents/CSE471/f01-proj3-problems.lisp
>T
>CL-USER(7): (compute-pg 'huge-fct)
>
>  Read in the problem and domain ...
>Levels: 1[A:27 P:27 M:97 2[A:42 P:42 M:740 3[A:60 P:60 M:2156 4[A:84 P:84 
>M:5231 5[A:115 P:115 M:11420 6[A:159 P:159 M:24234 7[A:201 P:201 M:43469 
>8[A:225 P:225 M:54184 9[A:242 P:242 M:55684 10
>Error: An explicit gc call caused tenuring and a need for 3932160 more
>        bytes of heap. This request cannot be satisfied because you have
>        hit the Allegro CL Trial heap limit.  If you wish to purchase
>        Allegro CL please contact Franz Inc. at sales@franz.com or by
>        calling (510) 548-3600.
>   [condition type: STORAGE-CONDITION]
>
>Restart actions (select using :continue):
>  0: Return to Top Level (an "abort" restart).
>  1: Abort entirely from this process.
>[1] CL-USER(8): (dribble)