| /petsc/src/binding/petsc4py/demo/legacy/wrap-swig/ |
| H A D | makefile | 16 build: ${MODULE}.py _${MODULE}.so 20 ${MPIEXEC} ${PYTHON} ${SCRIPT}.py 22 ${MODULE}.py _${MODULE}.so: ${MODULE}.i ${MODULE}.c ${MODULE}.h 24 ${PYTHON} setup.py -q build_ext --inplace 29 ${RM} ${MODULE}.py _${MODULE}*.so 30 ${RM} *.py[co]
|
| /petsc/src/binding/petsc4py/ |
| H A D | MANIFEST.in | 1 include setup*.py *.toml *.cfg *.rst 3 recursive-include demo [M,m]akefile* *.py *.pyx *.i *.[hc] 5 recursive-include conf *.py *.sh *.cfg 6 recursive-include src *.py *.pyx *.px[di] *.h *.c *.i *.cfg 7 recursive-include test *.py
|
| H A D | makefile | 9 PYTHON = python$(py) 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 36 -${RM} -r build _configtest.* *.py[co] 47 ${PYTHON} setup.py install --prefix='' --user ${opt} 50 -${RM} -r $(shell ${PYTHON} -m site --user-site)/${package}-*-py*.egg-info [all …]
|
| H A D | .ruff.toml | 1 include = ["*.py", "src/*.py"]
|
| /petsc/doc/tutorials/performance/ |
| H A D | guide_to_TAS.md | 21 …mpiexec -n 2 ./ex13 -log_view :/home/<user name>/PETSC_DIR/lib/petsc/bin/ex_13_test.py:ascii_info_… 29 …lled `ex_13_test.py` should now be present. This is also the same directory that contains the TAS … 31 4. Now run `petsc_tas_analysis.py`: 34 ./petsc_tas_analysis.py -f ex_13_test 46 2. On the command line use `./petsc_tas_analysis.py -h`
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | createpatch | 74 /bin/mv src/binding/petsc4py/src/petsc4py/__init__.py src/binding/petsc4py/src/petsc4py/__init__.py… 75 cat src/binding/petsc4py/src/petsc4py/__init__.py.bak | \ 76 …d -e "s/__version__ =.*/__version__ = '${newver}'/" > src/binding/petsc4py/src/petsc4py/__init__.py 77 /bin/rm -f src/binding/petsc4py/src/petsc4py/__init__.py.bak 86 …wver}" include/petscversion.h doc/install/download.md src/binding/petsc4py/src/petsc4py/__init__.py
|
| /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 | 18 ${MPIEXEC} ${PYTHON} ${SCRIPT1}.py 23 ${MPIEXEC} ${PYTHON} ${SCRIPT2}.py 27 ${RM} *.py[co]
|
| /petsc/src/binding/petsc4py/demo/legacy/bratu3d/ |
| H A D | makefile | 17 ${MPIEXEC} ${PYTHON} bratu3d.py -fd -nx 7 -ny 8 -nz 9 21 ${MPIEXEC} ${PYTHON} bratu3d.py -mf -nx 9 -ny 8 -nz 7 25 ${RM} *.py[co]
|
| /petsc/src/binding/petsc4py/docs/source/ |
| H A D | petsc_python_types.rst | 26 .. literalinclude:: ../../demo/python_types/matpython_protocol.py 33 .. literalinclude:: ../../demo/python_types/mat.py 42 .. literalinclude:: ../../demo/python_types/pcpython_protocol.py 48 .. literalinclude:: ../../demo/python_types/pc.py 55 $ python mat.py -pc_type python -pc_python_type pc.myJacobi -ksp_view 78 .. literalinclude:: ../../demo/python_types/ksppython_protocol.py 97 .. literalinclude:: ../../demo/python_types/tao.py 124 python tao.py -tao_type python -tao_python_type tao.myGradientDescent 139 .. literalinclude:: ../../demo/python_types/petscviewerpython_protocol.py
|
| H A D | contributing.rst | 28 To add a new test, either add a new :file:`test_xxx.py` or modify a 33 If you add a new :file:`test_xxx.py`, you can run the tests using:: 36 $ python test/runtests.py -k test_xxx 38 If instead you are modifying an existing :file:`test_xxx.py`, 42 $ python test/runtests.py -k test_xxx.class_name.method_name
|
| H A D | install.rst | 40 $ python test/runtests.py 48 $ python test/runtests.py -k test_optdb 50 to run all the tests provided in :file:`tests/test_optdb.py`. 54 $ python test/runtests.py --help 60 $ mpiexec -n 4 python test/runtests.py
|
| H A D | petsc_options.rst | 25 $ python foo.py -ksp_type gmres -ksp_gmres_restart 100 -ksp_view 31 $ PETSC_OPTIONS='-ksp_type gmres -ksp_gmres_restart 100 -ksp_view' python foo.py 46 $ python foo.py -n 50 -alpha 8.8
|
| /petsc/src/binding/petsc4py/demo/legacy/bratu2d/ |
| H A D | makefile | 23 ${MPIEXEC} ${PYTHON} bratu2d.py -impl python 33 ${MPIEXEC} ${PYTHON} bratu2d.py -impl fortran 37 ${RM} *.py[co] ${MODULE}*.so
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/ |
| H A D | makefile | 20 ${PYTHON} ${SCRIPT}.py 27 ${PYTHON} setup.py -q build_ext --inplace 33 ${RM} *.py[co]
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-cython/ |
| H A D | makefile | 20 ${MPIEXEC} ${PYTHON} ${SCRIPT}.py 24 ${PYTHON} setup.py -q build_ext --inplace 30 ${RM} *.py[co]
|
| /petsc/src/binding/petsc4py/demo/legacy/petsc-examples/ksp/ |
| H A D | makefile | 14 ${PYTHON} $@.py 15 ${MPIEXEC} ${PYTHON} $@.py
|
| /petsc/src/binding/petsc4py/demo/legacy/poisson2d/ |
| H A D | makefile | 14 ${MPIEXEC} ${PYTHON} poisson2d.py -nx 15 -ny 16 18 ${RM} *.py[co]
|
| /petsc/src/binding/petsc4py/demo/legacy/binary-io/ |
| H A D | makefile | 14 ${MPIEXEC} ${PYTHON} matvecio.py 19 ${RM} *.py[co]
|
| /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 287 @if [ -f ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/reconfigure-${PETSC_ARCH}.py ]; then\ 289 … mv -f ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/reconfigure-${PETSC_ARCH}.py ${PETSC_DIR}/;\ 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… [all …]
|
| H A D | .editorconfig | 5 [*.{c,h,hpp,cpp,cxx,cu,h90,F90,py,yaml,yml,json,tex,md}] 12 [*.{c,h,hpp,cpp,cxx,cu,h90,F90,py,yaml,yml,json,tex}]
|
| /petsc/systems/Apple/iOS/bin/ |
| H A D | makeall | 18 ./systems/Apple/iOS/bin/arch-ios-simulator.py 19 ./systems/Apple/iOS/bin/iosbuilder.py
|
| /petsc/src/binding/petsc4py/demo/legacy/perftest/ |
| H A D | makefile | 19 ${MPIEXEC} ${PYTHON} ${SCRIPT}.py 35 ${RM} -r __pycache__ *.py[co]
|
| /petsc/systems/Apple/OSX/bin/ |
| H A D | makeall | 19 ./systems/Apple/OSX/bin/arch-osx-debug.py 25 ./systems/Apple/OSX/bin/arch-osx-release.py
|
| /petsc/src/binding/petsc4py/demo/legacy/poisson3d/ |
| H A D | makefile | 24 ${MPIEXEC} ${PYTHON} ${SCRIPT}.py 40 ${RM} *.py[co] ${MODULE}*.so ${EXECUTABLE}.exe
|