Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with walltimemax >= 24:00 #1251

Closed
rljacob opened this issue Mar 15, 2017 · 7 comments
Closed

Error with walltimemax >= 24:00 #1251

rljacob opened this issue Mar 15, 2017 · 7 comments
Assignees
Labels

Comments

@rljacob
Copy link
Member

rljacob commented Mar 15, 2017

Originally reported by Pat Worley for CIME 5.2.0 in ACME. This line in config_batch for Titan:

<queue walltimemax="24:00" default="true">batch</queue>

Is now giving an error message:

 ./create_newcase -case FC5AV1C-L.ne30.CIME52.titan_pgi  -compset FC5AV1C-L -res ne30_ne30 -mach titan -compiler pgi -project cli115
 ...
 Could not find a queue matching task count 1280, falling back to deprecated default walltime parameter
 Traceback (most recent call last):
   File "./create_newcase", line 200, in <module>
     _main_func(__doc__)
   File "./create_newcase", line 183, in _main_func
     run_unsupported=run_unsupported)
   File "/autofs/nccs-svm1_home1/worley/ACPI/SVN/ACME/master/CHECK/ACME/cime/scripts/Tools/../../utils/python/CIME/case.py", line 735, in configure
     env_batch.set_job_defaults(bjobs, pesize=maxval, walltime=walltime, force_queue=queue)
   File "/autofs/nccs-svm1_home1/worley/ACPI/SVN/ACME/master/CHECK/ACME/cime/scripts/Tools/../../utils/python/CIME/XML/env_batch.py", line 219, in set_job_defaults
     self.set_value( "JOB_WALLCLOCK_TIME", walltime , subgroup=job)
   File "/autofs/nccs-svm1_home1/worley/ACPI/SVN/ACME/master/CHECK/ACME/cime/scripts/Tools/../../utils/python/CIME/XML/env_batch.py", line 43, in set_value
     t = time.strptime(value,"%H:%M")
   File "/sw/xk6/python/2.7.9/sles11.3_gnu4.3.4/lib/python2.7/_strptime.py", line 467, in _strptime_time
     return _strptime(data_string, format)[0]
   File "/sw/xk6/python/2.7.9/sles11.3_gnu4.3.4/lib/python2.7/_strptime.py", line 325, in _strptime
     (data_string, format))
 ValueError: time data '24:00' does not match format '%H:%M'
@rljacob
Copy link
Member Author

rljacob commented Mar 15, 2017

Workaround found by @mfdeakin is to just reduce it to 23:59. But all agree max times of 24 or longer should be allowed.

@rljacob rljacob changed the title Error with wallmaxtime >= 24:00 Error with walltimemax >= 24:00 Mar 15, 2017
@rljacob
Copy link
Member Author

rljacob commented Mar 15, 2017

What is walltimemax for? For machines that don't have a walltimemax specified, users can set WALLCLOCK to 24 or more.

@mfdeakin-sandia
Copy link
Contributor

Because this is a critical fix, the code for this is in the ACME repository, and will be merged with the next subtree split

@jedwards4b
Copy link
Contributor

I'm concerned that this doesn't give us an opportunity to review the PR...

@rljacob
Copy link
Member Author

rljacob commented Mar 16, 2017

The subtree split will be a PR. We don't have nearly as much stuff as the last time we brought over ACME changes.

@mfdeakin-sandia
Copy link
Contributor

It's a concern of mine as well. I'm thinking of making a fake PR here for that purpose

@rljacob
Copy link
Member Author

rljacob commented Apr 22, 2017

Fixe included in PR #1287

@rljacob rljacob closed this as completed Apr 22, 2017
@ghost ghost removed the in progress label Apr 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants