← Back to team overview

dolfin team mailing list archive

Re: [Question #149875]: assembly and resolution time

 

Question #149875 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/149875

    Status: Answered => Open

Dupront is still having a problem:

Oh yes !
Thank you very much !
 
> To: michel.dupront@xxxxxxxxxx
> From: question149875@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [Dolfin] [Question #149875]: assembly and resolution time
> Date: Mon, 21 Mar 2011 15:24:22 +0000
> 
> Your question #149875 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/149875
> 
> Johan Hake proposed the following answer:
> On Monday March 21 2011 08:15:37 Dupront wrote:
> > Question #149875 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/149875
> > 
> > Status: Answered => Open
> > 
> > Dupront is still having a problem:
> > > > But I don't understand what Reps=11 means for Assemble
> > > > cells.
> > > 
> > > This is the number of times integrals over cells have been assembled.
> > 
> > Thank you !
> > Why 11 times ?
> > 
> > So the cost of an newton iteration is mainly 1 time "Assemble cells" plus 1
> > time LU Solver.
> 
> The cost per Newton iteration for the Hyperelastisity demo is:
> 
> 1x assemble bilinear (Matrix) over cells
> 1x assemble linear (Vector) over cells
> 1x linear solve
> 
> + 1 inital assemble linear (Vector) over cells.
> 
> 5 Newton iterations = 11 assemble over cells.
> 
> Johan
> 
> > > To: michel.dupront@xxxxxxxxxx
> > > From: question149875@xxxxxxxxxxxxxxxxxxxxx
> > > Subject: Re: [Dolfin] [Question #149875]: assembly and resolution time
> > > Date: Mon, 21 Mar 2011 15:03:16 +0000
> > > 
> > > Your question #149875 on DOLFIN changed:
> > > https://answers.launchpad.net/dolfin/+question/149875
> > > 
> > > Status: Open => Answered
> > > 
> > > Johan Hake proposed the following answer:
> > > 
> > > On Monday March 21 2011 07:45:30 Dupront wrote:
> > > > Question #149875 on DOLFIN changed:
> > > > https://answers.launchpad.net/dolfin/+question/149875
> > > > 
> > > > Status: Answered => Open
> > > > 
> > > > Dupront is still having a problem:
> > > > > > I am running the Hyperelastic demo and I would like
> > > > > > to know the assembly and resolution times.
> > > > > > Could somebody help me with this matter ?
> > > > > 
> > > > > What do you mean? Do you need timings for the different steps?
> > > > > 
> > > > > You can call the command summary() at the end of your program to get
> > > > > some information.
> > > > 
> > > > Thank you very much for your promt answer.
> > > > 
> > > > Yes I meant timing for the different steps including assembly and
> > > > resolution.
> > > > 
> > > > Using the command summary() I get what follows.
> > > > Is there a documentation that explain the meaning of Reps.
> > > > Regarding newton I understand that Reps=5 means 5
> > > > newton iterations.
> > > > But I don't understand what Reps=11 means for Assemble
> > > > cells.
> > > 
> > > This is the number of times integrals over cells have been assembled.
> > > 
> > > > Is the matrix updated at each newton iteration ?
> > > 
> > > Yes.
> > > 
> > > Johan
> > > 
> > > > Summary of timings | Average time Total time Reps
> > > > -------------------------------------------------------------
> > > > Assemble cells | 0.052189 0.57408 11
> > > > Assemble exterior facets | 0.0026364 0.015818 6
> > > > Build sparsity | 0.0035736 0.025015 7
> > > > Delete sparsity | 8.7476e-07 6.1233e-06 7
> > > > Init dofmap | 0.0020095 0.0040191 2
> > > > Init tensor | 7.0271e-05 0.0004919 7
> > > > LU solver | 0.34523 1.7262 5
> > > > compute connectivity 0 - 3 | 0.001205 0.001205 1
> > > > compute connectivity 2 - 3 | 0.00095892 0.00095892 1
> > > > compute connectivity 3 - 3 | 0.030152 0.030152 1
> > > > compute entities dim = 2 | 0.099474 0.099474 1
> > > > 
> > > > > To: michel.dupront@xxxxxxxxxx
> > > > > From: question149875@xxxxxxxxxxxxxxxxxxxxx
> > > > > Subject: Re: [Dolfin] [Question #149875]: assembly and resolution
> > > > > time Date: Mon, 21 Mar 2011 09:15:38 +0000
> > > > > 
> > > > > Your question #149875 on DOLFIN changed:
> > > > > https://answers.launchpad.net/dolfin/+question/149875
> > > > > 
> > > > > Status: Open => Answered
> > > > > 
> > > > > Anders Logg proposed the following answer:
> > > > > 
> > > > > On Mon, Mar 21, 2011 at 08:58:56AM -0000, Dupront wrote:
> > > > > > New question #149875 on DOLFIN:
> > > > > > https://answers.launchpad.net/dolfin/+question/149875
> > > > > > 
> > > > > > Hello,
> > > > > > 
> > > > > > I am a new fenics user.
> > > > > > It is really amazing !
> > > > > 
> > > > > Thanks.
> > > > > 
> > > > > > I am running the Hyperelastic demo and I would like
> > > > > > to know the assembly and resolution times.
> > > > > > Could somebody help me with this matter ?
> > > > > 
> > > > > What do you mean? Do you need timings for the different steps?
> > > > > 
> > > > > You can call the command summary() at the end of your program to get
> > > > > some information.
> > > > > 
> > > > > --
> > > > > Anders
> > > > 
> > > > You received this question notification because you are a member of
> > > > DOLFIN Team, which is an answer contact for DOLFIN.
> > > > 
> > > > _______________________________________________
> > > > Mailing list: https://launchpad.net/~dolfin
> > > > Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> > > > Unsubscribe : https://launchpad.net/~dolfin
> > > > More help : https://help.launchpad.net/ListHelp
> > 
> > You received this question notification because you are a member of
> > DOLFIN Team, which is an answer contact for DOLFIN.
> > 
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dolfin
> > Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dolfin
> > More help : https://help.launchpad.net/ListHelp
> 
> -- 
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/149875/+confirm?answer_id=5
> 
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/149875
> 
> You received this question notification because you are a direct
> subscriber of the question.

You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



References