aurora-multiphysics / VacuumMesher

Implementing mesh skinning functionality within libMesh, as well as the generation of the vaccum Mesh (The area surrounding a meshed geometry).
2 stars 1 forks source link

segfault on examples #18

Open jvwilliams23 opened 2 months ago

jvwilliams23 commented 2 months ago

Hi,

I am running into seg faults when running the vacuum example

[scarf1324@cn1052 oldcommitVacuumMesher]$ ./build/bin/vacuum -v -i Examples/example_mesh.e -o example_vac.e --bound_len 2
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: 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://petsc.org/release/faq/#valgrind and https://petsc.org/release/faq/
[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: Run with -malloc_debug to check if memory corruption is causing the crash.
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 59.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

I have tried on the latest commit and also an older one (9123320c144982fa3df9db620e6a3694cbb983e3).

Sometimes it works fine, sometimes it gives the above error. On the mesh I am trying to build the vacuum for (much larger than the example), it gives this error every time.

I am using the following configuration: