[Date Index] [Thread Index] [Author Index]
Re: Writing to same file from several kernels?
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 <sebhofer 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 > > >