Re: Writing to same file from several kernels?
- To: mathgroup at smc.vnet.net
- Subject: [mg111360] Re: Writing to same file from several kernels?
- From: Sebastian <sebhofer at gmail.com>
- Date: Thu, 29 Jul 2010 06:41:42 -0400 (EDT)
- References: <i2p463$h1q$1@smc.vnet.net>
Hi Nate, thanks for the information. This looks interesting! Sebastian On Jul 28, 1:26 pm, Nate Dudenhoeffer <dudenhoef... at wisc.edu> wrote: > Sebastian, > > If you would like to go the database route take a look at sqlite. I have > had great luck using it with Mathematica. > > sqlite doesn't use the databaselink package. See my earlier post linked > below for more info on how to implement it. > > http://forums.wolfram.com/mathgroup/archive/2010/Apr/msg00400.html > > Regards, > Nate > > On Tue, Jul 27, 2010 at 3:17 AM, Sebastian <sebho... at gmail.com> wrote: > > Hi, > > > thanks for the suggestion, but unfortunately I can't install an sql > > server on that very machine. I ended up by opening and closing the > > stream to the file for each time writing out data, which I think is > > the correct way to do this anyway. I guess it was kind of a stupid > > question in the first place. > > > Sebastian > > > On Jul 22, 11:41 am, Michael Stern <nycst... at gmail.com> wrote: > > > Do you have a database server running? If not, download an install > > > MySQL Server or another free solution. Use the DatabaseLink package that > > > comes with Mathematica to log your results to a database. > > > > Michael > > > > On 7/21/2010 7:10 AM, Sebastian wrote: > > > > > Hi all, > > > > assume I have several kernels running which should all log their > > > > progress to the same file. Is this possible? > > > > Opening a stream from each of kernels does not work, neither does > > > > passing on the stream object. Any ideas? > > > > TIA > > > > Sebastian