Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 102) sorted by relevance

12345

/petsc/include/
H A Dpetscoptions.h444 …define PetscOptionsEnum(opt, text, man, list, currentvalue, value, set) PetscOptionsEnum_… argument
489 …#define PetscOptionsInt(opt, text, man, currentvalue, value, set) PetscOptionsInt_… argument
534 …fine PetscOptionsMPIInt(opt, text, man, currentvalue, value, set) PetscOptionsMPIInt_… argument
583 …ine PetscOptionsBoundedInt(opt, text, man, currentvalue, value, set, lb) PetscOptionsInt_Priv… argument
633 …fine PetscOptionsRangeInt(opt, text, man, currentvalue, value, set, lb, ub) PetscOptionsInt_Pri… argument
678 …define PetscOptionsReal(opt, text, man, currentvalue, value, set) PetscOptionsReal_… argument
727 …ne PetscOptionsBoundedReal(opt, text, man, currentvalue, value, set, lb) PetscOptionsReal_Priv… argument
777 …ine PetscOptionsRangeReal(opt, text, man, currentvalue, value, set, lb, ub) PetscOptionsReal_Pri… argument
822 …fine PetscOptionsScalar(opt, text, man, currentvalue, value, set) PetscOptionsScalar_… argument
855 …define PetscOptionsName(opt, text, man, set) PetscOptionsName_… argument
[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/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 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 …]
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 …]
/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/src/vec/is/sf/impls/basic/
H A Dsfpack.c55 …, 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++) { \
71 PetscCall(PetscArraycpy(p2, u2 + (X * Y * k + X * j) * MBS, opt->dx[r] * MBS)); \
72 p2 += opt->dx[r] * MBS; \
[all …]
/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/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/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/src/sys/tests/
H A Dex47-opt.txt2 -options_file_yaml ex47-opt.yml
6 -options_file_yaml ex47-opt.yml
10 -options_file_yaml ex47-opt.yml
/petsc/src/sys/objects/ftn-src/
H A Doptionenum.F9015 PetscEnum :: opt
43 call PetscOptionsGetEnumPrivate(po, pre, name, CArray, opt, set, ierr)
53 character(*) opt, text, man local
82 call PetscOptionsEnumPrivate(opt, text, man, CArray, curr, ivalue, set, ierr)
/petsc/src/ksp/ksp/tutorials/
H A Dex41.m1 function ex41(np,opt)
3 % ex41(np,opt) - receives a matrix and vector from MATLAB via socket
17 opt = ' '; variable
19 launch('./ex41 ',np,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 ' &'];
/petsc/src/dm/interface/
H A Ddlregisdmdm.c50 PetscBool opt, pkg; in DMInitializePackage() local
186 PetscCall(PetscOptionsGetString(NULL, NULL, "-log_exclude", logList, sizeof(logList), &opt)); in DMInitializePackage()
187 if (opt) { in DMInitializePackage()
240 PetscBool opt, pkg; in PetscFEInitializePackage() local
269 PetscCall(PetscOptionsGetString(NULL, NULL, "-log_exclude", logList, sizeof(logList), &opt)); in PetscFEInitializePackage()
270 if (opt) { in PetscFEInitializePackage()
313 PetscBool opt, pkg; in PetscFVInitializePackage() local
335 PetscCall(PetscOptionsGetString(NULL, NULL, "-log_exclude", logList, sizeof(logList), &opt)); in PetscFVInitializePackage()
336 if (opt) { in PetscFVInitializePackage()
379 PetscBool opt, pkg; in PetscDSInitializePackage() local
[all …]
/petsc/src/sys/classes/random/interface/
H A Ddlregisrand.c34 PetscBool opt, pkg; in PetscRandomInitializePackage() local
51 PetscCall(PetscOptionsGetString(NULL, NULL, "-log_exclude", logList, sizeof(logList), &opt)); in PetscRandomInitializePackage()
52 if (opt) { in PetscRandomInitializePackage()
/petsc/src/sys/classes/viewer/impls/mathematica/
H A Dmathematica.c188 PetscBool opt; in PetscViewerMathematicaSetFromOptions() local
195 PetscCall(PetscOptionsGetString("viewer_", "-math_linkname", linkname, sizeof(linkname), &opt)); in PetscViewerMathematicaSetFromOptions()
196 if (opt) PetscCall(PetscViewerMathematicaSetLinkName(v, linkname)); in PetscViewerMathematicaSetFromOptions()
200 PetscCall(PetscOptionsGetIntArray("viewer_", "-math_linkport", ports, &numPorts, &opt)); in PetscViewerMathematicaSetFromOptions()
201 if (opt) { in PetscViewerMathematicaSetFromOptions()
210 PetscCall(PetscOptionsGetStringArray("viewer_", "-math_linkhost", hosts, &numHosts, &opt)); in PetscViewerMathematicaSetFromOptions()
211 if (opt) { in PetscViewerMathematicaSetFromOptions()
222 PetscCall(PetscOptionsGetString("viewer_", "-math_linkmode", modename, sizeof(modename), &opt)); in PetscViewerMathematicaSetFromOptions()
223 if (opt) { in PetscViewerMathematicaSetFromOptions()
230 PetscCall(PetscOptionsGetString("viewer_", "-math_graphics", type, sizeof(type), &opt)); in PetscViewerMathematicaSetFromOptions()
[all …]
/petsc/src/ksp/ksp/interface/
H A Ddlregisksp.c49 PetscBool opt, pkg; in PCInitializePackage() local
98 PetscCall(PetscOptionsGetString(NULL, NULL, "-log_exclude", logList, sizeof(logList), &opt)); in PCInitializePackage()
99 if (opt) { in PCInitializePackage()
157 PetscBool opt, pkg, cls; in KSPInitializePackage() local
193 PetscCall(PetscOptionsGetString(NULL, NULL, "-log_exclude", logList, sizeof(logList), &opt)); in KSPInitializePackage()
194 if (opt) { in KSPInitializePackage()
/petsc/src/binding/petsc4py/
H A Dmakefile4 default: opt=--inplace macro
16 ${PYTHON} setup.py config ${opt}
18 ${PYTHON} setup.py build ${opt}
20 ${VALGRIND} ${PYTHON} ${PWD}/test/runtests.py ${opt}
22 ${MPIEXEC} -n $* ${VALGRIND} ${PYTHON} ${PWD}/test/runtests.py ${opt}
26 ${PYTHON} setup.py build_src ${opt}
47 ${PYTHON} setup.py install --prefix='' --user ${opt}
163 ${PYTHON} setup.py sdist ${opt}
/petsc/src/tao/interface/
H A Ddlregistao.c37 PetscBool opt, pkg; in TaoInitializePackage() local
62 PetscCall(PetscOptionsGetString(NULL, NULL, "-log_exclude", logList, sizeof(logList), &opt)); in TaoInitializePackage()
63 if (opt) { in TaoInitializePackage()
/petsc/src/snes/tutorials/output/
H A Dex19_tut_6.out9 ./ex19 on a arch-ubuntu-mb-double-extra-opt named pdsbox with 4 processors, by patrick Fri Jul 27 1…
125 Configure options: PETSC_DIR=/home/patrick/petsc-mb PETSC_ARCH=arch-ubuntu-mb-double-extra-opt --wi…
130 Using PETSc arch: arch-ubuntu-mb-double-extra-opt
133 Using C compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc -Wall -Wwrite…
134 Using Fortran compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90 -Wall -…
137 …: -I/home/patrick/petsc-mb/include -I/home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/include
140 Using C linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc
141 Using Fortran linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90
142opt/lib -L/home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/lib -lpetsc -Wl,-rpath,/home/patr…
H A Dex19_tut_4.out9 ./ex19 on a arch-ubuntu-mb-double-extra-opt named pdsbox with 1 processor, by patrick Fri Jul 27 15…
120 Configure options: PETSC_DIR=/home/patrick/petsc-mb PETSC_ARCH=arch-ubuntu-mb-double-extra-opt --wi…
125 Using PETSc arch: arch-ubuntu-mb-double-extra-opt
128 Using C compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc -Wall -Wwrite…
129 Using Fortran compiler: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90 -Wall -…
132 …: -I/home/patrick/petsc-mb/include -I/home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/include
135 Using C linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpicc
136 Using Fortran linker: /home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/bin/mpif90
137opt/lib -L/home/patrick/petsc-mb/arch-ubuntu-mb-double-extra-opt/lib -lpetsc -Wl,-rpath,/home/patr…

12345