Welcome, Guest
Username: Password: Remember me

TOPIC: Track computation time in LISTING printout

Track computation time in LISTING printout 4 years 4 weeks ago #37017

  • IPelckmans
  • IPelckmans's Avatar
Hi

Is there a way to track computation time in the listing printout. I suspect that the computational time per time step strongly increases after 12 time steps. How could I print this in the listing printout?

Thank you in advance.

Kind regards,
Ignace
The administrator has disabled public write access.

Track computation time in LISTING printout 4 years 3 weeks ago #37040

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Ignace,

You can use the ELAPSE subroutine. Have a look at HOMERE_TELEMAC program and how it is used with DATE_AND_TIME subroutine. If you want to print the times in another file, you can have a look at the customised ELAPSE subroutine in user_fortran folder of the malpasset example in 2D e.g.

You can set TDEB and TEND with DATE_AND_TIME at the beginning and the end of the time loop in TELEMAC2D subroutine and call ELAPSE for each time step.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.