| /petsc/src/sys/error/ |
| H A D | errstop.c | 31 …st char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, PetscCtx ctx) in PetscMPIAbortErrorHandler() argument 34 if (!mess) mess = " "; in PetscMPIAbortErrorHandler() 40 (void)(*PetscErrorPrintf)("%s\n", mess); in PetscMPIAbortErrorHandler() 41 …lse if (n == PETSC_ERR_SIG) (void)(*PetscErrorPrintf)("%s() at %s:%d %s\n", fun, file, line, mess); in PetscMPIAbortErrorHandler() 42 else (void)(*PetscErrorPrintf)("%s() at %s:%d\n %s\n", fun, file, line, mess); in PetscMPIAbortErrorHandler()
|
| H A D | errabort.c | 42 …st char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, PetscCtx ctx) in PetscAbortErrorHandler() argument 53 …ent termination, change the error handler using PetscPushErrorHandler()\n", fun, file, line, mess); in PetscAbortErrorHandler() 55 …er: %s\n To prevent termination, change the error handler using PetscPushErrorHandler()\n", mess); in PetscAbortErrorHandler()
|
| H A D | errtrace.c | 37 …st char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, PetscCtx ctx) in PetscIgnoreErrorHandler() argument 44 (void)mess; in PetscIgnoreErrorHandler() 177 …st char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, PetscCtx ctx) in PetscTraceBackErrorHandler() argument 221 else if (mess) (void)(*PetscErrorPrintf)("%s\n", mess); in PetscTraceBackErrorHandler()
|
| H A D | err.c | 56 …st char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, PetscCtx ctx) in PetscEmacsClientErrorHandler() argument 78 ierr = PetscTraceBackErrorHandler(comm, line, fun, file, n, p, mess, NULL); in PetscEmacsClientErrorHandler() 81 ierr = (*eh->handler)(comm, line, fun, file, n, p, mess, eh->ctx); in PetscEmacsClientErrorHandler() 123 …r *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, PetscCtx ctx), Pet… in PetscPushErrorHandler() argument 187 …st char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, PetscCtx ctx) in PetscReturnErrorHandler() argument 194 (void)mess; in PetscReturnErrorHandler() 386 …ine, const char *func, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, ...) in PetscError() argument 398 if (mess) { in PetscError() 399 va_start(Argp, mess); in PetscError() 400 (void)PetscVSNPrintf(buf, 2048, mess, &fullLength, Argp); in PetscError()
|
| H A D | adebug.c | 511 … char *fun, const char *file, PetscErrorCode num, PetscErrorType p, const char *mess, PetscCtx ctx) in PetscAttachDebuggerErrorHandler() argument 517 if (!mess) mess = " "; in PetscAttachDebuggerErrorHandler() 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()
|
| /petsc/src/sys/error/ftn-custom/ |
| H A D | zerrf.c | 30 …st char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, PetscCtx ctx) in ourerrorhandler() argument 37 ierr = PetscStrlen(mess, &len3); in ourerrorhandler() 40 …(*f2)(&comm, &line, fun, file, &n, &p, mess, ctx, &ierr, (PETSC_FORTRAN_CHARLEN_T)len1, (PETSC_FOR… in ourerrorhandler() 48 …*fun, const char *file, PetscErrorCode *n, PetscErrorType *p, const char *mess, PetscCtx ctx, Pets… in petsctracebackerrorhandler_() argument 50 *ierr = PetscTraceBackErrorHandler(*comm, *line, fun, file, *n, *p, mess, ctx); in petsctracebackerrorhandler_() 53 …*fun, const char *file, PetscErrorCode *n, PetscErrorType *p, const char *mess, PetscCtx ctx, Pets… in petscaborterrorhandler_() argument 55 *ierr = PetscAbortErrorHandler(*comm, *line, fun, file, *n, *p, mess, ctx); in petscaborterrorhandler_() 58 …*fun, const char *file, PetscErrorCode *n, PetscErrorType *p, const char *mess, PetscCtx ctx, Pets… in petscattachdebuggererrorhandler_() argument 60 *ierr = PetscAttachDebuggerErrorHandler(*comm, *line, fun, file, *n, *p, mess, ctx); in petscattachdebuggererrorhandler_() 63 …*fun, const char *file, PetscErrorCode *n, PetscErrorType *p, const char *mess, PetscCtx ctx, Pets… in petscemacsclienterrorhandler_() argument [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/ |
| H A D | _util.py | 56 …mess = f'Incorrect use of {func_cursor.displayname}(), use {valid_func_name}() instead:\n{Cursor.g… 60 Diagnostic.Kind.ERROR, _CodeDiags.diags.incompatible_function, mess, 145 mess = f'Incorrect use of {valid_func}(), {valid_func}() should only be used for {type_x}' 149 Diagnostic.Kind.ERROR, _CodeDiags.diags.incompatible_type, mess, 275 …mess = f'Incorrect use of {func_name}(), {func_name}() should only be used for PetscBool or b… 279 Diagnostic.Kind.ERROR, _CodeDiags.diags.incompatible_function, mess, obj.extent.start 339 …mess = f'Type \'{typename}\' is prefixed with \'_p_\' to indicate it is a PetscObject but {reason}… 340 diag.add_note(mess).add_note( 364 …mess = f"Classid doesn't match. Expected '{expected}' found '{name}':\n{obj_classid.formatted(… 366 Diagnostic.Kind.ERROR, _CodeDiags.diags.incompatible_classid, mess, obj_classid.extent.start, [all …]
|
| /petsc/src/sys/tests/ |
| H A D | ex1f.F90 | 16 subroutine MyErrHandler(comm, line, fun, file, n, p, mess, ctx, ierr) argument 21 character*(*) fun, file, mess 23 write (6, *) 'My error handler ', mess
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | gcov.py | 135 … mess = 'Invalid gcovr version string, cannot determine gcovr version from:\n{}'.format(raw_output) 136 raise RuntimeError(mess) from ie 242 mess = 'gcovr JSON version \'{}\' is incompatible, script is tested with version(s) {}'.format( 245 raise RuntimeError(mess) 330 mess = 'could not locate gcovr report tarballs in:\n{}'.format( 333 raise RuntimeError(mess) 670 def add_logfile_path(mess, stream_name): argument 675 mess.append(' {}: {}'.format(stream_name, path)) 676 return mess 680 …mess = textwrap.wrap('An error occurred while processing GCOVR results. NOTE THAT DEBUG LOGS ARE … [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/ |
| H A D | _doc_section_base.py | 154 …mess = f"{name} seems to be missing a description separator; I suspect you may be using '{self.se… 157 …mess = f"{name} missing a description. Expected '{self.arg} {self.expected_sep} a very useful desc… 160 docstring.add_diagnostic_from_source_range(Diagnostic.Kind.ERROR, diag, mess, loc) 441 mess = f'Required section \'{self.titles[0]}\' not found' 443 Diagnostic.Kind.ERROR, diag, mess, docstring.extent, highlight=False 458 …mess = 'Section appears to be empty; while I\'m all for a good mystery, you should probably e… 460 Diagnostic.Kind.ERROR, diag, mess, self.extent, highlight=highlight 564 mess = "Multiple '{}' subheadings. Much like Highlanders, there can only be one:\n{}".format( 568 Diagnostic(Diagnostic.Kind.ERROR, self.diags.section_header_unique, mess, self.extent.start) 596 mess = 'Heading must appear alone on a line, any content must be on the next line' [all …]
|
| H A D | _doc_str.py | 859 …mess = f'Invalid comment begin line, does not contain sowing identifier. Expected \'/*{sow… 860 … self.add_diagnostic_from_source_range(Diagnostic.Kind.ERROR, diag_name, mess, begin_sowing_range) 931 mess = 'Invalid comment begin line, must only contain \'/*\' and sowing identifier' 933 Diagnostic.Kind.ERROR, diag_name, mess, restloc, 968 …mess = 'Invalid line-spacing between docstring and the symbol it describes. The docstring must app… 972 Diagnostic.Kind.ERROR, diag, mess, eloc, highlight=False, patch=Patch(floc, '') 994 …mess = f'Invalid indentation ({indent}), all regular (non-empty, non-parameter, non-seealso) text … 996 Diagnostic.Kind.ERROR, diag, mess, loc, patch=Patch(loc, ' ' * expected_ind) 1063 …mess = f'Line seems to be a section header but doesn\'t directly end with \':\', did you mean \'{m… 1065 … mess = f'Line seems to be a section header but missing \':\', did you mean \'{match_title}:\'?' [all …]
|
| H A D | _doc_section.py | 248 …mess = f"Macro docstring explicit synopsis appears to have incorrect include line. Could not locat… 250 Diagnostic.Kind.ERROR, self.diags.macro_explicit_synopsis_valid_header, mess, header_loc 262 …mess = f'Removing {cursor.spelling} from the decl list:\n{decls}\nhas emptied it. Maybe this means… 263 raise RuntimeError(mess) 1072 mess = f"Level subheading must be lowercase, expected '{locase}' found '{level_name}'" 1103 mess = f"Unknown Level subheading '{level_name}', assuming you meant '{lvl_match}'" 1109 mess = f"Unknown Level subheading '{level_name}', expected one of {expected}" 1110 …docstring.add_diagnostic_from_source_range(Diagnostic.Kind.ERROR, diag, mess, sub_loc, patch=patch) 1292 …mess = f"Found self-referential seealso entry '{text}'; your documentation may be good but it's no… 1294 Diagnostic.Kind.ERROR, self.diags.self_reference, mess, loc,
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _clang.py | 194 …mess = f'Trying to call {self._function.__name__}(). Wrong number of arguments for function, expec… 195 raise ValueError(mess) 198 …mess = f'Trying to call {self._function.__name__}(). Argument type for argument #{i} does not matc… 199 raise TypeError(mess)
|
| /petsc/src/sys/logging/handler/impls/nested/ |
| H A D | xmlviewer.c | 194 PetscLogDouble flops, mem, red, mess; in PetscPrintGlobalPerformance() local 224 mess = 0.5 * (petsc_irecv_ct + petsc_isend_ct + petsc_recv_ct + petsc_send_ct); in PetscPrintGlobalPerformance() 225 …alPerformanceElement(viewer, "messagetransfers", "MPI Message Transfers", mess, print_average_yes,… in PetscPrintGlobalPerformance() 228 mess = 0.5 * (petsc_irecv_len + petsc_isend_len + petsc_recv_len + petsc_send_len); in PetscPrintGlobalPerformance() 229 …alPerformanceElement(viewer, "messagevolume", "MPI Message Volume (MiB)", mess / 1024.0 / 1024.0, … in PetscPrintGlobalPerformance()
|
| /petsc/src/sys/logging/handler/impls/default/ |
| H A D | logdefault.c | 1275 PetscLogDouble stageTime, flops, flopr, mem, mess, messLen, red; in PetscLogHandlerView_Default_Info() local 1397 mess = 0.5 * (petsc_irecv_ct + petsc_isend_ct + petsc_recv_ct + petsc_send_ct); in PetscLogHandlerView_Default_Info() 1398 PetscCallMPI(MPIU_Allreduce(&mess, &min, 1, MPIU_PETSCLOGDOUBLE, MPI_MIN, comm)); in PetscLogHandlerView_Default_Info() 1399 PetscCallMPI(MPIU_Allreduce(&mess, &max, 1, MPIU_PETSCLOGDOUBLE, MPI_MAX, comm)); in PetscLogHandlerView_Default_Info() 1400 PetscCallMPI(MPIU_Allreduce(&mess, &tot, 1, MPIU_PETSCLOGDOUBLE, MPI_SUM, comm)); in PetscLogHandlerView_Default_Info() 1407 mess = 0.5 * (petsc_irecv_len + petsc_isend_len + petsc_recv_len + petsc_send_len); in PetscLogHandlerView_Default_Info() 1408 PetscCallMPI(MPIU_Allreduce(&mess, &min, 1, MPIU_PETSCLOGDOUBLE, MPI_MIN, comm)); in PetscLogHandlerView_Default_Info() 1409 PetscCallMPI(MPIU_Allreduce(&mess, &max, 1, MPIU_PETSCLOGDOUBLE, MPI_MAX, comm)); in PetscLogHandlerView_Default_Info() 1410 PetscCallMPI(MPIU_Allreduce(&mess, &tot, 1, MPIU_PETSCLOGDOUBLE, MPI_SUM, comm)); in PetscLogHandlerView_Default_Info() 1480 …PetscCallMPI(MPIU_Allreduce(&stage_info->numMessages, &mess, 1, MPIU_PETSCLOGDOUBLE, MPI_SUM, comm… in PetscLogHandlerView_Default_Info() [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | PETSc.pyx | 295 const char *mess, 323 if mess != NULL: PyList_Append(tbl, bytes2str(mess)) 335 const char *mess, 340 return traceback(comm, line, cfunc, cfile, n, p, mess, ctx) 342 return PetscTBEH(comm, line, cfunc, cfile, n, p, mess, ctx)
|
| /petsc/src/sys/objects/ftn-custom/ |
| H A D | zoptionsf.c | 55 PETSC_EXTERN void petscoptionsbegin_(MPI_Fint *fcomm, char *prefix, char *mess, char *sec, PetscErr… in petscoptionsbegin_() argument 61 FIXCHAR(mess, lenmess, cmess); in petscoptionsbegin_() 74 FREECHAR(mess, cmess); in petscoptionsbegin_()
|
| /petsc/share/petsc/ |
| H A D | chkerrconvert.py | 255 …mess = 'Must either define PETSC_DIR as environment variable or pass it via flags to use '+start_p… 256 raise RuntimeError(mess) from ke
|
| /petsc/config/BuildSystem/config/ |
| H A D | setCompilers.py | 1014 …mess = 'Explicitly setting C++ dialect in compiler flags may not be optimal. Use ./configure --{op… 1015 self.logPrintWarning(mess) 1045 …mess = 'C++{unsup_ver} is not yet fully supported, PETSc only tests up to C++{maxver}. Remove -std… 1046 self.logPrintWarning(mess) 1061 … mess = 'PETSc requires at least C++{} when using {}'.format(minver, language.replace('x', '+')) 1063 mess = 'Unknown C++ dialect: {}'.format(withLangDialect) 1065 …mess += ' (you have explicitly requested --{}={}). Remove this flag and let configure choose the m… 1068 raise ConfigureSetupError(mess) 1069 raise RuntimeError(mess) 1106 mess = 'Could not find a dialect number that matches the package bounds: {}'.format( [all …]
|
| H A D | package.py | 1176 mess = None 1178 mess = 'requires C++ but C++ compiler not set' 1180 mess = 'requires Fortran but Fortran compiler not set' 1182 mess = 'requires real MPI but MPIUNI is being used' 1184 mess = 'cannot work with C++ version being used' 1186 mess = 'does not support the current precision '+ self.defaultPrecision.lower() 1188 mess = 'does not support complex numbers but PETSc being build with complex' 1190 mess = 'does not support 64-bit indices which PETSc is configured for' 1192 mess = 'requires 32-bit BLAS/LAPACK indices but configure is building with 64-bit' 1194 if mess: [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | main.py | 263 mess 266 for mess in dlist
|
| /petsc/include/ |
| H A D | petscoptions.h | 194 #define PetscOptionsBegin(comm, prefix, mess, sec) \ argument 200 PetscCall(PetscOptionsBegin_Private(PetscOptionsObject, comm, prefix, mess, sec))
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _linter.py | 184 for mess in v.values(): 185 print_list.append('\n'.join(mess))
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | CUDA.py | 522 mess = """ 536 self.logPrintWarning(mess)
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | mark_dcontext.cxx | 494 #define DEBUG_INFO(mess, ...) PetscDebugInfo(dctx, "dctx %" PetscInt64_FMT " (%s) - obj %" PetscInt… argument
|