[petsc-dev] [PATCH] set block size for jacobian difference matrix

Robert Femmer robert.femmer at avt.rwth-aachen.de
Mon Jan 5 09:34:43 CST 2015


On 01/05/2015 04:02 PM, Jed Brown wrote:
> 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

Thanks Jed, I dropped the python part from the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-set-block-size-for-jacobian-difference-matrix.patch
Type: text/x-patch
Size: 1465 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150105/33a89cb1/attachment.bin>


More information about the petsc-dev mailing list