From: Sebastian on
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

From: Michael Stern on
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
>

From: Sebastian on
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...(a)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


From: Nate Dudenhoeffer on
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(a)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...(a)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
>
>
>
From: Sebastian on
Hi Nate,
thanks for the information. This looks interesting!
Sebastian

On Jul 28, 1:26 pm, Nate Dudenhoeffer <dudenhoef...(a)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...(a)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...(a)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