00:35:24 brett_h [~brett_h@75-101-56-240.dsl.static.sonic.net] has joined #ccl 00:36:54 -!- brett_h [~brett_h@75-101-56-240.dsl.static.sonic.net] has quit [Remote host closed the connection] 00:38:37 brett_h [~brett_h@75-101-56-240.dsl.static.sonic.net] has joined #ccl 00:45:50 sellout [~greg@c-24-128-48-180.hsd1.ma.comcast.net] has joined #ccl 00:54:41 -!- sellout [~greg@c-24-128-48-180.hsd1.ma.comcast.net] has quit [Quit: sellout] 01:07:11 alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 01:08:10 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has joined #ccl 01:37:17 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has quit [Quit: rcirc on GNU Emacs 23.2.3] 04:38:12 sellout [~greg@c-24-128-48-180.hsd1.ma.comcast.net] has joined #ccl 05:59:47 -!- brett_h [~brett_h@75-101-56-240.dsl.static.sonic.net] has quit [Remote host closed the connection] 06:06:44 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has joined #ccl 06:22:14 nunb [~nundan@59.178.220.151] has joined #ccl 08:57:07 is ccl 1.5 branch broken? 08:58:05 leo2007 pasted "error compiling ccl" at http://paste.lisp.org/display/100340 11:21:48 -!- nunb [~nundan@59.178.220.151] has quit [Read error: Connection reset by peer] 11:22:15 nunb [~nundan@59.178.213.192] has joined #ccl 11:49:31 is there a way to force ccl into running single-threadedly? 12:29:01 I'm pretty sure there isn't. gbyers would know for sure. You here, Gary? 12:34:36 billstclair: Fare has some hack to do so, but I don't know the details. 12:54:43 http://fare.livejournal.com/148185.html 12:55:16 er, the actual code is at http://common-lisp.net/gitweb?p=projects/qitab/single-threaded-ccl.git 12:55:29 palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has joined #ccl 12:57:30 -!- palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has quit [Client Quit] 13:01:09 palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has joined #ccl 13:02:02 -!- palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has quit [Client Quit] 13:09:33 yeah, that has other problems and so in the end it didn't use it. 13:10:13 Unfortunately the library that I need to use cl-plplot cannot handle multithreading well. I have compiled a single thread sbcl and there seems not problem using it. 13:10:27 It is the default of the underlying lib plplot. 13:10:31 fault* 13:16:44 jajcloz [~jaj@pool-98-118-48-156.bstnma.fios.verizon.net] has joined #ccl 13:27:10 Then you just have to ensure that the library is always called from a single thread 13:27:23 I did that for OpenSSL. I put a lock around all my calls to it 13:27:59 That gets you one thread at a time 13:28:09 If it really has to be in the process'es main thread, then you're screwed 13:30:54 billstclair: I think I'm screwed 13:31:11 I can run it on the terminal of the repl 13:31:23 not in slime where it run a second thread 13:31:44 Wierd 13:32:25 yeah, I have wasted the whole morning on this. 13:34:00 The cl-plplot manual implies that they've managed to get it to work with multi-threading: http://common-lisp.net/project/cl-plplot/cl-plplot-manual.html 13:34:09 Seems like a question for them, not us 13:35:09 Section 4. Search for "threading" 13:37:04 billstclair: as I said it is either cl-plplot or plplot's fault. ccl has been great throughout. 13:37:57 my plot code update the plot window when as soon as a data point is ready. the cl-plplot high-level interface doesn't allow this. It is the case that my code isn't robust. 13:42:18 But perhaps their approach to multi-threading is adaptable to your case? 13:42:36 Or are you getting a callback? 13:46:25 billstclair: a callback? 13:48:56 billstclair: I post a help on plplot mailing list. I need to get to the core of the code otherwise my whole day is ruined ;) 13:49:13 Good luck. 13:49:24 And I mean that in the positive sense. 13:52:04 billstclair: yes. I didn't understand what callback refers to. 14:37:47 billstclair: single-thread is no fun. when the simulation is running basically I need to wait until it finishes :( 14:38:50 I'd think you could enqueue data points from the simulation thread onto a queue in the plotting thread. 14:39:15 The plotting thread would be the only thread to talk to pplot 14:39:20 plplot 14:39:52 But I know nothing of the details of your application, so I'm only guessing 14:41:27 billstclair: my code doesn't involve any threading (parallelism) yet, I might consider it at later stage when performance is critical. SLIME automatically run code in a different thread. That's neat. 14:41:36 it doesn't get in the way. 14:56:24 brett_h [~brett_h@c-67-169-69-95.hsd1.ca.comcast.net] has joined #ccl 15:23:06 milanj [~milanj_@93.87.166.29] has joined #ccl 15:30:24 -!- brett_h [~brett_h@c-67-169-69-95.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 15:45:10 brett_h [~brett_h@c-67-169-69-95.hsd1.ca.comcast.net] has joined #ccl 16:01:52 -!- brett_h [~brett_h@c-67-169-69-95.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 16:08:19 rme [~rme@pool-70-105-123-78.chi.dsl-w.verizon.net] has joined #ccl 16:15:44 brett_h [~brett_h@75-101-56-240.dsl.static.sonic.net] has joined #ccl 16:50:24 -!- jajcloz [~jaj@pool-98-118-48-156.bstnma.fios.verizon.net] has quit [Quit: jajcloz] 17:15:03 -!- nunb [~nundan@59.178.213.192] has quit [Quit: This computer has gone to sleep] 17:22:19 nunb [~nundan@59.178.201.86] has joined #ccl 17:23:27 -!- nunb [~nundan@59.178.201.86] has quit [Client Quit] 17:40:39 -!- segv [~mb@p54BE688A.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 17:46:52 segv [~mb@p4FC1B7FB.dip.t-dialin.net] has joined #ccl 17:53:59 anRch [~markmilli@64.134.68.143] has joined #ccl 18:15:19 -!- lisppaste5 [~lisppaste@common-lisp.net] has quit [Quit: Want lisppaste5 in your channel? Email lisppaste-requests AT common-lisp.net.] 18:15:22 lisppaste5 [~lisppaste@common-lisp.net] has joined #ccl 18:23:18 Phoodus [foo@174-22-241-233.phnx.qwest.net] has joined #ccl 19:43:28 -!- anRch [~markmilli@64.134.68.143] has quit [Quit: anRch] 19:53:13 -!- alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Ping timeout: 240 seconds] 20:08:52 alms [~alms@c-71-232-42-18.hsd1.ma.comcast.net] has joined #ccl 20:20:53 -!- alms [alms@clozure-42354CC0.hsd1.ma.comcast.net] has quit [Input/output error] 20:20:53 -!- alms [~alms@c-71-232-42-18.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 20:21:00 alms [~alms@146-115-31-27.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 21:08:02 -!- sellout [~greg@c-24-128-48-180.hsd1.ma.comcast.net] has quit [Quit: sellout] 22:04:12 alms_ [~alms@c-71-232-42-18.hsd1.ma.comcast.net] has joined #ccl 22:05:32 -!- alms [~alms@146-115-31-27.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Read error: Operation timed out] 22:06:45 alms [~alms@146-115-31-27.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 22:07:01 -!- alms_ [alms@clozure-42354CC0.hsd1.ma.comcast.net] has quit [Ping timeout] 22:08:24 -!- Phoodus [foo@174-22-241-233.phnx.qwest.net] has quit [Ping timeout: 258 seconds] 22:08:26 -!- alms_ [~alms@c-71-232-42-18.hsd1.ma.comcast.net] has quit [Ping timeout: 245 seconds] 22:19:56 -!- alms [alms@clozure-E71AB090.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Ping timeout] 22:21:03 -!- alms [~alms@146-115-31-27.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Ping timeout: 258 seconds] 22:22:56 palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has joined #ccl 22:23:13 -!- palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has quit [Client Quit] 22:28:24 alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 22:35:50 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has quit [Ping timeout: 265 seconds] 23:16:42 -!- milanj [~milanj_@93.87.166.29] has quit [Quit: Leaving] 23:51:19 -!- alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms]