vatlab / sos

SoS workflow system for daily data analysis
http://vatlab.github.io/sos-docs
BSD 3-Clause "New" or "Revised" License
274 stars 45 forks source link

remote computer wall time format HH:MM #1509

Closed gaow closed 1 year ago

gaow commented 1 year ago

@BoPeng The issue is that the wall time format accepted by a cluster system we use is hh:mm. However sos uses the hh:mm:ss format. Currently, we have to hard code the wall time to make it work. How would you suggest we programmatically reformat the walltime values to stripping off the seconds part in the yml file?

BoPeng commented 1 year ago

Did you try

-l walltime={ walltime.rsplit(':', 1)[0] }
mw201608 commented 1 year ago

Hi BoPeng. It works. Thanks for the advice!

BoPeng commented 1 year ago

Great. I tried to test but we lack some method to render the job script without submitting it...