-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation with LispWorks 7 #3
Comments
Probably for the GC, we should replace this with use of And I will fix the issue in FIXED |
LispWorks can compile the code and tests (though IIRC, there are some errors later when running tests), but it will ask several times to enlarge the stack space. Thus it might be useful to enhance the stack under LispWorks upfront - then the compilation will work without interruption. |
There are a bunch of dependencies I had to provide for compilation. Not sure if they are documented. Fiveam, pddl stuff, ... The tests get compiled, but there was no plan validator command callable. |
How useful is it nowadays to explicitly call the GC? |
Would you please send me instructions for doing the stack space adjustment? If you do, I will be more than happy to put them in the test scripts, but you or someone else with a LispWorks license would have to test them. Thank you for your many corrections and reports. I have added issues #4 and #5 to track the other issues separately. |
See #6 |
I believe it is still useful, especially when running the full test suite. It's also useful to minimize the amount of GC time when doing timed experiments. |
Many implementations have generational GCs with more complex behavior. One might GC all generations beforehand, but on modern computers with multi GB RAM and fast memory, the difference is only mostly cosmetic I would guess. Generally I stopped looking at the GC performance for most Lisp applications. The most interesting thing I usually take from the GC is the amount of allocation that has been done for some computation -> that might give sometimes hints at inefficient code with lots of consing. |
I'll try that out in the next days. One can instruct LispWorks to automatically extend the stack, adjust the stack upfront to a certain size or even let the stack grow upto some limit. Automatically extending the stack might be useful - but then this might have drawbacks with code which grows the stack indefinitely. Probably better to start with a stack size, which is large enough for compilation and testing. By default on a stack overflow the user can increase the stack manually via an error restart. |
I managed to run shop3 on LispWorks 7.1.1 with the test suite:
One way to avoid the stackoverflows is:
Above will print a short notice about a resize, but then will continue automatically. One can also set it to NIL. Then the stack resize will be silently done. |
So I propose to add this to the command in |
Rainer, will you try pull request #16 ? To use it, you would need to set the environment variable
in that directory. Assuming I didn't mess up the shell script, which I might very well have done. |
Hi I'm not sure if I do the correct thing. When I clone the repository. I have to update the submodules. I do:
Anything else I need to do? Btw., the ASDF is quite old. I don't try to use LispWorks yet (I have a command line version, which starts a threaded version of LispWorks). I do for now:
The resulting error is:
Any idea how to prevent that? Btw.: I see a line like
should it be this
?? |
That should do it.
Did you do
to get the branch with
I'm confused by this -- I don't have an ASDF directory anywhere in my repo, and it's not listed in my
I have been doing
The form I have, with the two final slashes, means that ASDF will search recursively below I think to see what's wrong it would help for you to
If you can let me know about that, I will try to help you get this fixed. Sorry for the issues, thanks for being an early adopter and for sending the many helpful suggestions (I'm testing your fix to |
I mean there is 3.2.1 asdf.lisp in the jenkins directory. It is older than current Lisps will have installed and older than the current version 3.3.3. |
You are right! I overlooked this months ago when I was updating the test scripts, and it was never loaded. I will remove it now. Thank you! |
yes, I used that. But I wanted to get the script going with sbcl, since that is supported. When that works, I'll continue trying to get the script going with LispWorks.
Hope it helps to get other users going. I read the paper about shop3 and the improvements over shop2. Very impressive! |
Seems like I am getting the run-tests.sh script working for sbcl under Ubunto 18.04 Linux.
then going into the jenkins/VAL directory fixing the Makefile with
then running make
then going back to the jenkins directory
Tests are executing right now. |
Great. If you can get lispworks to go, please let me know about the test results. I'd like to release a bugfix 3.0.1, but it would be good to get any fixes required by lispworks in place. |
If you get a chance, please try master with the new |
Hi, I see the master. The code looks like this:
This means that any other implementation which is not in the |
Thank you for bringing that to my attention. I believe it might be a merge error. I will fix it and re-test. |
Just declaring GC to be ignorable (can be ignore, but does not need to) removes the warning. |
I have tried it, but have failed so far to get it to work with the script as such. There are two problems:
I will get it sorted out, but it needs some more time. Thanks for your patience! |
Thank you, Rainer. If I recall correctly, I put the stack enlargement instruction in an There is supposed to be some control over the handling of warnings in ASDF, but I have never figured it out to my satisfaction, and I'm not sure it works on all the lisps. |
For experimenting: In jenkins/build-shop3.lisp
I think it is okay not to fail on build warnings. LispWorks signals some minor warnings and these would make the build to fail. |
I like to keep the build clean because I have worked on projects where warnings were allowed to build up and the warnings that did not matter hid the warnings that did. By all means try withe warnings off, though. But please keep sending me the warnings so that I can inspect them and fix them. |
Build fixed with #46. Closing. Reopen or open a new ticket if you see other problems. |
There are minor issues.
The GC statements in shop3.lisp and explicit-search.lisp won't be executed, since lispworks is missing in #+(or ccl allegro sbcl clisp abcl ecl) . Similar for cmucl.
In minimal-subtree/package.lisp there is a duplicate package nickname .
The text was updated successfully, but these errors were encountered: