Page 1 of 1

runtests.py failure

Posted: Tue May 05, 2015 6:28 pm
by jzwanzig
Hi, when I execute runtests.py with the -i option I keep getting a KeyError failure as follows:

../../tests/runtests.py -i 'rfddk'

OUTPUT:
FortranCompiler: intel None
Traceback (most recent call last):
File "../../tests/runtests.py", line 479, in <module>
sys.exit(main())
File "../../tests/runtests.py", line 368, in main
ivars=ivars, with_pickle=options.with_pickle)
File "/home/jzwanzig/code/abinit/7.11/7.11.6-private/tests/__init__.py", line 684, in select_tests
tests = tests + database.get_test_suite(suite_name, subsuite_name=subsuite_name, slice_obj=slice_obj)
File "/home/jzwanzig/code/abinit/7.11/7.11.6-private/tests/__init__.py", line 266, in get_test_suite
test_suite = self[suite_name]
KeyError: 'bigdft_paral'

Suggestions for how to fix?

thanks,
joe

Re: runtests.py failure

Posted: Thu May 07, 2015 11:28 am
by gmatteo
Hi Joe,

have you tried to regenerate the pickle database?
Use

./runtests.py -r -i 'rfddk'

Re: runtests.py failure

Posted: Thu May 07, 2015 3:27 pm
by jzwanzig
that worked, Matteo, thanks! is it possible to have the script provide a more informative error message when this happens?

thanks,
Joe