Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Writing to same file from several kernels?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111359] Re: Writing to same file from several kernels?
  • From: Nate Dudenhoeffer <dudenhoeffer at wisc.edu>
  • Date: Wed, 28 Jul 2010 07:26:43 -0400 (EDT)

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
>
>
>


  • Prev by Date: Re: FindRoot with NDSolve inside of it doesn't work
  • Next by Date: Re: Substiuting variables within an integral
  • Previous by thread: Re: Writing to same file from several kernels?
  • Next by thread: Re: Writing to same file from several kernels?