<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<font size="+1">Ahhhh. gmakefile is not passing PETSC_DIR and
PETSC_ARCH to query_tests.py like it should. <br>
The immediate fix is to set your env variables, but I'll do a
quick MR to fix this.<br>
<br>
Scott<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 8/11/20 8:11 PM, Barry Smith wrote:<br>
</div>
<blockquote type="cite"
cite="mid:C8170CBE-78F2-451B-85C6-36F8BFED6849@petsc.dev">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class=""><br class="">
</div>
<div class=""> Scott,</div>
<div class=""><br class="">
</div>
<div class=""> 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.</div>
<div class=""><br class="">
</div>
<div class=""> Thanks</div>
<div class=""><br class="">
</div>
<div class=""> Barry</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">make
-f gmakefile.test test query='requires' queryval='kokkos'</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Traceback
(most recent call last):</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
File "config/query_tests.py", line 226, in <module></span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
main()</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
File "config/query_tests.py", line 187, in main</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
petsc_full_arch = os.path.join(petsc_dir, petsc_arch)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
File "/usr/lib64/python3.7/posixpath.py", line 94, in join</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
genericpath._check_arg_types('join', a, *p)</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
File "/usr/lib64/python3.7/genericpath.py", line 153, in
_check_arg_types</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
(funcname, s.__class__.__name__)) from None</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">TypeError:
join() argument must be str or bytes, not 'NoneType'</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Using
MAKEFLAGS: -- queryval=kokkos query=requires</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">#
No tests run</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">#
No tests run</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 15px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">#
No tests run</span></div>
</div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Tech-X Corporation <a class="moz-txt-link-abbreviated" href="mailto:kruger@txcorp.com">kruger@txcorp.com</a>
5621 Arapahoe Ave, Suite A Phone: (720) 974-1841
Boulder, CO 80303 Fax: (303) 448-7756</pre>
</body>
</html>