Home
last modified time | relevance | path

Searched full:opt (Results 1 – 25 of 160) sorted by relevance

1234567

/petsc/src/sys/objects/ftn-custom/
H A Dzoptionsf.c89 PETSC_EXTERN void petscoptionsbool_(char *opt, char *text, char *man, PetscBool *currentvalue, Pets… in petscoptionsbool_() argument
93 FIXCHAR(opt, lenopt, copt); in petscoptionsbool_()
103 FREECHAR(opt, copt); in petscoptionsbool_()
108 PETSC_EXTERN void petscoptionsbool3_(char *opt, char *text, char *man, PetscBool3 *currentvalue, Pe… in petscoptionsbool3_() argument
112 FIXCHAR(opt, lenopt, copt); in petscoptionsbool3_()
122 FREECHAR(opt, copt); in petscoptionsbool3_()
127 PETSC_EXTERN void petscoptionsboolarray_(char *opt, char *text, char *man, PetscBool *dvalue, Petsc… in petscoptionsboolarray_() argument
132 FIXCHAR(opt, lenopt, copt); in petscoptionsboolarray_()
143 FREECHAR(opt, copt); in petscoptionsboolarray_()
148 PETSC_EXTERN void petscoptionsenumprivate_(char *opt, char *text, char *man, const char *const *lis… in petscoptionsenumprivate_() argument
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscopt.pxi67 cdef getopt_Bool(PetscOptions opt, const char *pre, const char *name, object deft): argument
70 CHKERR(PetscOptionsGetBool(opt, pre, name, &value, &flag))
75 cdef getopt_BoolArray(PetscOptions opt, const char *pre, const char *name, object deft): argument
86 CHKERR(PetscOptionsGetBoolArray(opt, pre, name, ivalue, &nmax, &flag))
91 cdef getopt_Int(PetscOptions opt, const char *pre, const char *name, object deft): argument
94 CHKERR(PetscOptionsGetInt(opt, pre, name, &value, &flag))
99 cdef getopt_IntArray(PetscOptions opt, const char *pre, const char *name, object deft): argument
109 CHKERR(PetscOptionsGetIntArray(opt, pre, name, ivalue, &nmax, &flag))
114 cdef getopt_Real(PetscOptions opt, const char *pre, const char *name, object deft): argument
117 CHKERR(PetscOptionsGetReal(opt, pre, name, &value, &flag))
[all …]
H A DOptions.pyx44 cdef PetscOptions opt
48 self.opt = NULL
52 if self.opt == NULL: return
53 CHKERR(PetscOptionsDestroy(&self.opt))
81 if self.opt != NULL: return
82 CHKERR(PetscOptionsCreate(&self.opt))
87 if self.opt == NULL: return
88 CHKERR(PetscOptionsDestroy(&self.opt))
93 if self.opt == NULL: return
94 CHKERR(PetscOptionsClear(self.opt))
[all …]
/petsc/src/sys/objects/
H A Daoptions.c81 …scOptionItemCreate_Private(PetscOptionItems PetscOptionsObject, const char opt[], const char text[… in PetscOptionItemCreate_Private() argument
86 PetscCall(PetscOptionsValidKey(opt, &valid)); in PetscOptionItemCreate_Private()
87 …tscCheck(valid, PETSC_COMM_WORLD, PETSC_ERR_ARG_INCOMP, "The option '%s' is not a valid key", opt); in PetscOptionItemCreate_Private()
96 PetscCall(PetscStrallocpy(opt, &(*amsopt)->option)); in PetscOptionItemCreate_Private()
641 PetscErrorCode PetscOptionsEnum_Private(PetscOptionItems PetscOptionsObject, const char opt[], cons… in PetscOptionsEnum_Private() argument
648 PetscAssertPointer(opt, 2); in PetscOptionsEnum_Private()
653 …PetscCall(PetscOptionsEList_Private(PetscOptionsObject, opt, text, man, list, ntext, list[(int)cur… in PetscOptionsEnum_Private()
660 PetscErrorCode PetscOptionsEnumArray_Private(PetscOptionItems PetscOptionsObject, const char opt[],… in PetscOptionsEnumArray_Private() argument
666 PetscAssertPointer(opt, 2); in PetscOptionsEnumArray_Private()
674 …PetscCall(PetscOptionsGetEnumArray(PetscOptionsObject->options, prefix, opt, list, value, n, set)); in PetscOptionsEnumArray_Private()
[all …]
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/
H A DUtils.pm81 my $TmpDir = $In::Opt{"Tmp"};
83 if($In::Opt{"OS"} eq "windows")
163 return cmdFind($Path, $Type, '\.'.$In::Opt{"Ext"}.'[0-9.]*\Z', $MaxDepth, 1);
176 if($In::Opt{"OS"} eq "windows") {
197 my ($Path, $Opt, $Inc, $LVer) = @_;
198 my $GccCall = $In::Opt{"GccPath"};
199 if($Opt) {
200 $GccCall .= " ".$Opt;
203 if($In::Opt{"OS"} eq "macos") {
207 if($In::Opt{"GccMissedMangling"})
[all …]
H A DSysFiles.pm223 foreach my $Opt (@Options)
225 my $TmpDir = $In::Opt{"Tmp"};
226 my $Info = `$Cmd $Opt 2>\"$TmpDir/null\"`;
238 if(my @Paths = keys(%{$In::Opt{"TargetTools"}}))
245 if(my $CrossPrefix = $In::Opt{"CrossPrefix"})
261 if(my $GccPath = $In::Opt{"GccPath"})
280 if(not $Path and $In::Opt{"OS"} eq "windows") {
286 if(my $CrossPrefix = $In::Opt{"CrossPrefix"}) {
310 if(not $Path and $In::Opt{"OS"} eq "windows")
330 foreach my $Path (@{$In::Opt{"SysPaths"}{"bin"}})
[all …]
H A DLogging.pm82 if($In::Opt{"Quiet"})
84 appendFile($In::Opt{"DefaultLog"}, $Msg);
102 …my ($LogDir, $LogFile) = ("logs/".$In::Opt{"TargetLib"}."/".$In::Desc{$LVer}{"Version"}, "log.txt"…
107 if($In::Opt{"LogMode"} ne "n") {
111 if($In::Opt{"Debug"}) {
124 $DEBUG_DIR{$LVer} = "debug/".$In::Opt{"TargetLib"}."/".$In::Desc{$LVer}{"Version"};
138 if($In::Opt{"LogMode"} ne "n") {
146 if($In::Opt{"LogMode"}!~/a|n/)
155 if($In::Opt{"Debug"})
169 if($In::Opt{"LogMode"} ne "n") {
H A DABIDump.pm44 if($In::Opt{"CheckHeadersOnly"}) {
56 if($In::Opt{"TargetArch"}) {
57 $In::ABI{$LVer}{"Arch"} = $In::Opt{"TargetArch"};
66 $In::ABI{$LVer}{"LibraryName"} = $In::Opt{"TargetLib"};
72 if($In::Opt{"UserLang"}) {
73 $In::ABI{$LVer}{"Language"} = $In::Opt{"UserLang"};
76 $In::ABI{$LVer}{"GccVersion"} = $In::Opt{"GccVer"};
81 if($In::Opt{"Debug"})
88 if($In::Opt{"DebugMangling"})
104 if(not $In::Opt{"ExtendedCheck"})
[all …]
H A DElfTools.pm71 if($In::Opt{"Target"} eq "symbian")
97 my $TmpDir = $In::Opt{"Tmp"};
99 if($In::Opt{"OS"} eq "windows") {
135 if($In::Opt{"OS"} eq "windows")
153 elsif($In::Opt{"OS"} eq "macos")
177 my $TmpDir = $In::Opt{"Tmp"};
180 my $Locale = $In::Opt{"Locale"};
181 if($In::Opt{"OS"} eq "windows") {
229 my $GccPath = $In::Opt{"GccPath"};
237 if(my $Target = $In::Opt{"GccTarget"})
[all …]
H A DFilter.pm41 if(defined $In::Opt{"SkipInternalSymbols"}
42 and my $Pattern = $In::Opt{"SkipInternalSymbols"})
65 if($In::Opt{"SymbolsListPath"} and not $In::Desc{$LVer}{"SymbolsList"}{$Symbol})
67 if(not $In::Opt{"TargetHeadersPath"} or not $Header
74 if($In::Opt{"AppPath"} and not $In::Opt{"SymbolsList_App"}{$Symbol})
114 if($In::Opt{"TypesListPath"} and $ClassId)
212 if(not $In::Opt{"StdcxxTesting"} and not $In::Opt{"KeepCxx"}
230 if($In::Opt{"ExtendedCheck"})
236 if($In::Opt{"CheckHeadersOnly"}
243 if($In::Opt{"BinOnly"})
[all …]
H A DSysCheck.pm74 my $TmpDir = $In::Opt{"Tmp"};
86 $In::Opt{"CheckHeadersOnly"} = 1;
100 if($In::Opt{"Target"} eq "symbian") {
110 if($In::Opt{"Target"} eq "symbian") {
353 if($In::Opt{"BinOnly"})
358 if($In::Opt{"SrcOnly"})
364 if($In::Opt{"CheckHeadersOnly"}) {
371 if($In::Opt{"DisableConstantsCheck"}) {
378 if($In::Opt{"Quiet"})
382 if($In::Opt{"LogMode"} eq "n") {
[all …]
H A DTUDump.pm219 if(not $In::Opt{"GccPath"}) {
231 my $TmpDir = $In::Opt{"Tmp"};
254 if(my $EInfo = $In::Opt{"ExtraInfo"})
270 if(my $EInfo = $In::Opt{"ExtraInfo"})
305 chdir($In::Opt{"OrigDir"});
340 if($In::Opt{"Debug"})
362 next if(not $In::Opt{"StdcxxTesting"} and $CName=~/\Astd::/);
364 if(not $In::Opt{"Force"} and $GCC_44
365 and $In::Opt{"OS"} eq "linux")
409 if($In::Opt{"UserLang"} eq "C") {
[all …]
/petsc/src/sys/tests/
H A Dex47.c73 args: -options_file ex47-opt.txt
74 args: -prefix_push p5_ -options_file ex47-opt.yml -prefix_pop
75 args: -prefix_push p5_ -options_file ex47-opt.yml:yaml -prefix_pop
76 args: -prefix_push p6_ -options_file_yaml ex47-opt.yml -prefix_pop
77 args: -prefix_push p7_ -options_string_yaml "`cat ex47-opt.yml`" -prefix_pop
78 args: -prefix_push p7_ -options_string_yaml "`cat ex47-opt.yml`" -prefix_pop
79 args: -prefix_push p8_ -options_string_yaml "`cat ex47-opt.yml`" -prefix_pop
80 args: -prefix_push p9_ -options_file ex47-opt.json -prefix_pop
81 localrunfiles: ex47-opt.txt ex47-opt.yml ex47-opt.json
/petsc/src/ksp/ksp/tests/benchmarkscatters/
H A DBaseline-MPICH-82 ./ex1 on a arch-opt-mpich named thing05.ftm.alcf.anl.gov with 8 processors, by bsmith Thu Nov 12 23…
4 …download-fblaslapack --download-hwloc --download-mpich --with-debugging=0 PETSC_ARCH=arch-opt-mpich
9 Using PETSc arch: arch-opt-mpich
12 Using C compiler: /home/bsmith/petsc/arch-opt-mpich/bin/mpicc -Wall -Wwrite-strings -Wno-strict-…
13 Using Fortran compiler: /home/bsmith/petsc/arch-opt-mpich/bin/mpif90 -Wall -Wno-unused-variable …
16 …/home/bsmith/petsc/arch-opt-mpich/include -I/home/bsmith/petsc/include -I/home/bsmith/petsc/includ…
19 Using C linker: /home/bsmith/petsc/arch-opt-mpich/bin/mpicc
20 Using Fortran linker: /home/bsmith/petsc/arch-opt-mpich/bin/mpif90
21opt-mpich/lib -L/home/bsmith/petsc/arch-opt-mpich/lib -lpetsc -Wl,-rpath,/home/bsmith/petsc/arch-o…
23 …-I/home/bsmith/petsc/arch-opt-mpich/include -L/home/bsmith/petsc/arch-opt-mpich/lib -Wl,-rpath -Wl…
H A DBaseline-MPICH-162 ./ex1 on a arch-opt-mpich named thing05.ftm.alcf.anl.gov with 16 processors, by bsmith Thu Nov 12 2…
4 …download-fblaslapack --download-hwloc --download-mpich --with-debugging=0 PETSC_ARCH=arch-opt-mpich
9 Using PETSc arch: arch-opt-mpich
12 Using C compiler: /home/bsmith/petsc/arch-opt-mpich/bin/mpicc -Wall -Wwrite-strings -Wno-strict-…
13 Using Fortran compiler: /home/bsmith/petsc/arch-opt-mpich/bin/mpif90 -Wall -Wno-unused-variable …
16 …/home/bsmith/petsc/arch-opt-mpich/include -I/home/bsmith/petsc/include -I/home/bsmith/petsc/includ…
19 Using C linker: /home/bsmith/petsc/arch-opt-mpich/bin/mpicc
20 Using Fortran linker: /home/bsmith/petsc/arch-opt-mpich/bin/mpif90
21opt-mpich/lib -L/home/bsmith/petsc/arch-opt-mpich/lib -lpetsc -Wl,-rpath,/home/bsmith/petsc/arch-o…
23 …-I/home/bsmith/petsc/arch-opt-mpich/include -L/home/bsmith/petsc/arch-opt-mpich/lib -Wl,-rpath -Wl…
H A DBaseline-Intel-82 ./ex1 on a arch-opt named thing05.ftm.alcf.anl.gov with 8 processors, by bsmith Thu Nov 12 23:28:12…
9 Using PETSc arch: arch-opt
16 … -I/home/bsmith/petsc/arch-opt/include -I/home/bsmith/petsc/include -I/home/bsmith/petsc/include -…
21opt/lib -L/home/bsmith/petsc/arch-opt/lib -lpetsc -Wl,-rpath,/soft/compilers/intel/compilers_and_l…
23 …i/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/5.1/intel64/lib/release_mt -Xlinker -rpat…
H A DBaseline-Intel-162 ./ex1 on a arch-opt named thing05.ftm.alcf.anl.gov with 16 processors, by bsmith Thu Nov 12 23:28:4…
9 Using PETSc arch: arch-opt
16 … -I/home/bsmith/petsc/arch-opt/include -I/home/bsmith/petsc/include -I/home/bsmith/petsc/include -…
21opt/lib -L/home/bsmith/petsc/arch-opt/lib -lpetsc -Wl,-rpath,/soft/compilers/intel/compilers_and_l…
23 …i/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/5.1/intel64/lib/release_mt -Xlinker -rpat…
/petsc/include/
H A Dpetscoptions.h403 …PetscErrorCode PetscOptionsEnum(const char opt[], const char text[], const char man[], const char …
408 + opt - option name
444 …define PetscOptionsEnum(opt, text, man, list, currentvalue, value, set) PetscOptionsEnum_… argument
451 …PetscErrorCode PetscOptionsInt(const char opt[], const char text[], const char man[], PetscInt cur…
456 + opt - option name
489 …#define PetscOptionsInt(opt, text, man, currentvalue, value, set) PetscOptionsInt_… argument
496 …PetscErrorCode PetscOptionsMPIInt(const char opt[], const char text[], const char man[], PetscMPII…
501 + opt - option name
534 …fine PetscOptionsMPIInt(opt, text, man, currentvalue, value, set) PetscOptionsMPIInt_… argument
541 …PetscErrorCode PetscOptionsBoundedInt(const char opt[], const char text[], const char man[], Pets…
[all …]
/petsc/lib/petsc/bin/maint/abi-compliance-checker/
H A Dabi-compliance-checker.pl120 "h|help!" => \$In::Opt{"Help"},
121 "i|info!" => \$In::Opt{"InfoMsg"},
122 "v|version!" => \$In::Opt{"ShowVersion"},
123 "dumpversion!" => \$In::Opt{"DumpVersion"},
125 "l|lib|library=s" => \$In::Opt{"TargetLib"},
128 "dump|dump-abi|dump_abi=s" => \$In::Opt{"DumpABI"},
129 "d|f|filter=s" => \$In::Opt{"FilterPath"},
131 "debug!" => \$In::Opt{"Debug"},
132 "debug-mangling!" => \$In::Opt{"DebugMangling"},
133 "ext|extended!" => \$In::Opt{"ExtendedCheck"},
[all …]
/petsc/src/binding/petsc4py/test/
H A Dtest_mat_aij.py80 opt = PETSc.Mat.Option.NEW_NONZERO_ALLOCATION_ERR
81 self.A.setOption(opt, True)
85 opt = PETSc.Mat.Option.NEW_NONZERO_LOCATION_ERR
86 self.A.setOption(opt, True)
97 opt = PETSc.Mat.Option.NEW_NONZERO_ALLOCATION_ERR
98 self.A.setOption(opt, True)
102 opt = PETSc.Mat.Option.NEW_NONZERO_LOCATION_ERR
103 self.A.setOption(opt, True)
116 opt = PETSc.Mat.Option.NEW_NONZERO_LOCATION_ERR
117 self.A.setOption(opt, True)
[all …]
/petsc/src/vec/is/sf/impls/basic/
H A Dsfpack.c47 ….start When opt and idx are NULL, it means indices are contiguous & start is the first index; …
48 .opt Per-pack optimization plan. NULL means no such plan.
55 …, BS, EQ)(PetscSFLink link, PetscInt count, PetscInt start, PetscSFPackOpt opt, const PetscInt *id…
64 else if (opt) { /* has optimizations available */ p2 = p; \
65 for (r = 0; r < opt->n; r++) { \
66 u2 = u + opt->start[r] * MBS; \
67 X = opt->X[r]; \
68 Y = opt->Y[r]; \
69 for (k = 0; k < opt->dz[r]; k++) \
70 for (j = 0; j < opt->dy[r]; j++) { \
[all …]
/petsc/src/sys/objects/ftn-src/
H A Doptionenum.F908 subroutine PetscOptionsGetEnum(po, pre, name, FArray, opt, set, ierr) argument
15 PetscEnum :: opt
43 call PetscOptionsGetEnumPrivate(po, pre, name, CArray, opt, set, ierr)
48 subroutine PetscOptionsEnum(opt, text, man, Flist, curr, ivalue, set, ierr) argument
53 character(*) opt, text, man local
82 call PetscOptionsEnumPrivate(opt, text, man, CArray, curr, ivalue, set, ierr)
/petsc/src/vec/vec/tutorials/
H A Dex42.m1 function ex42(np,opt)
3 % ex42(np,opt) - launches ./ex42 and runs a loop 1000 times sending and then receiving a one dimen…
16 opt = ' '; variable
18 launch('./ex42 ',np,opt);
/petsc/src/sys/tutorials/
H A Dex8f90.F909 PetscEnum :: opt = -1
22 PetscCallA(PetscOptionsGetEnum(PETSC_NULL_OPTIONS, 'joe_', '-jeff', list1, opt, set, ierr))
23 write (*, *) 'opt is ', opt
/petsc/share/petsc/matlab/
H A Dlaunch.m1 function result = launch(program,np,opt)
18 opt = ''; variable
25 %command = ['petscmpiexec -np ' int2str(np) ' ' program opt ' &'];
26 command = [ program opt ' &'];

1234567