| /petsc/src/sys/error/ |
| H A D | errtrace.c | 72 if (use_none) PetscErrorPrintf = PetscErrorPrintfNone; in PetscErrorPrintfInitialize() 126 if (PetscErrorPrintf == PetscErrorPrintfDefault && PETSC_STDERR != PETSC_STDOUT) { in PetscErrorPrintfHilight() 135 if (PetscErrorPrintf == PetscErrorPrintfDefault && PETSC_STDERR != PETSC_STDOUT) { in PetscErrorPrintfNormal() 201 …(void)(*PetscErrorPrintf)("--------------------- Error Message -----------------------------------… in PetscTraceBackErrorHandler() 204 …(void)(*PetscErrorPrintf)(" It appears a new error in the code was triggered after a previous err… in PetscTraceBackErrorHandler() 205 …(void)(*PetscErrorPrintf)(" - The first error was not properly handled via (for example) the use… in PetscTraceBackErrorHandler() 206 (void)(*PetscErrorPrintf)(" PetscCall(TheFunctionThatErrors()); or\n"); in PetscTraceBackErrorHandler() 207 …(void)(*PetscErrorPrintf)(" - The second error was triggered while handling the first error.\n"); in PetscTraceBackErrorHandler() 208 …(void)(*PetscErrorPrintf)(" Above is the traceback for the previous unhandled error, below the tr… in PetscTraceBackErrorHandler() 209 …(void)(*PetscErrorPrintf)(" ALL ERRORS in the PETSc libraries are fatal, you should add the appro… in PetscTraceBackErrorHandler() [all …]
|
| H A D | fp.c | 129 …if (err_ind >= 0) (void)(*PetscErrorPrintf)("*** %s occurred at pc=%X ***\n", error_codes[err_ind]… in PetscDefaultFPTrap() 130 …else (void)(*PetscErrorPrintf)("*** floating point error 0x%x occurred at pc=%X ***\n", code, SIGP… in PetscDefaultFPTrap() 196 …if (ieee_handler("set", "common", PetscDefaultFPTrap)) (*PetscErrorPrintf)("Can't set floatingpoin… in PetscSetFPTrap() 197 …} else if (ieee_handler("clear", "common", PetscDefaultFPTrap)) (*PetscErrorPrintf)("Can't clear f… in PetscSetFPTrap() 251 …if (err_ind >= 0) (void)(*PetscErrorPrintf)("*** %s occurred at pc=%X ***\n", error_codes[err_ind]… in PetscDefaultFPTrap() 252 …else (*PetscErrorPrintf)("*** floating point error 0x%x occurred at pc=%X ***\n", code, SIGPC(scp)… in PetscDefaultFPTrap() 266 …if (ieee_handler("set", "common", (sigfpe_handler_type)PetscDefaultFPTrap)) (*PetscErrorPrintf)("C… in PetscSetFPTrap() 268 …dler("clear", "common", (sigfpe_handler_type)PetscDefaultFPTrap)) (*PetscErrorPrintf)("Can't clear… in PetscSetFPTrap() 302 if (err_ind >= 0) (void)(*PetscErrorPrintf)("*** %s occurred ***\n", error_codes[err_ind].name); 303 else (void)(*PetscErrorPrintf)("*** floating point error 0x%x occurred ***\n", code); [all …]
|
| H A D | err.h | 12 ierr = (*PetscErrorPrintf)("Out of memory. This could be due to allocating\n"); in PetscErrorMemoryMessage() 13 ierr = (*PetscErrorPrintf)("too large an object or bleeding by not properly\n"); in PetscErrorMemoryMessage() 14 ierr = (*PetscErrorPrintf)("destroying unneeded objects.\n"); in PetscErrorMemoryMessage() 16 ierr = (*PetscErrorPrintf)("Memory leaked due to not properly destroying\n"); in PetscErrorMemoryMessage() 17 ierr = (*PetscErrorPrintf)("unneeded objects.\n"); in PetscErrorMemoryMessage() 26 ierr = (*PetscErrorPrintf)("Memory allocated %.0f Memory used by process %.0f\n", mem, rss); in PetscErrorMemoryMessage() 28 …else ierr = (*PetscErrorPrintf)("Try running with -on_error_malloc_dump or -malloc_view for info.\… in PetscErrorMemoryMessage()
|
| H A D | errstop.c | 38 (void)(*PetscErrorPrintf)("%s() at %s:%d\n", fun, file, line); in PetscMPIAbortErrorHandler() 39 (void)(*PetscErrorPrintf)("No support for this operation for this object type!\n"); in PetscMPIAbortErrorHandler() 40 (void)(*PetscErrorPrintf)("%s\n", mess); in PetscMPIAbortErrorHandler() 41 …} else if (n == PETSC_ERR_SIG) (void)(*PetscErrorPrintf)("%s() at %s:%d %s\n", fun, file, line, me… in PetscMPIAbortErrorHandler() 42 else (void)(*PetscErrorPrintf)("%s() at %s:%d\n %s\n", fun, file, line, mess); in PetscMPIAbortErrorHandler()
|
| H A D | signal.c | 140 …(void)(*PetscErrorPrintf)("-----------------------------------------------------------------------… 141 …if (sig >= 0 && sig <= 20) (void)(*PetscErrorPrintf)("Caught signal number %d %s\n", sig, SIGNAME[… 142 else (void)(*PetscErrorPrintf)("Caught signal\n"); 144 (void)(*PetscErrorPrintf)("Try option -start_in_debugger or -on_error_attach_debugger\n"); 145 …(void)(*PetscErrorPrintf)("or see https://petsc.org/release/faq/#valgrind and https://petsc.org/re… 147 …(void)(*PetscErrorPrintf)("or try https://docs.nvidia.com/compute-sanitizer/ComputeSanitizer/index… 151 …(void)(*PetscErrorPrintf)("--------------------- Stack Frames -----------------------------------… 155 (void)(*PetscErrorPrintf)("configure using --with-debugging=yes, recompile, link, and run \n"); 156 (void)(*PetscErrorPrintf)("to get more information on the crash.\n"); 167 …else (void)(*PetscErrorPrintf)("Run with -malloc_debug to check if memory corruption is causing th…
|
| H A D | adebug.c | 223 ierr = (*PetscErrorPrintf)("System cannot start debugger\n"); in PetscAttachDebugger() 224 ierr = (*PetscErrorPrintf)("On Cray run program in Totalview debugger\n"); in PetscAttachDebugger() 225 ierr = (*PetscErrorPrintf)("On Windows use Developer Studio(MSDEV)\n"); in PetscAttachDebugger() 229 ierr = (*PetscErrorPrintf)("PetscAttachDebugger: Cannot determine display\n"); in PetscAttachDebugger() 233 …ierr = (*PetscErrorPrintf)("PetscAttachDebugger: Cannot determine program name needed to attach de… in PetscAttachDebugger() 237 …ierr = (*PetscErrorPrintf)("PetscAttachDebugger: Cannot determine program name needed to attach de… in PetscAttachDebugger() 243 … ierr = (*PetscErrorPrintf)("PetscAttachDebugger: Error in fork() prior to attaching debugger\n"); in PetscAttachDebugger() 519 if (fun) (void)(*PetscErrorPrintf)("%s() at %s:%d %s\n", fun, file, line, mess); in PetscAttachDebuggerErrorHandler() 520 else (void)(*PetscErrorPrintf)("%s:%d %s\n", file, line, mess); in PetscAttachDebuggerErrorHandler() 560 PetscCall((*PetscErrorPrintf)("System cannot start debugger; just continuing program\n")); in PetscStopForDebugger() [all …]
|
| H A D | pstack.c | 124 …PetscCall((*PetscErrorPrintf)("No error traceback is available, the problem could be in the main p… in PetscStackView() 132 PetscCall((*PetscErrorPrintf)("The line numbers in the error traceback may not be exact.\n")); in PetscStackView() 134 …if (petscstack.file[i]) PetscCall((*PetscErrorPrintf)("#%d %s() at %s:%d\n", j, petscstack.functio… in PetscStackView() 137 if (!ptr) PetscCall((*PetscErrorPrintf)("#%d %s()\n", j, petscstack.function[i])); in PetscStackView() 138 else PetscCall((*PetscErrorPrintf)("#%d %s\n", j, petscstack.function[i])); in PetscStackView()
|
| H A D | errabort.c | 53 …(void)(*PetscErrorPrintf)("PetscAbortErrorHandler: %s() at %s:%d %s\n To prevent termination, cha… in PetscAbortErrorHandler() 55 …(void)(*PetscErrorPrintf)("PetscAbortErrorHandler: %s\n To prevent termination, change the error … in PetscAbortErrorHandler()
|
| /petsc/src/sys/memory/ |
| H A D | mtr.c | 111 …PetscCall((*PetscErrorPrintf)("PetscMallocValidate: error detected in %s() at %s:%d\n", function, … in PetscMallocValidate() 112 …PetscCall((*PetscErrorPrintf)("Root memory header %p has invalid back pointer %p\n", (void *)head,… in PetscMallocValidate() 118 …PetscCall((*PetscErrorPrintf)("PetscMallocValidate: error detected in %s() at %s:%d\n", function, … in PetscMallocValidate() 119 PetscCall((*PetscErrorPrintf)("Memory at address %p is corrupted\n", (void *)head)); in PetscMallocValidate() 120 PetscCall((*PetscErrorPrintf)("Probably write before beginning of or past end of array\n")); in PetscMallocValidate() 123 …PetscCall((*PetscErrorPrintf)("Last intact block [id=%d(%.0f)] at address %p allocated in %s() at … in PetscMallocValidate() 132 …PetscCall((*PetscErrorPrintf)("PetscMallocValidate: error detected in %s() at %s:%d\n", function, … in PetscMallocValidate() 134 …PetscCall((*PetscErrorPrintf)("Memory [id=%d(%.0f)] at address %p already freed\n", head->id, (Pet… in PetscMallocValidate() 137 …PetscCall((*PetscErrorPrintf)("Memory [id=%d(%.0f)] at address %p is corrupted (probably write pas… in PetscMallocValidate() 138 …PetscCall((*PetscErrorPrintf)("Memory originally allocated in %s() at %s:%d\n", head->functionname… in PetscMallocValidate() [all …]
|
| /petsc/src/sys/ftn-custom/ |
| H A D | zutils.c | 71 …PetscCallAbort(PETSC_COMM_SELF, (*PetscErrorPrintf)("PetscIntAddressToFortran:C and Fortran arrays… in PetscIntAddressToFortran() 72 …PetscCallAbort(PETSC_COMM_SELF, (*PetscErrorPrintf)("not commonly aligned or are too far apart to … in PetscIntAddressToFortran() 73 …PetscCallAbort(PETSC_COMM_SELF, (*PetscErrorPrintf)("by an integer. Locations: C %zu Fortran %zu\n… in PetscIntAddressToFortran() 163 PetscCall((*PetscErrorPrintf)("PetscScalarAddressToFortran:C and Fortran arrays are\n")); in PetscScalarAddressToFortran() 164 PetscCall((*PetscErrorPrintf)("not commonly aligned.\n")); in PetscScalarAddressToFortran() 165 …PetscCall((*PetscErrorPrintf)("Locations/sizeof(PetscScalar): C %g Fortran %g\n", (double)(((Petsc… in PetscScalarAddressToFortran()
|
| /petsc/src/sys/classes/viewer/impls/socket/ |
| H A D | send.c | 125 if (ierr == WSAEADDRINUSE) (*PetscErrorPrintf)("SEND: address is in use\n"); in PetscOpenSocket() 126 else if (ierr == WSAEALREADY) (*PetscErrorPrintf)("SEND: socket is non-blocking \n"); in PetscOpenSocket() 128 (*PetscErrorPrintf)("SEND: socket already connected\n"); in PetscOpenSocket() 139 PetscErrorCode ierr = (*PetscErrorPrintf)("SEND: address is in use\n"); in PetscOpenSocket() 142 PetscErrorCode ierr = (*PetscErrorPrintf)("SEND: socket is non-blocking \n"); in PetscOpenSocket() 145 PetscErrorCode ierr = (*PetscErrorPrintf)("SEND: socket already connected\n"); in PetscOpenSocket()
|
| /petsc/src/sys/objects/ftn-custom/ |
| H A D | zstart.c | 157 …*ierr = (*PetscErrorPrintf)("You cannot set PETSC_COMM_WORLD if you have not initialized MPI first… in petscinitializef_() 165 *ierr = (*PetscErrorPrintf)("PetscInitialize: Calling Fortran MPI_Init()\n"); in petscinitializef_() 176 (void)(*PetscErrorPrintf)("PetscInitialize:PetscInitialize_Common\n"); in petscinitializef_()
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmdevice.cxx | 80 …PetscCall((*PetscErrorPrintf)("PETSc is configured with GPU support, but your MPI is not GPU-aware… in initialize() 81 …PetscCall((*PetscErrorPrintf)("If you do not care, add option -use_gpu_aware_mpi 0. To not see the… in initialize() 82 …PetscCall((*PetscErrorPrintf)("For Open MPI, you need to configure it with CUDA, ROCm or GPU-aware… in initialize() 83 …PetscCall((*PetscErrorPrintf)("If you already configured it with GPU-aware UCX, you may need 'mpie… in initialize() 84 …PetscCall((*PetscErrorPrintf)("For MVAPICH2-GDR, you need to set MV2_USE_CUDA=1 (http://mvapich.cs… in initialize() 85 …PetscCall((*PetscErrorPrintf)("For Cray-MPICH, export MPICH_GPU_SUPPORT_ENABLED=1 (see its 'man mp… in initialize()
|
| /petsc/src/sys/objects/device/impls/sycl/ |
| H A D | sycldevice.sycl.cxx | 44 …PetscCall((*PetscErrorPrintf)("PETSc is configured with sycl support, but your MPI is not aware of… in initialize() 45 …PetscCall((*PetscErrorPrintf)("If you do not care, add option -use_gpu_aware_mpi 0. To not see the… in initialize()
|
| /petsc/src/vec/vec/interface/ |
| H A D | dlregisvec.c | 108 PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Can only handle MPIU_REAL_INT data types")); in MPIU_MaxIndex_Local() 134 PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Can only handle MPIU_REAL_INT data types")); in MPIU_MinIndex_Local()
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | drawreg.c | 235 …if (!dontwarn) PetscCall((*PetscErrorPrintf)("PETSc installed without X Windows on this machine\np… in PetscDrawSetType() 398 …if (!nox && !warn) PetscCall((*PetscErrorPrintf)("PETSc installed without X Windows or Microsoft G… in PetscDrawSetFromOptions()
|
| /petsc/src/sys/objects/ |
| H A D | pinit.c | 207 …PetscErrorCode ierr = (*PetscErrorPrintf)("Can only handle MPIU_2INT and MPIU_INT_MPIINT data type… in MPIU_MaxSum_Local() 304 …PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Can only handle MPIU_REAL or MPIU_COMPLEX data … in PetscSum_Local() 306 …PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Can only handle MPIU_REAL, MPIU_COMPLEX, MPIU__… in PetscSum_Local() 308 …PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Can only handle MPIU_REAL, MPIU_COMPLEX, or MPI… in PetscSum_Local() 310 …PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Can only handle MPIU_REAL, MPIU_COMPLEX, MPIU__… in PetscSum_Local() 338 …PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Can only handle MPIU_REAL or MPIU_COMPLEX data … in PetscMax_Local() 360 …PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Can only handle MPIU_REAL or MPIU_SCALAR data (… in PetscMin_Local()
|
| H A D | init.c | 83 PetscErrorCode (*PetscErrorPrintf)(const char[], ...) = PetscErrorPrintfDefault; variable 163 PetscCallContinue((*PetscErrorPrintf)("MPI error %d\n", *flag)); in Petsc_MPI_AbortOnError() 170 PetscCallContinue((*PetscErrorPrintf)("MPI error %d\n", *flag)); in Petsc_MPI_DebuggerOnError()
|
| H A D | options.c | 992 …PetscCall((*PetscErrorPrintf)("WARNING! There are unused option(s) set! Could be the program crash… in PetscOptionsLeftError() 996 …if (defaultoptions->values[i]) PetscCall((*PetscErrorPrintf)(" Option left: name:-%s value: %s so… in PetscOptionsLeftError() 997 …else PetscCall((*PetscErrorPrintf)(" Option left: name:-%s (no value) source: %s\n", defaultoptio… in PetscOptionsLeftError() 1015 PetscCall((*PetscErrorPrintf)("PETSc Option Table entries:\n")); in PetscOptionsViewError() 1017 PetscCall((*PetscErrorPrintf)("No PETSc Option Table entries\n")); in PetscOptionsViewError() 1022 …PetscCall((*PetscErrorPrintf)("-%s %s (source: %s)\n", options->names[i], options->values[i], Pets… in PetscOptionsViewError() 1024 …PetscCall((*PetscErrorPrintf)("-%s (source: %s)\n", options->names[i], PetscOptionSources[options-… in PetscOptionsViewError()
|
| /petsc/src/sys/dll/ |
| H A D | dlimpl.c | 149 …PetscCall(PetscErrorPrintf("Error closing dynamic library:\n Error message from FreeLibrary() %s\… in PetscDLClose()
|
| H A D | dl.c | 21 PetscCall(PetscErrorPrintf(" %s\n", libs->libname)); in PetscDLLibraryPrintPath()
|
| /petsc/src/vec/vec/utils/ |
| H A D | comb.c | 81 … PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Can only handle MPIU_SCALAR_INT data types")); in PetscSplitReduction_Local() 89 …PetscCallAbort(MPI_COMM_SELF, (*PetscErrorPrintf)("Reduction type input is not PETSC_SR_REDUCE_SUM… in PetscSplitReduction_Local()
|
| /petsc/doc/developers/ |
| H A D | kernel.md | 143 (*PetscErrorPrintf)("Format",...); 148 be printed with `(*PetscErrorPrintf)()`. You can direct all error
|
| /petsc/include/ |
| H A D | petscerror.h | 1362 PETSC_EXTERN PetscErrorCode (*PetscErrorPrintf)(const char[], ...) PETSC_ATTRIBUTE_FORMAT(1, 2); variable
|
| /petsc/src/sys/classes/draw/impls/x/ |
| H A D | xops.c | 648 PetscCall((*PetscErrorPrintf)("Unable to open display on %s\n\ in PetscDrawXGetDisplaySize_Private() 697 … PetscCall((*PetscErrorPrintf)("PETSc unable to use X windows\nproceeding without graphics\n")); in PetscDrawCreate_X()
|