<div dir="ltr"><div>Scott</div><div><br></div><div>I found the issue. The programname on this machine has the fullpath, including a matching pattern for the egrep rule. </div><div><br></div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 12 mag 2021 alle ore 22:33 Scott Kruger <<a href="mailto:kruger@txcorp.com">kruger@txcorp.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It's something like this:<br>
<br>
cd arch-debug-uni/tests/sys/tests/runex54_1_options_file-ex54options_1a_wrong/<br>
<br>
cat *.tmp # Does anything look fishy?<br>
cat diff*.sh # see how diff test with filter is being setup by harness<br>
./diff*.sh # run the diff test<br>
<br>
<br>
Hopefully you can see what's the problem is in more detail. These error<br>
catching tests are tricker to debug than the normal tests.<br>
<br>
Scott<br>
<br>
On 2021-05-12 16:48, Stefano Zampini did write:<br>
> I'm currently trying to build PETSc on a NEC-SX. Apart from other issues,<br>
> I'm facing the following issue with the testsuite.<br>
> <br>
> [zampins@stork petsc]$ make test s='sys*ex54*1a*' V=1<br>
> Using MAKEFLAGS: -- V=1 s=sys*ex54*1a*<br>
> arch-debug-uni/tests/sys/tests/runex54_1_options_file-ex54options_1a_wrong.sh<br>
> -v<br>
> ok sys_tests-ex54_1_options_file-ex54options_1a_wrong #<br>
> /home/zampins/src/petsc/lib/petsc/bin/petsc-mpiexec.uni -n 1 ../ex54<br>
> -options_left 0 -options_view -options_file ex54options_1a_wrong 2>&1 |<br>
> cat > ex54_1_options_file-ex54options_1a_wrong.tmp<br>
> not ok diff-sys_tests-ex54_1_options_file-ex54options_1a_wrong # Error<br>
> code: 1<br>
> # 1a2<br>
> # > [0]PETSC ERROR:<br>
> /home/zampins/src/petsc/arch-debug-uni/tests/sys/tests/runex54_1_options_file-ex54options_1a_wrong/../ex54<br>
> on a arch-debug-uni named stork by zampins Wed May 12 16:45:46 2021<br>
> <br>
> However, if I run the test directly, I think it produces the proper output<br>
> to be filtered. How can I debug this?<br>
> <br>
> [zampins@stork tests]$ ./ex54 -options_left 0 -options_view -options_file<br>
> ex54options_1a_wrong<br>
> [0]PETSC ERROR: --------------------- Error Message<br>
> --------------------------------------------------------------<br>
> [0]PETSC ERROR: Invalid argument<br>
> [0]PETSC ERROR: Unknown first token in options file ex54options_1a_wrong<br>
> line 1: !<br>
> [0]PETSC ERROR: See <a href="https://www.mcs.anl.gov/petsc/documentation/faq.html" rel="noreferrer" target="_blank">https://www.mcs.anl.gov/petsc/documentation/faq.html</a><br>
> for trouble shooting.<br>
> [0]PETSC ERROR: Petsc Development GIT revision: v3.15.0-298-g2115278b7a<br>
> GIT Date: 2021-05-12 14:01:17 +0300<br>
> [0]PETSC ERROR: ./ex54 on a arch-debug-uni named stork by zampins Wed May<br>
> 12 16:46:21 2021<br>
> [0]PETSC ERROR: Configure options --FC_LINKER_FLAGS="-Wl,-z -Wl,muldefs"<br>
> --download-sowing-configure-arguments="CC=ncc CXX=nc++"<br>
> --with-blaslapack-lib="[/opt/nec/ve/nlc/2.3.0/lib/liblapack.a,/opt/nec/ve/nlc/2.3.0/lib/libblas_sequential.a]"<br>
> --with-cc=ncc --with-cxx=nc++ --with-debugging=1 --with-fc=nfort<br>
> --with-mpi=0 --with-shared-ld=nld --with-shared-libraries=1<br>
> PETSC_ARCH=arch-debug-uni<br>
> [0]PETSC ERROR: #1 PetscOptionsInsertFilePetsc() at<br>
> /home/zampins/src/petsc/src/sys/objects/options.c:537<br>
> [0]PETSC ERROR: #2 PetscOptionsInsertFile() at<br>
> /home/zampins/src/petsc/src/sys/objects/options.c:645<br>
> [0]PETSC ERROR: #3 PetscOptionsInsertArgs() at<br>
> /home/zampins/src/petsc/src/sys/objects/options.c:684<br>
> [0]PETSC ERROR: #4 PetscOptionsInsert() at<br>
> /home/zampins/src/petsc/src/sys/objects/options.c:907<br>
> [0]PETSC ERROR: #5 PetscInitialize() at<br>
> /home/zampins/src/petsc/src/sys/objects/pinit.c:1024<br>
> <br>
> -- <br>
> Stefano<br>
<br>
-- <br>
Scott Kruger<br>
Tech-X Corporation <a href="mailto:kruger@txcorp.com" target="_blank">kruger@txcorp.com</a><br>
5621 Arapahoe Ave, Suite A Phone: (720) 466-3196<br>
Boulder, CO 80303 Fax: (303) 448-7756<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Stefano</div>