Hi,
I'm attempting to run an inversion for friction coefficient (the goal is to actually run for FrictionC but using coulomb friction is giving me a different error), using a thickness misfit convergence. The forward model runs successfully, but the inverse model always fails at (or just after) the 'computing adjoint' message in the first inverse step.
I get the following error (shown for one core, but the lines preceded by [17] show for every core)
`[17]PETSC ERROR: ------------------------------------------------------------------------
[17]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[17]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[17]PETSC ERROR: or see https://petsc.org/release/faq/#valgrind
[17]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple MacOS to find memory corruption errors
[17]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
[17]PETSC ERROR: to get more information on the crash.
[17]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[17]PETSC ERROR: Signal received
[17]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.
[17]PETSC ERROR: Petsc Release Version 3.17.4, Aug 01, 2022
[17]PETSC ERROR: /home/jns923/Desktop/ISSM-Linux-MATLAB/bin/issm.exe on a named jns923-issm by jns923 Tue Jun 27 16:58:32 2023
[17]PETSC ERROR: Configure options --prefix=/home/jenkins/workspace/Debian_Linux-Binaries-MATLAB/externalpackages/petsc/install --PETSC_DIR=/home/jenkins/workspace/Debian_Linux-Binaries-MATLAB/externalpackages/petsc/src --with-shared-libraries=0 --CFLAGS=-fPIC --CXXFLAGS=-fPIC --FFLAGS=-fPIC --with-debugging=0 --with-valgrind=0 --with-x=0 --with-ssl=0 --download-fblaslapack=1 --download-mpich=1 --download-metis=1 --download-parmetis=1 --download-scalapack=1 --download-mumps=1 --download-zlib=1
[17]PETSC ERROR: #1 User provided function() at unknown file:0
[17]PETSC ERROR: Run with -malloc_debug to check if memory corruption is causing the crash.
application called MPI_Abort(MPI_COMM_WORLD, 59) - process 17
[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.17.4, Aug 01, 2022
[0]PETSC ERROR: /home/jns923/Desktop/ISSM-Linux-MATLAB/bin/issm.exe on a named jns923-issm by jns923 Tue Jun 27 16:58:32 2023
[0]PETSC ERROR: Configure options --prefix=/home/jenkins/workspace/Debian_Linux-Binaries-MATLAB/externalpackages/petsc/install --PETSC_DIR=/home/jenkins/workspace/Debian_Linux-Binaries-MATLAB/externalpackages/petsc/src --with-shared-libraries=0 --CFLAGS=-fPIC --CXXFLAGS=-fPIC --FFLAGS=-fPIC --with-debugging=0 --with-valgrind=0 --with-x=0 --with-ssl=0 --download-fblaslapack=1 --download-mpich=1 --download-metis=1 --download-parmetis=1 --download-scalapack=1 --download-mumps=1 --download-zlib=1
[0]PETSC ERROR: #1 User provided function() at unknown file:0
[0]PETSC ERROR: Run with -malloc_debug to check if memory corruption is causing the crash.
application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
[1]PETSC ERROR: Run with -malloc_debug to check if memory corruption is causing the crash.
application called MPI_Abort(MPI_COMM_WORLD, 59) - process 1
[4]PETSC ERROR: Run with -malloc_debug to check if memory corruption is causing the crash.
application called MPI_Abort(MPI_COMM_WORLD, 59) - process 4
loading results from cluster
Warning:
Binary file Columbia_Inversion.outbin not found!
This typically happens when the run crashed.
Please check for error messages above or in the outlog
In loadresultsfromdisk (line 16)
In loadresultsfromcluster (line 50)
In solve (line 180)
In columbia_inversion (line 278)
`
I'm using the precompiled binaries (4.23) for Linux, Matlab wrapper, in a Ubuntu 22.04.2 VM. I have the same error after reinstalling ISSM, running on a different computer, and from 1-18 cores.
Any help would be greatly appreciated.
Cheers,
James