Dear @prj,
I would like to use the ‘Augmented Lagrangian Preconditioner for Large-Scale Hydrodynamic Stability Analysis’ method based on your codes. However, when I try to run the codes, the base-flow calculation runs fine, but the eigenvalue computation does not work. It stops when the method ‘EPSSolve’ is called, with the following message:
[0]PETSC ERROR: #1 PetscCommDuplicate() line 118 in /builds/workspace/FreeFEM-sources-deployDEB-withPETSc/3rdparty/ff-petsc/petsc-3.13.0/src/sys/objects/tagm.c
[0]PETSC ERROR: #2 PetscHeaderCreate_Private() line 63 in /builds/workspace/FreeFEM-sources-deployDEB-withPETSc/3rdparty/ff-petsc/petsc-3.13.0/src/sys/objects/inherit.c
[0]PETSC ERROR: #3 MatCreate() line 83 in /builds/workspace/FreeFEM-sources-deployDEB-withPETSc/3rdparty/ff-petsc/petsc-3.13.0/src/mat/utils/gcreate.c
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: [1]PETSC ERROR: #1 PetscCommDuplicate() line 118 in /builds/workspace/FreeFEM-sources-deployDEB-withPETSc/3rdparty/ff-petsc/petsc-3.13.0/src/sys/objects/tagm.c
Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see https://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
[0]PETSC ERROR: to get more information on the crash.
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Signal received
[0]PETSC ERROR: See https://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.13.0, Mar 29, 2020
[0]PETSC ERROR: FreeFem+±mpi on a named DESKTOP-8VC8OSF by root Sat Sep 12 11:17:02 2020
[0]PETSC ERROR: Configure options MAKEFLAGS= --prefix=/usr/local/ff-petsc//c --with-debugging=0 COPTFLAGS="-O3 -mtune=generic" CXXOPTFLAGS="-O3 -mtune=generic" FOPTFLAGS="-O3 -mtune=generic" --with-cxx-dialect=C++11 --with-ssl=0 --with-x=0 --with-fortran-bindings=0 --with-cc=/usr/bin/mpicc --with-cxx=/usr/bin/mpic++ --with-fc=/usr/bin/mpif90 --with-scalar-type=complex --with-blaslapack-include= --with-blaslapack-lib="-llapack -lblas" --with-scalapack-dir=/usr/local/ff-petsc//r --with-metis-dir=/usr/local/ff-petsc//r --with-ptscotch-dir=/usr/local/ff-petsc//r --with-suitesparse-include=/usr/local/ff-petsc/r/include --with-suitesparse-lib="-Wl,-rpath,/usr/local/ff-petsc/r/lib -L/usr/local/ff-petsc/r/lib -lumfpack -lklu -lcholmod -lbtf -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig" --with-mumps-dir=/usr/local/ff-petsc//r --with-parmetis-dir=/usr/local/ff-petsc//r --with-tetgen-dir=/usr/local/ff-petsc//r --download-slepc --download-hpddm --download-hpddm-commit=e8639ff PETSC_ARCH=fc
[0]PETSC ERROR: #4 User provided function() line 0 in unknown file
[DESKTOP-8VC8OSF:00232] 3 more processes have sent help message help-mpi-api.txt / mpi-abort
Do you have any idea what causes this issue? I am running the code in the Windows Ubuntu app version Ubuntu 18.04.4 LTS, FreeFem version 4.6.
Thank you for your help in advance
András