[petsc-dev] testharness failure Exception: Keyword: redirect_file from: redirect_file: ex1_1.tmp is not valid

Barry Smith bsmith at petsc.dev
Sun Dec 12 16:40:40 CST 2021


  Scott,

    In the branch barry/2021-11-04/add-dmplex-vecghost  which was just rebased on main I get 

/usr/local/opt/python at 3.9/bin/python3.9 ./config/gmakegen.py --petsc-arch=arch-add-dmplex-vecghost                                          
/usr/local/opt/python at 3.9/bin/python3.9 /Users/barrysmith/Src/petsc/config/gmakegentest.py --petsc-dir=/Users/barrysmith/Src/petsc --petsc-arch=arch-add-dmplex-vecghost --testdir=./arch-add-dmplex-vecghost/tests
Traceback (most recent call last):
  File "/Users/barrysmith/Src/petsc/config/gmakegentest.py", line 1089, in <module>
    main(petsc_dir=opts.petsc_dir, petsc_arch=opts.petsc_arch,
  File "/Users/barrysmith/Src/petsc/config/gmakegentest.py", line 1060, in main
    dataDict=pEx.walktree(os.path.join(pEx.srcdir))
  File "/Users/barrysmith/Src/petsc/config/gmakegentest.py", line 924, in walktree
    self.genPetscTests(root,dirs,files,dataDict)
  File "/Users/barrysmith/Src/petsc/config/gmakegentest.py", line 897, in genPetscTests
    dataDict[root].update(testparse.parseTestFile(fullex,0))
  File "/Users/barrysmith/Src/petsc/config/testparse.py", line 542, in parseTestFile
    testDict[basename]=parseTests(testString,srcfile,fileNums,verbosity)
  File "/Users/barrysmith/Src/petsc/config/testparse.py", line 498, in parseTests
    testnames,subdicts=parseTest(test,srcfile,verbosity)
  File "/Users/barrysmith/Src/petsc/config/testparse.py", line 426, in parseTest
    if not var in acceptedkeys: raise Exception("Keyword: "+var+" from: "+line+" is not valid")
Exception: Keyword: redirect_file from: redirect_file: ex1_1.tmp is not valid
make: *** [gmakefile.test:97: arch-add-dmplex-vecghost/tests/testfiles] Error 1

How to track down the problem? Is it due to a bad rule from some file (which file, could that be printed?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20211212/eb7ae33b/attachment.html>


More information about the petsc-dev mailing list