Lines Matching +full:petsc4py +full:- +full:pip
11 all message-passing communication.
15 To install the ``PETSc`` and ``petsc4py`` packages use::
17 $ python -m pip install numpy
18 $ python -m pip install petsc petsc4py
22 You can also install the in-development versions with::
24 $ python -m pip install cython numpy
25 … $ python -m pip install --no-deps https://gitlab.com/petsc/petsc/-/archive/main/petsc-main.tar.gz
29 …t use the ``PETSc`` ``./configure`` options ``--with-cc``, ``--with-cxx``, ``--with-fc``, or ``--w…
50 # Contact: petsc-maint@mcs.anl.gov
65 # Contact: petsc-maint@mcs.anl.gov
69 if "--prefix" in sys.argv:
87 PETSC_ARCH = 'arch-python'
107 if i.startswith('--with-mpi-dir='):
108 …raise RuntimeError("Do not use --with-mpi-dir, use the environmental variables MPICC, MPICXX, MPIF…
109 if i.startswith('--with-cc='):
110 raise RuntimeError("Do not use --with-cc, use the environmental variable MPICC")
111 if i.startswith('--with-cxx=') and i != "--with-cxx=0":
112 raise RuntimeError("Do not use --with-cxx, use the environmental variable MPICXX")
113 if i.startswith('--with-fc=') and i != "--with-fc=0":
114 raise RuntimeError("Do not use --with-fc, use the environmental variable MPIFORT")
121 '--prefix=' + prefix,
123 '--with-shared-libraries=1',
124 '--with-c2html=0', # not needed
126 if '--with-fc=0' in CONFIGURE_OPTIONS:
127 options.append('--with-sowing=0')
128 if '--with-debugging=1' not in CONFIGURE_OPTIONS:
129 options.append('--with-debugging=0')
130 if '--with-mpi=0' not in CONFIGURE_OPTIONS:
140 options.append('--with-cc='+mpicc)
141 if '--with-cxx=0' not in CONFIGURE_OPTIONS:
143 options.append('--with-cxx='+mpicxx)
145 options.append('--with-cxx=0')
146 if '--with-fc=0' not in CONFIGURE_OPTIONS:
148 options.append('--with-fc='+mpifort)
150 options.append('--with-fc=0')
151 options.append('--with-sowing=0')
153 options.append('--with-mpi=0')
293 plat_tag = super().get_tag()[-1]
302 'release': re.compile(r"#define\s+PETSC_VERSION_RELEASE\s+([-]*\d+)"),
321 return ('https://web.cels.anl.gov/projects/petsc/download/release-snapshots/'
322 'petsc-%s.tar.gz#egg=petsc-%s' % (VERSION, VERSION))
325 description = __doc__.split('\n')[1:-1]
329 Development Status :: 5 - Production/Stable
348 long_description_content_type='text/x-rst',
349 classifiers=classifiers.split('\n')[1:-1],
352 license='BSD-2-Clause',
358 author_email='petsc-maint@mcs.anl.gov',