Home
last modified time | relevance | path

Searched refs:add_argument (Results 1 – 15 of 15) sorted by relevance

/petsc/share/petsc/bin/ !
H A Ddmnetwork_view.py478 argparser.add_argument('filenames', nargs='+')
479 …argparser.add_argument('-t', '--set-title', metavar='TITLE', action='store', help="Sets the title …
480 …argparser.add_argument('-nnl', '--no-node-labels', action='store_true', help="Disables labeling no…
481 …argparser.add_argument('-nel', '--no-edge-labels', action='store_true', help="Disables labeling ed…
482 …argparser.add_argument('-nc', '--set-node-color', metavar='COLOR', action='store', help="Sets the …
483 …argparser.add_argument('-ec', '--set-edge-color', metavar='COLOR', action='store', help="Sets the …
484 …argparser.add_argument('-ntc', '--set-node-title-color', metavar='COLOR', action='store', help="Se…
485 …argparser.add_argument('-etc', '--set-edge-title-color', metavar='COLOR', action='store', help="Se…
486 …argparser.add_argument('-nd', '--no-display', action='store_true', help="Disables displaying the f…
487 …argparser.add_argument('-tx', '--test-execute', action='store_true', help="Returns from the progra…
[all …]
/petsc/src/benchmarks/ !
H A DbenchmarkAssembly.py93 …parser.add_argument('--library', default='SNES', help='The PETSc library used in this exa…
94 parser.add_argument('--num', type = int, default='5', help='The example number')
95 parser.add_argument('--module', default='summary', help='The module for timing output')
96 parser.add_argument('--saved', help='Name of saved data')
97 parser.add_argument('--scaling', help='Run parallel scaling test')
98 parser.add_argument('--small', action='store_true', default=False, help='Use small sizes')
99 …parser.add_argument('--batch', action='store_true', default=False, help='Generate batch files fo…
H A DbenchmarkExample.py487 …parser.add_argument('--library', default='SNES', help='The PETSc library used …
488 parser.add_argument('--num', type = int, default='5', help='The example number')
489 …parser.add_argument('--module', default='summary', help='The module for timing o…
490 …parser.add_argument('--stage', default='Main Stage', help='The default logging sta…
491 parser.add_argument('--events', nargs='+', help='Events to process')
492 …parser.add_argument('--plotOnly',action='store_true', default=False, help='Flag to only plot exist…
493 …parser.add_argument('--batch', action='store_true', default=False, help='Generate batch files fo…
494 parser.add_argument('--daemon', action='store_true', default=False, help='Run as a daemon')
495 …parser.add_argument('--gpulang', default='OpenCL', help='GPU Language to use: Ei…
496 parser.add_argument('--plots', nargs='+', help='List of plots to show')
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ !
H A Dmain.py325 def add_argument(self, *args, **kwargs) -> argparse.Action: ... member in __build_arg_parser.ParserLike
330 return prsr.add_argument(*args, **kwargs)
350 return prsr.add_argument(*args, **kwargs)
392 group_general.add_argument('--version', action='version', version=f'%(prog)s {pl.version_str()}')
393 …group_general.add_argument('-v', '--verbose', nargs='?', type=str2int, const=1, default=0, help='v…
396 …group_general.add_argument('-j', '--jobs', type=int, const=-1, default=-1, nargs='?', help='number…
397 …group_general.add_argument('-p', '--patch-dir', help='directory to store patches in if they are ge…
399 …group_general.add_argument('--CXXFLAGS', nargs='+', default=[], help='extra flags to pass to CXX c…
400 …group_general.add_argument('--INCLUDEFLAGS', nargs='+', default=[], help='extra include flags to p…
405 …group.add_argument('--clang_dir', metavar='path', type=pl.Path, nargs='?', default=clang_dir, help…
[all …]
/petsc/lib/petsc/bin/maint/ !
H A Dcheck_header_guard.py458 parser.add_argument('paths', nargs='+', type=pathlib.Path, help='paths to check/convert')
459 parser.add_argument(
463 parser.add_argument(
468 parser.add_argument(
472 parser.add_argument(
476 parser.add_argument(
480 parser.add_argument(
488 parser.add_argument(
492 parser.add_argument('--version', action='version', version=f'%(prog)s v{__version_str__}')
H A Dabicheck.py116 …parser.add_argument("-old_dir", help="Old PETSC_DIR, which defines the PETSc library to compare w…
117 …parser.add_argument("-old_arch", help="Old PETSC_ARCH, which defines the PETSc library to compare …
118 parser.add_argument("-new_dir", help="New PETSC_DIR", required=True)
119 parser.add_argument("-new_arch", help="New PETSC_ARCH", required=True)
120 …parser.add_argument("-report_format", help="Format of the report file", default='html', required=F…
H A Dgcov.py704 …parser.add_argument('--petsc_dir', default=petsc_dir, required=petsc_dir is None, type=pathlib.Pat…
705 …parser.add_argument('--petsc_arch', default=petsc_arch, required=petsc_arch is None, help='PETSc b…
706 …parser.add_argument('-b', '--merge-branch', help='destination branch corresponding to the merge re…
707 …parser.add_argument('-c', '--ci-mode', action='store_true', help='enable CI mode, which adds all a…
708 …parser.add_argument('-p','--base-path', type=pathlib.Path, nargs='*', help='base path containing t…
709 parser.add_argument('--html', action='store_true', help='generate HTML output')
710 parser.add_argument('--xml', action='store_true', help='generate XML output')
711 …parser.add_argument('-v', '--verbose', action='count', default=0, help='verbose output, multiple f…
712 …parser.add_argument('-l', '--log-output-stdout', default='stdout', const='stdout', nargs='?', help…
713 …parser.add_argument('-e', '--log-output-stderr', default='stderr', const='stderr', nargs='?', help…
H A Dpetscdt_create_quadrature_headers.py228 parser.add_argument('--tri', type=pathlib.Path)
229 parser.add_argument('--tet', type=pathlib.Path)
/petsc/lib/petsc/bin/ !
H A Dpetsc_tas_analysis.py920 cmdLine.add_argument('-f', '--file', metavar='<filename>',
923 cmdLine.add_argument('-output_base', '--output_base',
926 cmdLine.add_argument(
929 cmdLine.add_argument('-gfs', '--graph_flops_scaling', type=int, default=0, choices=[0, 1],
932 …cmdLine.add_argument('-d', '--dim', type=int, default=2, help='Specifies the number of dimensions …
935 cmdLine.add_argument('-eg', '--enable_graphs', type=int, default=1, choices=[0, 1],
938 cmdLine.add_argument('-vv', '--view_variance', type=int, default=0, choices=[0, 1],
942 …cmdLine.add_argument('-p', '--problem', default='NULL', help='Enables searching for the names of f…
946 cmdLine.add_argument('-ts', '--timestep', type=int, default=0, choices=[0, 1],
949 …cmdLine.add_argument('-dfd', '--setDefaultFileDir', type=str, nargs=1, help='Sets the default path…
[all …]
H A Dxml2flamegraph.py66 parser.add_argument("infile", type=str, help="Input XML file")
67 parser.add_argument("outfile", type=str, help="Output file")
H A DPetscBinaryIO.py524 convert.add_argument('infile', help='file to convert')
525 convert.add_argument('-o', '--outfile', help='name of output file (defaults to {infile}.petsc)')
526 …convert.add_argument('--symmetrize', help='Symmetrize (A+A^T)/2 during conversion', action='store_…
527 …convert.add_argument('--precision', help='Precision of scalar values', choices=['single', 'double'…
528 convert.add_argument('--complex', help='Use complex scalars', action='store_true')
529 …convert.add_argument('--indices', help='Integer size for indices', choices=['32bit', '64bit'], def…
H A DgetAPI.py864 parser.add_argument('--verbose', action='store_true', required=False, help='show generated API')
865 …parser.add_argument('--package', metavar='petsc/slepc', required=False, help='package name', defau…
866 parser.add_argument('directory', help='root directory, either PETSC_DIR or SLEPC_DIR')
H A Dgeneratefortranbindings.py956 parser.add_argument('--petsc-dir', metavar='path', required=True, help='PETSc root directory')
957 …parser.add_argument('--slepc-dir', metavar='path', required=False, help='SLEPc root directory when…
958 parser.add_argument('--petsc-arch', metavar='string', required=True, help='PETSc arch name')
/petsc/share/petsc/ !
H A Dchkerrconvert.py301 …parser.add_argument('path',nargs='?',default='${PETSC_DIR}/src',metavar='<path>',help='path to dir…
302 …parser.add_argument('-s','--search-tool',default='rg',metavar='<executable>',choices=['rg','grep']…
303 parser.add_argument('-n','--dry-run',action='store_true',help='print what the result would be')
304 parser.add_argument('-v','--verbose',action='count',default=0,help='verbose')
305 …parser.add_argument('-f','--force',action='store_true',help='don\'t narrow search using SEARCH TOO…
306 …parser.add_argument('--delete-empty-last-line',action='store_true',help='remove empty lines at the…
/petsc/src/binding/petsc4py/demo/regressor/ !
H A Dtest_regressor_synthetic.py20 parser.add_argument('--nsample', type=int, default=10000)
21 parser.add_argument('--nfeature', type=int, default=10)
22 parser.add_argument('--add_noise', action='store_true')