17#include "libmesh/petsc_solver_exception.h"
18#include "libmesh/reference_counter.h"
23#ifdef LIBMESH_HAVE_OPENMP
27#ifdef MOOSE_LIBTORCH_ENABLED
28#include <ATen/Parallel.h>
48 : LibMeshInit(argc, argv, COMM_WORLD_IN)
50 LibmeshPetscCallA(COMM_WORLD_IN, PetscPopSignalHandler());
53#ifdef LIBMESH_HAVE_OPENMP
57#ifdef MOOSE_LIBTORCH_ENABLED
72#ifdef MOOSE_KOKKOS_ENABLED
void SigHandler(int signum)
void RegisterSigHandler()
MooseInit(int argc, char *argv[], MPI_Comm COMM_WORLD_IN=MPI_COMM_WORLD)
static void seed(unsigned int seed)
The method seeds the random number generator.
static void initialize()
Must be called by main thread before any threaded computation! Do NOT call in a worker thread!
static void disable_print_counter_info()
volatile std::sig_atomic_t interrupt_signal_number
Used by the signal handler to determine if we should write a checkpoint file out at any point during ...
bool on_command_line(std::string arg)