unimportant problem with batch configuration

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
sirlb
Posts: 34
Joined: Mon Mar 17, 2014 11:54 am

unimportant problem with batch configuration

Post by sirlb »

Hello,

A small bug (or feature ??) for slurm batch configuration (CS V4.3.0). CS throw an error when trying to use a slurm partition that is time unlimited :

Code: Select all

File "/home/applis/code_saturne/4.3.0/lib/python2.7/site-packages/code_saturne/cs_batch.py", line 65, in parse_wall_time_slurm
    t = th + int(wt[0])*60
ValueError: invalid literal for int() with base 10: 'UNLIMITED\n
I guess that it is never the case for big EDF clusters, but for small configuration such the one we use, it is the case.

Regards,
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: unimportant problem with batch configuration

Post by Yvan Fournier »

Hello,

Thanks for the feedback. I have a fix ready for the next bug-fix releases.

Regards,

Yvan
Post Reply