[petsc-dev] test harness failure make -f gmakefile.test test query='requires' queryval='kokkos'

Scott Kruger kruger at txcorp.com
Wed Aug 12 10:13:40 CDT 2020



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               kruger at txcorp.com
5621 Arapahoe Ave, Suite A       Phone: (720) 974-1841
Boulder, CO 80303                Fax:   (303) 448-7756

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20200812/255b814c/attachment.html>


More information about the petsc-dev mailing list