freenode/clasp - IRC Chatlog
Search
15:10:17
drmeister
So I turn off everything and then start slime - it segfaults when I leave sldb - argh.
15:31:54
Bike
tracing jit-finalize-repl-function and compiling inline has some confusing output. it seems to finalize functions named initialize-instance and some functions related to cleavir ir thousands of times.
15:32:34
Bike
when is jit-finalize-repl-function supposed to be called, exactly? whenever a function is compiled for the image?
17:33:09
drmeister
My problem with slime was not a problem. I was running an old version of bclasp (sigh).
17:35:18
drmeister
My fingers bang out "~/Development/clasp/build/boehm/iclasp-boehm" faster than my brain can process.
20:20:41
Bike
i'm running with echo repl read and it seems to be proceeding, just very slowly. which doesn't make any more sense, really.
20:40:33
drmeister
https://github.com/openforcefield/smirnoff/blob/master/The-SMIRNOFF-force-field-format.md
20:40:51
drmeister
They are basically eliminating atom types (which I like) using things like this...
20:42:16
drmeister
The smirks code has :1 and :2 which tag the atoms that are recognized by the smarts code and then the force field parameter is assigned if there is a match.
20:43:12
drmeister
I will implement an esrap SMIRKS parser and then with that we can implement this with a couple of lines of code.
20:43:40
drmeister
These are basically programs that operate on atoms/bonds/angles/dihedrals to assign parameters.
20:46:46
drmeister
Try (time (compile-file "sys:kernel;cleavir;inline.lisp")) Does it take the same amount of time? That should produce a count of how many times the interpreter is invoked.
20:51:47
drmeister
Of course naive profiling of the compiler is a mess - but you can run the 'count-calls' filter on it and look for suspicious things.
20:55:48
Bike
this is from my method change, and that somehow causing interpreter use would be, uh, surreal
20:56:44
drmeister
But the observation that it is working - but really, really, really slowly is very perplexing.
21:00:46
drmeister
I just got a standing desk at home and I need to get rid of the old wooden one I have.
21:02:39
Bike
but no, while in the abstract i'd like a wooden desk, i wouldn't have anywhere to put it
21:02:45
drmeister
Anyway - tell me soon offline if you want it - otherwise it's kill or be killed for me.
21:11:40
Bike
well, it has use symbols in global array, debug recursive allocations, meter allocations, and debug release defined.
21:15:02
Bike
load cleavir, load auto compile, load inline. though given how diverse inline is it's possible that "the behavior" is just cleavir being much slower to compile.
21:16:47
drmeister
You might be on track to discover something that is slowing down cclasp compilation because you might be exacerbating it.
21:17:59
drmeister
I added code to get more detailed timing information on every form and every stage of cleavir compilation.
21:18:53
drmeister
From my notes: "Set cmp::*debug-compile-file* to T to get timing on forms compiled by cclasp"
21:58:25
drmeister
Note - I can only get dtrace to work with cclasp-boehm or iclasp-boehm when linked using 'obj' rather than 'thinLTO'
22:30:14
drmeister
https://github.com/drmeister/clasp/blob/cst/src/lisp/kernel/cmp/cmpfastgf.lsp#L855