<div dir="ltr"><div>I'm currently trying to build PETSc on a NEC-SX. Apart from other issues, I'm facing the following issue with the testsuite.</div><div><br></div><div>[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  -v<br> ok sys_tests-ex54_1_options_file-ex54options_1a_wrong # /home/zampins/src/petsc/lib/petsc/bin/petsc-mpiexec.uni  -n 1 ../ex54 -options_left 0 -options_view -options_file ex54options_1a_wrong  2>&1 | cat > ex54_1_options_file-ex54options_1a_wrong.tmp<br>not ok diff-sys_tests-ex54_1_options_file-ex54options_1a_wrong # Error code: 1<br>#     1a2<br>#  > [0]PETSC ERROR: /home/zampins/src/petsc/arch-debug-uni/tests/sys/tests/runex54_1_options_file-ex54options_1a_wrong/../ex54 on a arch-debug-uni named stork by zampins Wed May 12 16:45:46 2021</div><div><br></div><div>However, if I run the test directly, I think it produces the proper output to be filtered. How can I debug this?</div><div><br>[zampins@stork tests]$ ./ex54 -options_left 0 -options_view -options_file ex54options_1a_wrong<br>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Invalid argument<br>[0]PETSC ERROR: Unknown first token in options file ex54options_1a_wrong line 1: !<br>[0]PETSC ERROR: See <a href="https://www.mcs.anl.gov/petsc/documentation/faq.html">https://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[0]PETSC ERROR: Petsc Development GIT revision: v3.15.0-298-g2115278b7a  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 12 16:46:21 2021<br>[0]PETSC ERROR: Configure options --FC_LINKER_FLAGS="-Wl,-z -Wl,muldefs" --download-sowing-configure-arguments="CC=ncc CXX=nc++" --with-blaslapack-lib="[/opt/nec/ve/nlc/2.3.0/lib/liblapack.a,/opt/nec/ve/nlc/2.3.0/lib/libblas_sequential.a]" --with-cc=ncc --with-cxx=nc++ --with-debugging=1 --with-fc=nfort --with-mpi=0 --with-shared-ld=nld --with-shared-libraries=1 PETSC_ARCH=arch-debug-uni<br>[0]PETSC ERROR: #1 PetscOptionsInsertFilePetsc() at /home/zampins/src/petsc/src/sys/objects/options.c:537<br>[0]PETSC ERROR: #2 PetscOptionsInsertFile() at /home/zampins/src/petsc/src/sys/objects/options.c:645<br>[0]PETSC ERROR: #3 PetscOptionsInsertArgs() at /home/zampins/src/petsc/src/sys/objects/options.c:684<br>[0]PETSC ERROR: #4 PetscOptionsInsert() at /home/zampins/src/petsc/src/sys/objects/options.c:907<br>[0]PETSC ERROR: #5 PetscInitialize() at /home/zampins/src/petsc/src/sys/objects/pinit.c:1024<br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Stefano</div></div>