aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
70 stars 43 forks source link

When submitting a task, CBRAIN should log the walltime asked for. #1334

Open prioux opened 1 year ago

prioux commented 1 year ago

In the task log, there should be a message about how much time was requested, how many cores, and how much memory...

Problem is, those values are sometimes not available as distinct scalars, they are often hardcoded as extra qsub args.

MontrealSergiy commented 10 months ago

do you prefer ad-hoc parsing 'qsub' args or an appropriate command such as sstat

prioux commented 10 months ago

Just log the two values from the Scir::JobTemplate object, just after submission.

  1. walltime
  2. tc_extra_qsub_args

Maybe in a single line in the log, nicely formatted.