Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-04-04 Thread Zongze Yang
The branch with the patched openmpi works fine for me. Thanks for sharing! Best wishes, Zongze > On 4 Apr 2024, at 12: 44, Satish Balay wrote: > > With xcode-15. 3 and branch "barry/2024-04-03/fix-chaco-modern-c/release" ZjQcmQRYFpfptBannerStart This Message Is From

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-04-03 Thread Satish Balay via petsc-users
With xcode-15.3 and branch "barry/2024-04-03/fix-chaco-modern-c/release" from https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7433__;!!G_uCfscf7eWS!YJPSyG4qeGbCKYRp9y16HJgjw7AOrQ0mL0QWb_XcKYZ17UwK2GtURGMpkyi4TctAY-8XqSvQUFmyCQFNnKy75fI$ [and a patched openmpi tarball

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-04-01 Thread Satish Balay via petsc-users
On Mon, 1 Apr 2024, Zongze Yang wrote: > Thank you for your update. > > I found some links that suggest this issue is related to the Apple linker, > which is causing problems with Fortran linking. > > 1. >

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-04-01 Thread Zongze Yang
Thank you for your update. I found some links that suggest this issue is related to the Apple linker, which is causing problems with Fortran linking. 1.

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-04-01 Thread Satish Balay via petsc-users
On Mon, 1 Apr 2024, Zongze Yang wrote: > > I noticed this in the config.log of OpenMPI: > ``` > configure:30230: checking to see if mpifort compiler needs additional linker > flags > configure:30247: gfortran -o conftest -fPIC -ffree-line-length-none > -ffree-line-length-0

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-04-01 Thread Zongze Yang
> On 1 Apr 2024, at 23: 38, Satish Balay wrote: > > On Sun, 31 Mar 2024, Zongze Yang wrote: >>> --- >>> petsc@ npro petsc % ./configure --download-bison --download-chaco --download-ctetgen ZjQcmQRYFpfptBannerStart This Message Is From an External Sender

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-04-01 Thread Satish Balay via petsc-users
On Sun, 31 Mar 2024, Zongze Yang wrote: > > --- > > petsc@npro petsc % ./configure --download-bison --download-chaco > > --download-ctetgen --download-eigen --download-fftw --download-hdf5 > > --download-hpddm --download-hwloc --download-hypre --download-libpng > > --download-metis

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-03-31 Thread Zongze Yang
> On 31 Mar 2024, at 02: 59, Satish Balay via petsc-users wrote: > > I'll just note - I can reproduce with: > > petsc@ npro petsc. x % ./configure --download-mpich --download-mumps --download-scalapack ZjQcmQRYFpfptBannerStart This Message Is From an External Sender

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-03-30 Thread Barry Smith
On my Mac at configure time I get clang: error: linker command failed with exit code 1 (use -v to see invocation) Possible ERROR while running linker: exit code 1 when trying to link a test case against the lapack libraries. I cannot generate ZjQcmQRYFpfptBannerStart

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-03-30 Thread Satish Balay via petsc-users
I'll just note - I can reproduce with: petsc@npro petsc.x % ./configure --download-mpich --download-mumps --download-scalapack && make && make check And then - the following work fine for me: petsc@npro petsc.x % ./configure --download-mpich --download-mumps --download-scalapack

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-03-30 Thread Barry Smith
Can you check the value of IRHSCOMP in the debugger? Using gdb as the debugger may work better for this. Barry > On Mar 30, 2024, at 3:46 AM, zeyu xia wrote: > > This Message Is From an External Sender > This message came from outside your organization. > Hi! Thanks for your reply. >

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-03-29 Thread Satish Balay via petsc-users
I'm able to reproduce this error on a slightly older xcode [but don't know why this issue comes up] > Apple clang version 15.0.0 (clang-1500.1.0.2.5) Can you try using the additional configure options (along with LDFLAGS=-Wl,-ld_classic) and see if it works? COPTFLAGS=-O0 FOPTFLAGS=-O0

Re: [petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

2024-03-29 Thread Satish Balay via petsc-users
Could you: - reinstall brew after the xcode upgrade (not just update) https://urldefense.us/v3/__https://petsc.org/main/install/install/*installing-on-macos__;Iw!!G_uCfscf7eWS!fr-mLHdhIQgT2IBZhK9C2IQMUAmTmneTF38VsNLrywxooidf1uunovfx8qJrr8-Y73tICazCqyaZ6SJ6ca6JXnQ$ - not use