Ahhhh.  gmakefile is not passing PETSC_DIR and PETSC_ARCH to query_tests.py like it should. The immediate fix is to set your env variables, but I'll do a quick MR to fix this.

Scott


On 8/11/20 8:11 PM, Barry Smith wrote:

  Scott,

   Sometimes when I run the below test the harness mis-behaves. I cannot say what is different when this happens and doesn't because sometimes it also works.

  Thanks

   Barry




make -f gmakefile.test  test query='requires' queryval='kokkos'
Traceback (most recent call last):
File "config/query_tests.py", line 226, in <module>
  main()
File "config/query_tests.py", line 187, in main
  petsc_full_arch = os.path.join(petsc_dir, petsc_arch)
File "/usr/lib64/python3.7/posixpath.py", line 94, in join
  genericpath._check_arg_types('join', a, *p)
File "/usr/lib64/python3.7/genericpath.py", line 153, in _check_arg_types
  (funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'NoneType'
Using MAKEFLAGS: -- queryval=kokkos query=requires
# No tests run
# No tests run
# No tests run



--
Tech-X Corporation               [email protected]
5621 Arapahoe Ave, Suite A       Phone: (720) 974-1841
Boulder, CO 80303                Fax:   (303) 448-7756

Reply via email to