systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deron Eriksson <deroneriks...@gmail.com>
Subject Re: synchronized prints?
Date Mon, 23 May 2016 23:22:37 GMT
Thank you Matthias! That worked.

Mike, I wonder if we could do something like supply an optional flag during
DML development that guarantees that the prints will print synchronously.
Not sure what the best approach would be.

Deron


On Mon, May 23, 2016 at 2:32 PM, Matthias Boehm <mboehm@us.ibm.com> wrote:

> sure - go for it; but please include into the description that a fix
> should try to keep operations within one dag and only separate out prints
> if necessary.
>
> Regards,
> Matthias
>
> [image: Inactive hide details for dusenberrymw---05/23/2016 02:09:32
> PM---We should create a JIRA issue to track fixing this "bug" with]dusenberrymw---05/23/2016
> 02:09:32 PM---We should create a JIRA issue to track fixing this "bug"
> within the engine. While the if-statement
>
> From: dusenberrymw@gmail.com
> To: dev@systemml.incubator.apache.org
> Date: 05/23/2016 02:09 PM
> Subject: Re: synchronized prints?
> ------------------------------
>
>
>
> We should create a JIRA issue to track fixing this "bug" within the
> engine.  While the if-statement cut works as a quick hack, it would be much
> better to just ensure consistency natively.
>
> --
>
> Mike Dusenberry
> GitHub: github.com/dusenberrymw
> LinkedIn: linkedin.com/in/mikedusenberry
>
> Sent from my iPhone.
>
>
> > On May 23, 2016, at 2:02 PM, Matthias Boehm <mboehm@us.ibm.com> wrote:
> >
> > a simple workaround is to place an "if(1==1){}" cut between the prints
> to force their order.
> >
> > Regards,
> > Matthias
> >
> > Deron Eriksson ---05/23/2016 01:55:17 PM---Hi, Is there a way to make
> sure that print statements are synchronized while
> >
> > From: Deron Eriksson <deroneriksson@gmail.com>
> > To: dev@systemml.incubator.apache.org
> > Date: 05/23/2016 01:55 PM
> > Subject: synchronized prints?
> >
> >
> >
> >
> > Hi,
> >
> > Is there a way to make sure that print statements are synchronized while
> > developing a DML script? By this, I mean is there currently a way to
> ensure
> > that the order of print statements in a DML script are the order in which
> > they are displayed to standard output?
> >
> > Deron
> >
> >
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message