e passed in also with KSPSetConvergenceTest()
>
>
> On Jan 21, 2025, at 4:25 AM, Daniel Stone
> wrote:
>
> That works wonderfully, thanks! Should be paired with
>
> call KSPConvergedDefaultDestroy(ctx,ierr)
>
> I think.
>
> Best Regards,
>
> Daniel
>
rovided. I have attached a modified version of ex5f.F90 that demonstrates
> how it is constructured before being passed to KSPSetConvergenceTest().
>
>Barry
>
>
> > On Jan 20, 2025, at 8:54 AM, Daniel Stone
> wrote:
> >
> > Hello PETSc Community,
> >
> &
Hello PETSc Community,
I think I've found a bug -
Go to $PETSC_DIR/src/ksp/ksp/tutorials/
open ex5f.F90, and add the following line in MyKSPConverged(), say around
line 336:
call KSPConvergedDefault(ksp,n,rnorm,flag,dummy,ierr)
It should make sense why someone would want to do this - within a
parately - and use it with petsc.
>
> I see an effort to migrate scotch build in petsc to cmake
>
> https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7242/__;!!G_uCfscf7eWS!axLWsOWdCnVQSjIurDkWvFmG4riOizNNPbVM78TQoVScHx7ERMUENiQ-VW2Lh5e83QHhKcA7-HO0nDJ_hTez8JffqQz8h1I$
Hi PETSc community,
I've been looking at using Spack to build PETSc, in particular I need to
disable the default metis/parmetis dependencies and use PTScotch instead,
for our software.
I've had quite a bit of trouble with this - it seems like something in the
resulting build of our simulator ends
seems to be no hint of the MD flag in any of the cmake files provided
with hypre, so it looks like the -MD flag is being added by the cmake Ninja
generator as a kind of default (and maybe in a confused way - why the -
instead of /?)
So the task now seems to be to convince cmake to stop doing this.
Hello PETSc Users/Developers,
A collegue of mine is looking into implementing an adaptive implicit method
(AIM) over
PETSc in our simulator. This has led to some interesting questions about
what can
be done with blocked matrices, which I'm not able to answer myself - does
anyone have
any insight?
>
> >>> On Thu, 20 Jul 2023, Barry Smith via petsc-users wrote:
> >>>
> >>>>
> >>>> You cannot use this version of PETSc, 3.19, with the version of hypre
> you installed. In hypre they recently changed hypre_Error from an integer
> to
> https://github.com/hypre-space/hypre/archive/'+self.gitcommit+'.tar.gz']
> > >> -self.functions = ['HYPRE_IJMatrixCreate']
> > >> +self.functions = []
> > >> self.includes= ['HYPRE.h']
> &
;]
> > >> self.liblist = [['libHYPRE.a']]
> > >> self.buildLanguages = ['C','Cxx']
> > >>
> > >>
> > >> Satish
> > >>
> > >>
> > >> On Wed, 19 Jul 2023, Barry Smith wrote:
> > >>
> > >
Hello,
I'm working on getting a petsc build running on windows. One necessary
package to include is Hypre. I've been able to build Hypre seperately using
cmake, and confirmed that the library works
by setting up a VS project to run some of the example programs.
My attempted petsc build is being d
Hello all,
I am currently having to figure out a way to get petsc working on windows,
using compilers from the intel oneAPI package. This means new compiler
names, such as "icx" for the c compiler and "ifx" for the fortran one.
I see from the installation instructions, and from old notes from a
c
mpich-configure-arguments=string
>
> Satish
>
> On Mon, 8 Nov 2021, Daniel Stone wrote:
>
> > Hello all,
> >
> > I've been having some configure failures trying to configure petsc, on
> > Ubuntu 20, when
> > downloading mpich.
> >
> >
&
configure option to disable this. If you
> are able to find this option - you can use it via petsc configure with:
>
> --download-mpich-configure-arguments=string
>
> Satish
>
> On Mon, 8 Nov 2021, Daniel Stone wrote:
>
> > Hello all,
> >
> > I've been ha
Hello all,
I've been having some configure failures trying to configure petsc, on
Ubuntu 20, when
downloading mpich.
This seems to be related to the use of
"#!/bin/sh"
found in the script
mpich-3.4.2/modules/yaksa/src/backend/cuda/cudalt.sh
/bin/sh in Ubuntu20 is dash, not bash, and line 35 of
>
> > On 21 Sep 2021, at 11:19, Daniel Stone
> wrote:
> >
> > Hello,
> >
> > If we look at lines 2330-2331 in file baij2.c, it looks like there are
> some
> > mistakes in assigning the `sum..` variables to the z array, causing
> > the function Ma
Hello,
If we look at lines 2330-2331 in file baij2.c, it looks like there are some
mistakes in assigning the `sum..` variables to the z array, causing
the function MatMultAdd_SeqBAIJ_11() to not produce the correct
answer.
I don't have a good example program to demonstrate this yet - it's
current
s,
Daniel
On Tue, May 11, 2021 at 10:28 AM Pierre Jolivet wrote:
> Hello Daniel,
> Which PETSc version are you using?
> I think this has been addressed there:
> https://gitlab.com/petsc/petsc/-/merge_requests/3671
>
> Thanks,
> Pierre
>
> On 11 May 2021, at 11:22 AM, Da
re harvested and
this error is generated, so I can try to get a better idea about what is
going on?
Thanks,
Daniel Stone
AIJ_MatGetSubmatrices
> ~/Src/petsc ((v3.8)) arch-basic
>
>
>
> Are you using a the PETSc git repository and some particular branch or
> commit in it?
>
>
> > On Nov 25, 2017, at 11:09 AM, Daniel Stone
> wrote:
> >
> > Thanks for the quick response.
>
j
rows=1122000, cols=1122000
total: nonzeros=778, allocated nonzeros=778
total number of mallocs used during MatSetValues calls =0
Thanks,
Daniel Stone
On Fri, Nov 24, 2017 at 4:08 PM, Smith, Barry F. wrote:
>
> First run under valgrind. https://www.mcs.anl.gov/petsc/
>
where to start with getting this to work? I can
provide a lot more information
from the debugger if need.
Many thanks in advance,
Daniel Stone
22 matches
Mail list logo