| /petsc/src/binding/petsc4py/ |
| H A D | makefile | 9 PYTHON = python$(py) 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} 34 ${PYTHON} setup.py clean --all 47 ${PYTHON} setup.py install --prefix='' --user ${opt} 49 -${RM} -r $(shell ${PYTHON} -m site --user-site)/${package} 50 -${RM} -r $(shell ${PYTHON} -m site --user-site)/${package}-*-py*.egg-info [all …]
|
| /petsc/src/binding/petsc4py/demo/legacy/petsc-examples/ksp/ |
| H A D | makefile | 4 PYTHON=python3 macro 14 ${PYTHON} $@.py 15 ${MPIEXEC} ${PYTHON} $@.py
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | validate-petsc4py.sh | 11 if [[ -z "${PYTHON}" ]] 13 PYTHON=python 29 ${PYTHON} -m petsc4py -help || \
|
| H A D | builddist | 108 make sdist PYTHON=python3 SHELL=/bin/bash
|
| /petsc/src/benchmarks/streams/ |
| H A D | makefile | 52 -@${PYTHON} process.py MPI fileoutput 67 -@${PYTHON} process.py CUDA fileoutput 77 -@${PYTHON} process.py OpenMP fileoutput 86 -@${PYTHON} process.py OpenMPLikeMPI fileoutput 92 -@${PYTHON} process.py MPI 95 -@${PYTHON} process.py OpenMP
|
| /petsc/src/binding/petsc4py/demo/legacy/kspsolve/ |
| H A D | makefile | 4 PYTHON=python macro 18 ${MPIEXEC} ${PYTHON} ${SCRIPT1}.py 23 ${MPIEXEC} ${PYTHON} ${SCRIPT2}.py
|
| /petsc/src/binding/petsc4py/demo/legacy/bratu3d/ |
| H A D | makefile | 4 PYTHON=python macro 17 ${MPIEXEC} ${PYTHON} bratu3d.py -fd -nx 7 -ny 8 -nz 9 21 ${MPIEXEC} ${PYTHON} bratu3d.py -mf -nx 9 -ny 8 -nz 7
|
| /petsc/src/binding/petsc4py/demo/legacy/bratu2d/ |
| H A D | makefile | 4 PYTHON=python macro 23 ${MPIEXEC} ${PYTHON} bratu2d.py -impl python 33 ${MPIEXEC} ${PYTHON} bratu2d.py -impl fortran
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/ |
| H A D | makefile | 4 PYTHON=python macro 20 ${PYTHON} ${SCRIPT}.py 27 ${PYTHON} setup.py -q build_ext --inplace
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-cython/ |
| H A D | makefile | 4 PYTHON=python macro 20 ${MPIEXEC} ${PYTHON} ${SCRIPT}.py 24 ${PYTHON} setup.py -q build_ext --inplace
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-swig/ |
| H A D | makefile | 4 PYTHON=python macro 20 ${MPIEXEC} ${PYTHON} ${SCRIPT}.py 24 ${PYTHON} setup.py -q build_ext --inplace
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex100.py | 13 A.setType(PETSc.Mat.Type.PYTHON) 22 ksp.setType(PETSc.KSP.Type.PYTHON) 26 pc.setType(PETSc.PC.Type.PYTHON)
|
| /petsc/src/binding/petsc4py/demo/legacy/poisson2d/ |
| H A D | makefile | 4 PYTHON=python macro 14 ${MPIEXEC} ${PYTHON} poisson2d.py -nx 15 -ny 16
|
| /petsc/src/binding/petsc4py/demo/legacy/binary-io/ |
| H A D | makefile | 4 PYTHON=python macro 14 ${MPIEXEC} ${PYTHON} matvecio.py
|
| /petsc/src/binding/petsc4py/demo/legacy/perftest/ |
| H A D | makefile | 4 PYTHON=python macro 19 ${MPIEXEC} ${PYTHON} ${SCRIPT}.py
|
| /petsc/src/binding/petsc4py/demo/legacy/poisson3d/ |
| H A D | makefile | 4 PYTHON=python macro 24 ${MPIEXEC} ${PYTHON} ${SCRIPT}.py
|
| /petsc/src/binding/petsc4py/docs/source/ |
| H A D | petsc_python_types.rst | 20 in Python through the `petsc4py.PETSc.Mat.Type.PYTHON` type. 40 The protocol for the `petsc4py.PETSc.PC.Type.PYTHON` preconditioner is: 76 The protocol for the `petsc4py.PETSc.KSP.Type.PYTHON` Krylov solver is: 95 The protocol for the `petsc4py.PETSc.TAO.Type.PYTHON` TAO optimizer is: 137 The protocol for the `petsc4py.PETSc.Viewer.Type.PYTHON` viewer is:
|
| /petsc/lib/petsc/conf/ |
| H A D | rules_util.mk | 94 …-@${PYTHON} ${PETSC_DIR}/lib/petsc/bin/maint/check_header_guard.py --action=check --kind=pragma_on… 97 …-@${PYTHON} ${PETSC_DIR}/lib/petsc/bin/maint/doublelinecheck.py doublelinecheck.out >> checkbadSou… 213 …${PYTHON} ${PETSC_DIR}/lib/petsc/bin/maint/petsclinter --verbose=${V} --apply-patches=${REPLACE} $… 216 @${PYTHON} ${PETSC_DIR}/lib/petsc/bin/maint/petsclinter --help 251 ${PYTHON} ${PETSC_DIR}/lib/petsc/bin/maint/petsclinter/petsclinter/pkg_consistency_checks.py 252 …${PYTHON} ${PETSC_DIR}/lib/petsc/bin/maint/petsclinter ${PETSC_DIR}/src/sys/tests/linter --test -j…
|
| /petsc/ |
| H A D | makefile | 72 -@PETSC_DIR=${PETSC_DIR} ${PYTHON} ${PETSC_DIR}/lib/petsc/bin/petscnagupgrade.py 84 …@${PYTHON} lib/petsc/bin/generatefortranbindings.py --petsc-dir=${PETSC_DIR} --petsc-arch=${PETSC_… 108 @unset MAKEFLAGS && ${PYTHON} ${PETSC_ARCH}/lib/petsc/conf/reconfigure-${PETSC_ARCH}.py 223 @${PYTHON} ./config/install.py -destDir=${DESTDIR} 228 @${PYTHON} ./config/install.py -destDir=${DESTDIR} -no-examples 401 …-@$(PYTHON) ${PETSC_DIR}/lib/petsc/bin/maint/abicheck.py -old_dir ${PETSC_DIR_ABI_OLD} -old_arch $… 459 -@${PYTHON} lib/petsc/bin/maint/generateetags.py && ${CP} TAGS ${PETSC_ARCH}/ 509 …$(PYTHON) ${PETSC_DIR}/lib/petsc/bin/maint/gcov.py --merge-branch `lib/petsc/bin/maint/check-merge…
|
| H A D | gmakefile.test | 105 …$(PYTHON) $(CONFIGDIR)/gmakegentest.py --petsc-dir=$(PETSC_DIR) --petsc-arch=$(PETSC_ARCH) --testd… 252 realpath-py = $(shell $(PYTHON) -c 'import os, sys; print(os.path.realpath(sys.argv[1]))' $(1)) 396 …TESTTARGETS := $(shell $(PYTHON) $(CONFIGDIR)/query_tests.py --testdir=$(TESTDIR) --petsc-dir=$(PE… 398 …TESTTARGETS := $(shell $(PYTHON) $(CONFIGDIR)/query_tests.py --testdir=$(TESTDIR) --petsc-dir=$(PE… 402 …TESTTARGETS := $(shell $(PYTHON) $(CONFIGDIR)/query_tests.py --testdir=$(TESTDIR) --petsc-dir=$(PE… 404 …TESTTARGETS := $(shell $(PYTHON) $(CONFIGDIR)/query_tests.py --testdir=$(TESTDIR) --petsc-dir=$(PE… 419 -@$(PYTHON) $(CONFIGDIR)/report_tests.py -d $(TESTDIR)/counts -f 431 …$(PYTHON) $(CONFIGDIR)/report_tests.py -m $(MAKE) -d $(TESTDIR)/counts -t 5 -e $${elapsed_time} $(… 434 …$(PYTHON) $(CONFIGDIR)/gmakegentest.py --petsc-dir=$(PETSC_DIR) --petsc-arch=$(PETSC_ARCH) --testd…
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_snes_py.py | 91 SNES_TYPE = PETSc.SNES.Type.PYTHON
|
| H A D | test_viewer_py.py | 47 self.viewer.setType(PETSc.Viewer.Type.PYTHON)
|
| H A D | test_ksp_py.py | 92 KSP_TYPE = PETSc.KSP.Type.PYTHON
|
| /petsc/src/binding/petsc4py/demo/python_types/ |
| H A D | mat.py | 115 A.setType(PETSc.Mat.Type.PYTHON)
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Viewer.pyx | 19 PYTHON = S_(PETSCVIEWERPYTHON) variable in ViewerType 934 """Create a `Type.PYTHON` viewer. 947 petsc_python_viewer, setType, setPythonContext, Type.PYTHON
|