This Message Is From an External Sender
This message came from outside your organization.
> On 31 Mar 2024, at 02:59, Satish Balay via petsc-users <petsc-users@mcs.anl.gov> wrote: > > 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 COPTFLAGS=-O0 FOPTFLAGS=-O0 LDFLAGS=-Wl,-ld_classic && make && make check Hello, I've encountered the same issue. Even after building PETSc with the aforementioned configuration, the error persists. Apart from the segmentation fault, occasionally the following error arises: ``` > =================================================================================== > = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES > = PID 47531 RUNNING AT yzzs-mac.local > = EXIT CODE: 6 > = CLEANING UP REMAINING PROCESSES > = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES > =================================================================================== > YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Terminated: 15 (signal 15) > This typically refers to a problem with your application. > Please see the FAQ page for debugging suggestions /Users/zzyang/workspace/repos/petsc/src/snes/tutorials Possible problem with ex19 running with MUMPS, diffs above ``` Is there a possibility that this is related to the Fortran bindings of MPICH? Best wishes, Zongze > <snip> > CLINKER arch-darwin-c-debug/lib/libpetsc.3.021.0.dylib > DSYMUTIL arch-darwin-c-debug/lib/libpetsc.3.021.0.dylib > ========================================= > Now to check if the libraries are working do: > make PETSC_DIR=/Users/petsc/petsc.x PETSC_ARCH=arch-darwin-c-debug check > ========================================= > Running PETSc check examples to verify correct installation > Using PETSC_DIR=/Users/petsc/petsc.x and PETSC_ARCH=arch-darwin-c-debug > C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process > C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes > C/C++ example src/snes/tutorials/ex19 run successfully with MUMPS > Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process > Completed PETSc check examples > petsc@npro petsc.x % > > petsc@npro petsc.z % ./configure --download-openmpi=https://urldefense.us/v3/__https://download.open-mpi.org/release/open-mpi/v5.0/openmpi-5.0.3rc1.tar.bz2__;!!G_uCfscf7eWS!adsQx6TTtuIrMPz2ZorSv0iNPff5Fm5aFUi4i9n_E7v3GfAc8XCDtrlfVFyfPEgDFe4lKLL1XzkJ3c_97YoeukE$ --download-mumps --download-scalapack && make && make check > <snip> > DSYMUTIL arch-darwin-c-debug/lib/libpetsc.3.021.0.dylib > ========================================= > Now to check if the libraries are working do: > make PETSC_DIR=/Users/petsc/petsc.z PETSC_ARCH=arch-darwin-c-debug check > ========================================= > Running PETSc check examples to verify correct installation > Using PETSC_DIR=/Users/petsc/petsc.z and PETSC_ARCH=arch-darwin-c-debug > C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process > C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes > C/C++ example src/snes/tutorials/ex19 run successfully with MUMPS > Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process > Completed PETSc check examples > petsc@npro petsc.z % > > [however parmmg and pastix are failing to build with openmpi] > > And I thought this worked for me yesterday - but I see failures now. > > ./configure --download-bison --download-chaco --download-ctetgen --download-eigen --download-fftw --download-hdf5 --download-hpddm --download-hwloc --download-hwloc-configure-arguments=--disable-opencl --download-hypre --download-libpng --download-metis --download-mmg --download-mpich --download-mpich-configure-arguments=--disable-opencl --download-mumps --download-netcdf --download-openblas --download-openblas-make-options="'USE_THREAD=0 USE_LOCKING=1 USE_OPENMP=0'" --download-parmmg --download-pastix --download-pnetcdf --download-pragmatic --download-ptscotch --download-scalapack --download-slepc --download-suitesparse --download-superlu_dist --download-tetgen --download-triangle --with-c2html=0 --with-debugging=1 --with-fortran-bindings=0 --with-shared-libraries=1 --with-x=0 --with-zlib --COPTFLAGS=-O0 --FOPTFLAGS=-O0 --LDFLAGS=-Wl,-ld_classic --with-clean > > Satish > > On Sat, 30 Mar 2024, Barry Smith wrote: > >> >> 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 <xiazey...@gmail.com> wrote: >>> >>> This Message Is From an External Sender >>> This message came from outside your organization. >>> Hi! Thanks for your reply. >>> >>> There still exist some problems, as seen in the files 'configure.log', 'make check3.txt', and 'debug.txt' in the attachment. Particularly, the file 'debug.txt' contains the output of bt command of lldb. >>> >>> Thanks for your attention. >>> >>> Best regards, >>> Zeyu Xia >>> >>> >>> Satish Balay <ba...@mcs.anl.gov <mailto:ba...@mcs.anl.gov>> 于2024年3月30日周六 02:52写道: >>>> 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 >>>> >>>> Satish >>>> >>>> On Fri, 29 Mar 2024, zeyu xia wrote: >>>> >>>>> Hi! I am grateful for your prompt response. >>>>> >>>>> I follow your suggestions, and however, it still does not work. For the >>>>> related information please find the files 'make check2.txt' and >>>>> 'configure.log' in the attachment. >>>>> >>>>> If possible, please do me a favor again. Thanks for your patience. >>>>> >>>>> Best wishes, >>>>> Zeyu Xia >>>>> >>>>> >>>>> Satish Balay <ba...@mcs.anl.gov <mailto:ba...@mcs.anl.gov>> 于2024年3月29日周五 23:48写道: >>>>> >>>>>> 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!dGItos-D58VSJn4kOlKy2TEX-PWhflbWfNuM0zqhEXbGniD5S13iWCxgBmg9wYk4OrSwaP6jjzANIHN1ZHATKXE$ >>>>>>- not use --LDFLAGS=-Wl,-ld_classic >>>>>> >>>>>> And see if the problem persists? >>>>>> >>>>>> Satish >>>>>> >>>>>> On Fri, 29 Mar 2024, zeyu xia wrote: >>>>>> >>>>>>> Dear PETSc team: >>>>>>> >>>>>>> Recently I installed firedrake on MacOS (arm64) with the latest >>>>>>> Xcode, and there seems some error with mumps. I ran two times of the >>>>>>> command `make check`. The first time it just output wrong results, and >>>>>> the >>>>>>> second time it raised an error with Segmentation Violation. Please see >>>>>> the >>>>>>> files “make check.txt” and “configure.log” in the attachment. >>>>>>> >>>>>>> I will certainly be happy and grateful if you can take some time >>>>>> to >>>>>>> deal with this problem. Thanks for your patience. >>>>>>> >>>>>>> Best wishes, >>>>>>> Zeyu Xia >>>>>>> >>>>>> >>>>> >>> <make check3.txt><configure.tar.gz><debug.txt> >>