Re: [petsc-users] Error in PETSc configuration on Mac Sonoma

2024-06-11 Thread Danyang Su
Hi Satish, The additional configure option works. Thanks and regards, Danyang On 2024-06-11, 9: 01 PM, "Satish Balay" > wrote: Try using the additional configure option: 'LDFLAGS=-Wl,-ld_classic ZjQcmQRYFpfptBannerStart This Message Is From an External Sender

Re: [petsc-users] Error in PETSc configuration on Mac Sonoma

2024-06-11 Thread Satish Balay
Try using the additional configure option: 'LDFLAGS=-Wl,-ld_classic -Wl,-commons,use_dylibs' Also consider upgrading to the latest petsc release 3. 21. 2 Satish On Tue, 11 Jun 2024, Barry Smith wrote: > > The issue is here > > configure: 31815:  ZjQcmQRYFpfptBannerStart

Re: [petsc-users] Error in PETSc configuration on Mac Sonoma

2024-06-11 Thread Barry Smith
The issue is here configure:31815: /Users/danyangsu/Soft/PETSc/petsc-3.20.5/macos-gnu-opt/bin/mpif90 -o conftest -I. -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -g -O -fallow-argument-mismatchconftest.f90 -ldl -lm >&5 ld: warning: -commons use_dylibs is no long

Re: [petsc-users] Memory usage in SLEPc eigensolver

2024-06-11 Thread Barry Smith
You can run with -log_view -log_view_memory and it will display rich information about in which event the memory is allocated and how much. There are several columns of information and the notes displayed explain how to interpret each column. Feel fro the post the output and ask questions ab

Re: [petsc-users] Memory usage in SLEPc eigensolver

2024-06-11 Thread Jose E. Roman via petsc-users
With shift-and-invert, the internal KSP solves a system with coefficient matrix A-sigma*M, so maybe that is the difference with respect to solving with A only. Jose > El 11 jun 2024, a las 15: 24, Miroslav Kuchta ZjQcmQRYFpfptBannerStart This Message Is From an Externa

[petsc-users] Memory usage in SLEPc eigensolver

2024-06-11 Thread Miroslav Kuchta
Dear mailing list, I have a question regarding memory usage in SLEPc. Specifically, I am running out of memory when solving a generalized eigenvalue problem Ax = alpha Mx. Here M is singular so we set the problem type as GNHEP and solve with Krylov-Schur method and shift-and-invert spectral transf