Home
last modified time | relevance | path

Searched refs:verbose (Results 1 – 25 of 91) sorted by relevance

1234

/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_pool.py39 verbose: int
52 def __init__(self, verbose: int) -> None:
61 self.verbose = verbose
70 if self.verbose:
222 def __init__(self, num_workers: int, verbose: int) -> None:
232 super().__init__(verbose)
342 compiler_flags, clang_options, self.verbose, werror, self.error_queue, self.return_queue,
497 def __init__(self, verbose: int) -> None:
505 super().__init__(verbose)
529 compiler_flags, clang_options=clang_options, verbose=self.verbose, werror=werror
[all …]
/petsc/src/vec/vec/tests/
H A Dex48.c7 static PetscBool verbose = PETSC_FALSE; variable
129 if (verbose) { in compare()
139 if (verbose) { in compare()
149 if (verbose) { in compare()
159 if (verbose) { in compare()
292 if (verbose) { in CapsuleReadAndCompareAttributes()
317 if (verbose) PetscCall(PetscPrintf(comm, " (=)")); in CapsuleReadAndCompareAttributes()
320 if (verbose && gd) PetscCall(PetscPrintf(comm, "\n")); in CapsuleReadAndCompareAttributes()
350 if (verbose) PetscCall(PetscPrintf(comm, "# TEST testGroupsDatasets\n")); in testGroupsDatasets()
358 if (verbose) PetscCall(PetscPrintf(comm, "## WRITE PHASE\n")); in testGroupsDatasets()
[all …]
/petsc/share/petsc/
H A Dchkerrconvert.py19 def __init__(self,verbose,special=None): argument
24 self.verbose = bool(verbose)
39 if self.verbose:
66 def __init__(self,verbose,dry_run,del_empty_last_line): argument
81 self.verbose = verbose
85 self.replace_chkerrs = Replace(verbose > 2)
196 if self.verbose:
250 def main(search_tool,start_path,dry_run,verbose,force,del_empty_last_line): argument
262 processor = Processor(verbose,dry_run,del_empty_last_line)
267 if verbose > 2:
[all …]
/petsc/lib/petsc/bin/maint/
H A Dcheck_header_guard.py25 verbose: bool
29 def __init__(self, verbose: bool, path: pathlib.Path) -> None:
30 self.verbose = verbose
52 if self.verbose:
131 if self.verbose:
159 if self.verbose:
236 if self.verbose:
241 if self.verbose:
249 if self.verbose:
261 if self.verbose:
[all …]
H A Dtestharness_util.py37 verbose = False
44 if verbose: print(root)
54 if verbose: print(' --> '+fullex)
/petsc/lib/petsc/bin/
H A Dtaucc.py18 def runcmd(cmd,verbose): argument
19 if verbose:
77 verbose=0
107 verbose = 1
140 runcmd(cmd1,verbose)
141 runcmd(cmd2,verbose)
143 runcmd(cmd3,verbose)
154 runcmd(cmd1,verbose)
H A Dpetscnagfor56 verbose = 0 variable
65 verbose = 1 variable
69 verbose = 1 variable
94 if verbose: print(' '.join(['nagfor','-dryrun']+args))
134 if verbose: print(' '.join(js))
H A DgetAPI.py26 def verbosePrint(verbose, text): argument
28 if verbose: print(text)
639 def getAPI(directory,pkgname = 'petsc',verbose = False): argument
644 verbosePrint(verbose, 'Include files -------------------------------------')
646 verbosePrint(verbose, includefiles[i])
650 verbosePrint(verbose, 'Enums ---------------------------------------------')
652 verbosePrint(verbose, enums[i])
656 verbosePrint(verbose, 'String enums ---------------------------------------------')
658 verbosePrint(verbose, senums[i])
662 verbosePrint(verbose, 'Structs ---------------------------------------------')
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A Dmain.py92 def __sanitize_compiler_flags(petsc_dir: Path, petsc_arch: str, verbose: int, extra_compiler_flags:…
97 petsc_dir, petsc_arch, extra_compiler_flags=extra_compiler_flags, verbose=verbose
107 verbose: int = 0,
200 compiler_flags = __sanitize_compiler_flags(petsc_dir, petsc_arch, verbose, extra_compiler_flags)
203 if verbose:
211 petsc_dir, compiler_flags, extra_header_includes=extra_header_includes, verbose=verbose
214 workers, verbose=verbose
249 if verbose: pl.sync_print('Writing patch to file', mangled_file)
253 if verbose: pl.sync_print('Applying patches from patch directory', patch_dir)
255 if verbose: pl.sync_print('Applying patch', patch_file)
[all …]
H A Dqueue_main.py94 def __init__(self, verbose: bool, print_prefix: str, lock: ParallelPool.LockType) -> None:
106 self._verbose = verbose
141 verbose: bool,
174 pl.sync_print = LockPrinter(verbose, print_prefix, lock) # type: ignore[assignment]
178 linter = Linter(compiler_flags, clang_options=clang_options, verbose=verbose, werror=werror)
/petsc/systems/Apple/iOS/bin/
H A Diosbuilder.py76 def verbose(self): member in PETScMaker
111 if self.verbose: print('Entering '+dirname)
132 if self.verbose: print('Linking C files',cnames)
189 if self.verbose: print('Rejecting',dirname,'because fortran is not being used')
193 if self.verbose: print('Rejecting',dirname,'because logging is turned off')
197 if self.verbose: print('Rejecting',dirname,'because fortran kernels are turned off')
200 …if self.verbose: print('Rejecting',dirname,'because scalar type '+self.scalarType.scalartype+' is …
204 …if self.verbose: print('Rejecting',dirname,'because language is '+self.languages.clanguage+' is no…
207 …if self.verbose: print('Rejecting',dirname,'because precision '+self.scalarType.precision+' is not…
229 if self.verbose: print('Rejecting',dirname,'because package '+rvalue+' does not exist')
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_utility.py262 …Path, petsc_arch: str, extra_compiler_flags: Optional[list[str]] = None, verbose: int = 0) -> list…
298 if verbose > 1:
308 verbose: int
310 def __init__(self, pch: PathLike, verbose: int) -> None:
321 self.verbose = verbose
328 if self.verbose:
336 …ler_flags: list[str], extra_header_includes: Optional[list[str]] = None, verbose: int = 0, pch_cla…
373 if verbose > 1:
469 return cls(precompiled_header, verbose)
/petsc/src/dm/impls/plex/tests/
H A Dex15.c11 PetscBool test_read = PETSC_FALSE, verbose = PETSC_FALSE, flg; in main() local
29 PetscCall(PetscOptionsBool("-verbose", "print the Vecs", "", PETSC_FALSE, &verbose, NULL)); in main()
62 if (verbose) { in main()
76 if (verbose) { in main()
96 if (verbose) { in main()
118 if (verbose) { in main()
H A Dex56.c19 PetscInt verbose; member
34 options->verbose = 0; in ProcessOptions()
45 …PetscCall(PetscOptionsInt("-verbose", "Verbosity level", EX, options->verbose, &options->verbose, … in ProcessOptions()
258 …WithCoordinateRepresentation(DM dm, DMLabel label, PetscInt value, Vec allCoords, PetscInt verbose) in DMLabelCompareWithCoordinateRepresentation() argument
282 if (verbose > 1) PetscCall(DMLabelView(label, PETSC_VIEWER_STDOUT_(comm))); in DMLabelCompareWithCoordinateRepresentation()
291 …if (verbose) PetscCall(PetscSynchronizedFPrintf(comm, PETSC_STDERR, "[%d] Label \"%s\" does not ha… in DMLabelCompareWithCoordinateRepresentation()
297 …if (verbose) PetscCall(PetscSynchronizedFPrintf(comm, PETSC_STDERR, "Point %" PetscInt_FMT " has b… in DMLabelCompareWithCoordinateRepresentation()
301 …if (verbose > 1) PetscCall(PetscSynchronizedPrintf(comm, "[%d] OK point %" PetscInt_FMT "\n", rank… in DMLabelCompareWithCoordinateRepresentation()
308 …m, PETSC_ERR_PLIB, "Label \"%s\" was not loaded correctly%s", labelName, verbose ? " - see details… in DMLabelCompareWithCoordinateRepresentation()
326 if (ctx->verbose) { in CheckNumLabels()
[all …]
/petsc/src/dm/dt/tests/
H A Dex7.c6 …st PetscReal *L, PetscInt k, const PetscReal *w, PetscReal *x, PetscBool verbose, PetscViewer view… in CheckPullback() argument
59 if (verbose) { in CheckPullback()
88 PetscBool verbose = PETSC_FALSE; in main() local
96 PetscCall(PetscOptionsBool("-verbose", "Verbose test output", "ex7.c", verbose, &verbose, NULL)); in main()
106 if (verbose) PetscCall(PetscViewerASCIIPrintf(viewer, "N = %" PetscInt_FMT ":\n", N)); in main()
109 if (verbose) { in main()
138 if (verbose) PetscCall(PetscViewerASCIIPrintf(viewer, "k = %" PetscInt_FMT ":\n", k)); in main()
140 …if (verbose) PetscCall(PetscViewerASCIIPrintf(viewer, "(%" PetscInt_FMT " choose %" PetscInt_FMT "… in main()
152 if (verbose) { in main()
176 if (verbose) { in main()
[all …]
/petsc/src/ksp/pc/impls/spai/
H A Dispai.c51 int verbose; /* SPAI prints timing and statistics */ member
90 …, ispai->nbsteps, ispai->max, ispai->maxnew, ispai->block_size, ispai->cache_size, ispai->verbose); in PCSetUp_SPAI()
153 PetscCall(PetscViewerASCIIPrintf(viewer, " verbose %d\n", ispai->verbose)); in PCView_SPAI()
214 static PetscErrorCode PCSPAISetVerbose_SPAI(PC pc, PetscInt verbose) in PCSPAISetVerbose_SPAI() argument
219 ispai->verbose = (int)verbose; in PCSPAISetVerbose_SPAI()
400 PetscErrorCode PCSPAISetVerbose(PC pc, PetscInt verbose) in PCSPAISetVerbose() argument
403 PetscTryMethod(pc, "PCSPAISetVerbose_C", (PC, PetscInt), (pc, verbose)); in PCSPAISetVerbose()
436 int nbsteps1, max1, maxnew1, block_size1, cache_size, verbose, sp; in PCSetFromOptions_SPAI() local
455 …PetscCall(PetscOptionsInt("-pc_spai_verbose", "", "PCSPAISetVerbose", ispai->verbose, &verbose, &f… in PCSetFromOptions_SPAI()
456 if (flg) PetscCall(PCSPAISetVerbose(pc, verbose)); in PCSetFromOptions_SPAI()
[all …]
/petsc/src/sys/tests/
H A Dex8.c82 PetscBool verbose, build_twosided_f; in main() local
91 verbose = PETSC_FALSE; in main()
92 PetscCall(PetscOptionsGetBool(NULL, NULL, "-verbose", &verbose, NULL)); in main()
106 if (verbose) { in main()
133 if (verbose) { in main()
/petsc/src/mat/tests/
H A Dex55.c9 PetscInt i, j, ntypes, bs, mbs, m, block, d_nz = 6, o_nz = 3, col[3], row, verbose = 0; in main() local
19 PetscCall(PetscOptionsGetInt(NULL, NULL, "-verbose", &verbose, NULL)); in main()
135 …if (verbose > 0) PetscCall(PetscPrintf(PETSC_COMM_WORLD, " \n[%d] test conversion between %s and %… in main()
137 if (rank == 0 && verbose) printf("Convert %s A to %s B\n", type[i], type[j]); in main()
151 if (rank == 0 && verbose) printf("Convert %s B to %s D\n", type[j], type[i]); in main()
H A Dex97.c28 PetscInt verbose = 0; in Compare2() local
36 PetscCall(PetscOptionsGetInt(NULL, NULL, "-verbose", &verbose, NULL)); in Compare2()
37 if (norm < PETSC_SQRT_MACHINE_EPSILON && verbose < 1) { in Compare2()
42 if (verbose > 1) { in Compare2()
H A Dex99.c28 PetscInt verbose = 0; in Compare2() local
36 PetscCall(PetscOptionsGetInt(NULL, NULL, "-verbose", &verbose, NULL)); in Compare2()
37 if (norm < PETSC_SQRT_MACHINE_EPSILON && verbose < 1) { in Compare2()
42 if (verbose > 1) { in Compare2()
/petsc/src/vec/is/is/tests/
H A Dex13.c43 PetscBool verbose = PETSC_FALSE, flg; in main() local
54 PetscCall(PetscOptionsGetBool(NULL, NULL, "-verbose", &verbose, NULL)); in main()
101 if (verbose) PetscCall(PetscPrintf(comm, "is[%02" PetscInt_FMT "] identical to is[0]\n", i)); in main()
/petsc/src/mat/graphops/partition/impls/party/
H A Dparty.c15 PetscBool verbose; member
112 if (party->verbose) PetscCall(PetscPrintf(PetscObjectComm((PetscObject)mat), "%s", mesg_log)); in MatPartitioningApply_Party()
357 …at_partitioning_party_verbose", "Show library output", "", party->verbose, &party->verbose, NULL)); in MatPartitioningSetFromOptions_Party()
404 party->verbose = PETSC_FALSE; in MatPartitioningCreate_Party()
/petsc/src/ksp/ksp/tests/
H A Dex63.cxx104 bool verbose = false; in main() local
110 cmdp.setOption("verbose", "quiet", &verbose, "Print messages and results."); in main()
139 } else if (verbose && myRank == 0) { in main()
/petsc/config/
H A Dgmakegentest.py90 …_dir=None, pkg_arch=None, pkg_name=None, pkg_pkgs=None, testdir='tests', verbose=False, single_ex=… argument
122 self.verbose=verbose
124 self.summarize=True if verbose else False
151 if self.verbose: print('Finishing the constructor')
908 if self.verbose: print(' --> '+fullex)
936 if self.verbose: print(root)
947 if self.verbose: self.genPetscTests_summarize(dataDict)
1059 pkg_name=None, pkg_pkgs=None, verbose=False, single_ex=False, argument
1071 verbose=verbose, single_ex=single_ex, srcdir=srcdir,
1104 verbose=opts.verbose,
H A Dpetsc_harness.sh69 verbose=false
102 v ) verbose=true ;;
240 if "${verbose}"; then

1234