[petsc-dev] [PATCH] set block size for jacobian difference matrix
Jed Brown
jed at jedbrown.org
Mon Jan 5 09:02:43 CST 2015
Robert Femmer <robert.femmer at avt.rwth-aachen.de> writes:
> When testing jacobian diffs via -snes_type test, block size is not
> explicitly set
> during setup of the difference matrix B. This can cause problems when the
> block size is explicitly set in the origin jacobian and is not derivable
> from local
> matrix sizes, for instance on a single core. The patch sets block size
> explicitly.
> The patch is trivial, and unfortunately includes the explicit naming of the
> python version in the configure script. This ensures portability to
> linux distros
> where the default python version is >=3.0 (e.g., arch linux).
Robert, these are unrelated changes, so we'd prefer it if you submit
these as separate commits. The problem with naming "python2" in the
script is that a lot of older machines don't have a "python2" (an old,
bad mistake by the Python community). So until BuildSystem grows the
ability to use Python-3, those of us running systems where "python" is
python3 have to run
python2 configure --options
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150105/f928a704/attachment.sig>
More information about the petsc-dev
mailing list