[petsc-dev] Strange issue with testsuite

Stefano Zampini stefano.zampini at gmail.com
Wed May 12 08:48:49 CDT 2021


I'm currently trying to build PETSc on a NEC-SX. Apart from other issues,
I'm facing the following issue with the testsuite.

[zampins at stork petsc]$ make test s='sys*ex54*1a*' V=1
Using MAKEFLAGS: -- V=1 s=sys*ex54*1a*
arch-debug-uni/tests/sys/tests/runex54_1_options_file-ex54options_1a_wrong.sh
 -v
 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
not ok diff-sys_tests-ex54_1_options_file-ex54options_1a_wrong # Error
code: 1
# 1a2
# > [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

However, if I run the test directly, I think it produces the proper output
to be filtered. How can I debug this?

[zampins at stork tests]$ ./ex54 -options_left 0 -options_view -options_file
ex54options_1a_wrong
[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------
[0]PETSC ERROR: Invalid argument
[0]PETSC ERROR: Unknown first token in options file ex54options_1a_wrong
line 1: !
[0]PETSC ERROR: See https://www.mcs.anl.gov/petsc/documentation/faq.html
for trouble shooting.
[0]PETSC ERROR: Petsc Development GIT revision: v3.15.0-298-g2115278b7a
 GIT Date: 2021-05-12 14:01:17 +0300
[0]PETSC ERROR: ./ex54 on a arch-debug-uni named stork by zampins Wed May
12 16:46:21 2021
[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
[0]PETSC ERROR: #1 PetscOptionsInsertFilePetsc() at
/home/zampins/src/petsc/src/sys/objects/options.c:537
[0]PETSC ERROR: #2 PetscOptionsInsertFile() at
/home/zampins/src/petsc/src/sys/objects/options.c:645
[0]PETSC ERROR: #3 PetscOptionsInsertArgs() at
/home/zampins/src/petsc/src/sys/objects/options.c:684
[0]PETSC ERROR: #4 PetscOptionsInsert() at
/home/zampins/src/petsc/src/sys/objects/options.c:907
[0]PETSC ERROR: #5 PetscInitialize() at
/home/zampins/src/petsc/src/sys/objects/pinit.c:1024

-- 
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210512/2ccfcc51/attachment.html>


More information about the petsc-dev mailing list