Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test issue401_tst fails #440

Closed
badshah400 opened this issue Oct 19, 2023 · 1 comment
Closed

Test issue401_tst fails #440

badshah400 opened this issue Oct 19, 2023 · 1 comment

Comments

@badshah400
Copy link
Contributor

Expected behavior

When running tests with ctest, we see that test number 12 fails:

  9/28 Test #12: issue401_tst .....................***Failed    0.11 sec

Actual behavior

All tests must pass.

Where/how to reproduce the problem

  • arpack-ng: version 3.9.1
  • OS: openSUSE Tumbleweed Linux (x86_64)
  • compiler: GCC 13.2.1
  • environment:
export 'FCFLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC'
export 'CFLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC'
export 'CXXFLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC'
  • configure:
/usr/bin/cmake /home/abuild/rpmbuild/BUILD/arpack-ng-3.9.1/. '-GUnix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=var -DCMAKE_INSTALL_RUNSTATEDIR:PATH=run -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo '-DCMAKE_C_FLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC' '-DCMAKE_CXX_FLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC' '-DCMAKE_Fortran_FLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC' '-DCMAKE_EXE_LINKER_FLAGS=-flto=auto -Wl,--as-needed -Wl,-z,now' '-DCMAKE_MODULE_LINKER_FLAGS=-flto=auto -Wl,--as-needed' '-DCMAKE_SHARED_LINKER_FLAGS=-flto=auto -Wl,--as-needed -Wl,-z,now' -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_COLOR_MAKEFILE:BOOL=OFF -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_MODULES_INSTALL_DIR=/usr/lib64/cmake/arpack-ng -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_SKIP_RPATH:BOOL=OFF -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON -DCMAKE_CXX_COMPILER_VERSION=13.2.1 -DMPI:BOOL=OFF -DPYTHON3:BOOL=ON

Steps to reproduce the problem

  • Configure with flags and options detailed above.
  • Build with make
  • Run ctest

Error message

[  280s]  9/28 Test #12: issue401_tst .....................***Failed    0.11 sec
[  280s] OPT: A issue401.mtx, B N.A., dense no, nbEV 1, nbCV 5, stdPb yes, symPb yes, cpxPb no, simplePrec no, mag LA
[  280s] OPT: shiftReal no, sigmaReal 0, shiftImag no, sigmaImag 0, invert no, tol 1e-06, maxIt 100, Ritz vectors
[  280s] OPT: slv BiCG, slvItrPC Diag, slvItrTol 1e-06, slvItrMaxIt 100
[  280s] OPT: check yes, verbose 0, debug 0, restart no
[  280s]
[  280s] INP: create A 0 s
[  280s]
[  280s] OUT: mode 1, nb EV found 1, nb iterations 1
[  280s] OUT: init mode solver 0 s, RCI time 0 s
[  280s] OUT: full time 0 s
[  280s]
[  280s] STAT: total number of user OP*x operation                         9
[  280s] STAT: total number of user  B*x operation                         0
[  280s] STAT: total number of reorthogonalization steps taken             4
[  280s] STAT: total number of it. refinement steps in reorthogonalization 8
[  280s] STAT: total number of restart steps                               3
[  280s] OPT: A issue401.mtx, B N.A., dense no, nbEV 1, nbCV 5, stdPb yes, symPb yes, cpxPb no, simplePrec no, mag LA
[  280s] OPT: shiftReal no, sigmaReal 0, shiftImag no, sigmaImag 0, invert no, tol 1e-06, maxIt 100, Ritz vectors
[  280s] OPT: slv BiCG, slvItrPC Diag, slvItrTol 1e-06, slvItrMaxIt 100
[  280s] OPT: check yes, verbose 0, debug 0, restart yes
[  280s]
[  280s] INP: create A 0 s
[  280s] Error: bad dim - restart KO
[  280s] Error: bad restart (resid)
[  280s] Error: arpack solve KO
[  280s] Error: solve KO
[  280s] Error: arpack solve KO
...
[  323s] 96% tests passed, 1 tests failed out of 28
[  323s]
[  323s] Total Test time (real) =  43.17 sec
[  323s]
[  323s] The following tests FAILED:
[  323s]         12 - issue401_tst (Failed)

Notes, remarks

No such issue is seen with arpack-ng version 3.9.0 when building with the same flags, options, and system libraries.

@badshah400
Copy link
Contributor Author

I see that this is the same issue as #439

@badshah400 badshah400 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant