| /petsc/src/binding/petsc4py/docs/source/ |
| H A D | install.rst | 11 $ python -m pip install petsc petsc4py 20 $ python -m pip install src/binding/petsc4py 25 $ PETSC_ARCH='arch-0:...:arch-N' python -m pip install src/binding/petsc4py 40 $ python test/runtests.py 48 $ python test/runtests.py -k test_optdb 54 $ python test/runtests.py --help 60 $ mpiexec -n 4 python test/runtests.py 71 $ python -m pip install -r src/binding/petsc4py/conf/requirements-docs.txt
|
| H A D | petsc_options.rst | 12 .. code-block:: python 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 35 .. code-block:: python 46 $ python foo.py -n 50 -alpha 8.8 52 .. code-block:: python
|
| H A D | petsc_python_types.rst | 55 $ python mat.py -pc_type python -pc_python_type pc.myJacobi -ksp_view 63 type: python 67 type: python 116 .. code-block:: python 124 python tao.py -tao_type python -tao_python_type tao.myGradientDescent
|
| H A D | contributing.rst | 12 $ python -m pip install -r src/binding/petsc4py/conf/requirements-lint.txt 30 `unittest <https://docs.python.org/3/library/unittest.html>`_ 36 $ python test/runtests.py -k test_xxx 42 $ python test/runtests.py -k test_xxx.class_name.method_name
|
| H A D | links.txt | 7 .. _Python: https://www.python.org
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | petsc4py.py | 32 self.python = framework.require('config.packages.Python',self) 86 …newdir + archflags + cflags + ' PYTHONPATH=${PETSCPYTHONPATH} ' + self.python.pyexe + ' setup.py b… 87 …'MPICC=${PCC} ' + newdir + archflags + self.python.pyexe +' setup.py install --install-lib=' + ins… 97 …tensity 0 -error_output_stdout -malloc_dump ${PETSC_TEST_OPTIONS}', self.python.pyexe, os.path.joi… 99 self.python.path.add(installLibPath) 113 if not getattr(self.python,pkg): npkgs.append(pkg) 117 …'or with "pip" using: %s -m pip install %s' % (" ".join(npkgs), self.python.pyexe, " ".join(npkgs)…
|
| H A D | mpi4py.py | 19 self.python = framework.require('config.packages.Python',self) 54 …cleancmd = 'MPICC='+self.framework.getCompiler()+' '+archflags+self.python.pyexe+' setup.py clean… 65 …buildcmd = 'MPICC='+self.framework.getCompiler()+' '+archflags+cflags+self.python.pyexe+' setup.p… 70 …installcmd = 'MPICC='+self.framework.getCompiler()+' '+self.python.pyexe+' setup.py install --inst… 80 if not getattr(self.python,'numpy'): 83 'or using: %s -m pip install %s' % (self.python.pyexe, 'numpy')) 101 self.python.path.add(installLibPath)
|
| H A D | slepc4py.py | 30 self.python = framework.require('config.packages.Python',self) 91 …PATH=${PETSCPYTHONPATH} SLEPC_DIR=' + self.slepc.installDir + ' ' + self.python.pyexe + ' setup.py… 92 …PATH=${PETSCPYTHONPATH} SLEPC_DIR=' + self.slepc.installDir + ' ' + self.python.pyexe +' setup.py … 94 …tensity 0 -error_output_stdout -malloc_dump ${PETSC_TEST_OPTIONS}', self.python.pyexe, os.path.joi… 97 self.python.path.add(installLibPath)
|
| H A D | BAMG.py | 16 self.python = framework.require('config.packages.Python',self) 45 …self.addPost(self.packageDir,[carg + self.python.pyexe + ' ./configure --prefix=' + prefix + ' --w…
|
| H A D | FEniCS-DOLFINx.py | 34 self.python = framework.require('config.packages.Python',self) 125 …'cd ../../python && ' + ccarg + ' ' + ppath + ' ' + dpath + ' ' + self.python.pyexe + ' -m pip i… 128 self.python.path.add(os.path.join(self.installDir,'lib'))
|
| H A D | SLEPc.py | 25 self.python = framework.require('config.packages.Python',self) 75 …self.addPost(self.packageDir,[carg + ' ' + self.python.pyexe + ' ./configure --prefix=' + prefix +…
|
| H A D | MPICH.py | 26 self.python = framework.require('config.packages.Python',self) 105 args.append('PYTHON='+self.python.pyexe)
|
| /petsc/src/binding/petsc4py/ |
| H A D | makefile | 9 PYTHON = python$(py) 70 . petsc4py-lint-env/bin/activate && python -m pip install -r conf/requirements-lint.txt 77 . petsc4py-docs-env/bin/activate && python -m pip install -r conf/requirements-docs.txt 78 . petsc4py-docs-env/bin/activate && CFLAGS=-O0 python -m pip install . 82 python -m pip install . 83 python conf/stubgen.py 86 …python -m mypy.stubtest petsc4py --ignore-missing-stub --allowlist conf/stubtest-allowlist --ignor… 94 . petsc4py-stubtest-env/bin/activate && python -m pip install -r conf/requirements-stubtest.txt 154 CFLAGS=-O0 python -m pip install .
|
| /petsc/src/binding/petsc4py/demo/legacy/bratu2d/ |
| H A D | makefile | 4 PYTHON=python 23 ${MPIEXEC} ${PYTHON} bratu2d.py -impl python
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/ |
| H A D | Bratu2D.pyf | 3 python module Bratu2D 39 end python module Bratu2D
|
| /petsc/src/binding/petsc4py/demo/legacy/perftest/ |
| H A D | App.pyf | 3 python module App 25 end python module App
|
| H A D | makefile | 4 PYTHON=python
|
| /petsc/src/sys/error/ |
| H A D | errtrace.c | 197 PetscBool python = (n == PETSC_ERR_PYTHON && cnt == 1) ? PETSC_TRUE : PETSC_FALSE; in PetscTraceBackErrorHandler() local 199 if (p == PETSC_ERROR_INITIAL || python) { in PetscTraceBackErrorHandler() 220 if (python) (void)PetscPythonPrintError(); in PetscTraceBackErrorHandler()
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | cythonize.sh | 4 python"${py:=}" "$topdir/conf/cythonize.py" \
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | validate-petsc4py.sh | 13 PYTHON=python
|
| /petsc/src/binding/petsc4py/demo/legacy/poisson2d/ |
| H A D | makefile | 4 PYTHON=python
|
| /petsc/src/binding/petsc4py/demo/legacy/binary-io/ |
| H A D | makefile | 4 PYTHON=python
|
| /petsc/src/binding/petsc4py/demo/legacy/kspsolve/ |
| H A D | makefile | 4 PYTHON=python
|
| /petsc/src/binding/petsc4py/demo/legacy/bratu3d/ |
| H A D | makefile | 4 PYTHON=python
|
| /petsc/src/binding/petsc4py/src/petsc4py/ |
| H A D | PETSc.pyx | 3 # cython: embedsignature.format=python
|