<html>#2421: make TATPETSc work with PETSc 3.12.5
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>Please see also the discussion in <a data-is-external-link="true" href="https://github.com/EinsteinToolkit/ExternalLibraries-PETSc/pull/1" rel="nofollow">https://github.com/EinsteinToolkit/ExternalLibraries-PETSc/pull/1</a> where the error message is shown:</p>
<p>Right now with 3.12.5 (but not the version in the release) it fails the <code>charge_tatelliptic_petsc</code> test of CactusExamples/Poisson which uses TATelliptic and TATPETSc but not EllPETSc (which seems to be not used by any par or ccl file in the ET). On 2 MPI ranks the error produced by<code>charge_tatelliptic_petsc</code> is about differing scalar multipliers and an aXPlusY or so vector call, while on a single MPI rank the error is (the maybe more helpful):</p>
<div class="codehilite"><pre><span></span>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Operation done in wrong order
[0]PETSC ERROR: You should call DMSetUp() first
[0]PETSC ERROR: See https://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.12.5, Mar, 29, 2020
[0]PETSC ERROR: Cactus on a  named ekohaes8 by rhaas Sun Jun 21 15:27:28 2020
[0]PETSC ERROR: Configure options --LDFLAGS=&quot;-rdynamic  -L/data/rhaas/postdoc/gr/cactus/ET_trunk/configs/poison/scratch/external/LAPACK -Wl,-rpath,/data/rhaas/postdoc/gr/cactus/ET_trunk/configs/poison/scratch/external/LAPACK -L/usr/lib/gcc/x86_64-linux-gnu/10/ -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/10/ -L/data/rhaas/postdoc/gr/cactus/ET_trunk/configs/poison/scratch/external/BLAS -Wl,-rpath,/data/rhaas/postdoc/gr/cactus/ET_trunk/configs/poison/scratch/external/BLAS -L/usr/lib/gcc/x86_64-linux-gnu/10/ -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/10/ -L/data/rhaas/postdoc/gr/cactus/ET_trunk/configs/poison/scratch/external/PETSc/lib -Wl,-rpath,/data/rhaas/postdoc/gr/cactus/ET_trunk/configs/poison/scratch/external/PETSc/lib -L/data/rhaas/postdoc/gr/cactus/ET_trunk/configs/poison/scratch/external/LAPACK -Wl,-rpath,
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2421/make-tatpetsc-work-with-petsc-3125'>https://bitbucket.org/einsteintoolkit/tickets/issues/2421/make-tatpetsc-work-with-petsc-3125</a></p>
</html>