runtests.py failure

Moderators: jbeuken, jzwanzig, gonze

Post Reply
User avatar
jzwanzig
Posts: 503
Joined: Mon Aug 17, 2009 9:25 am

runtests.py failure

Post by jzwanzig » Tue May 05, 2015 6:28 pm

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
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

User avatar
gmatteo
Posts: 258
Joined: Sun Aug 16, 2009 5:40 pm

Re: runtests.py failure

Post by gmatteo » Thu May 07, 2015 11:28 am

Hi Joe,

have you tried to regenerate the pickle database?
Use

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

User avatar
jzwanzig
Posts: 503
Joined: Mon Aug 17, 2009 9:25 am

Re: runtests.py failure

Post by jzwanzig » Thu May 07, 2015 3:27 pm

that worked, Matteo, thanks! is it possible to have the script provide a more informative error message when this happens?

thanks,
Joe
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

Post Reply