Re: [petsc-users] Spack build and ptscotch

2024-05-01 Thread Daniel Stone
h 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$ > > https://urld

[petsc-users] Spack build and ptscotch

2024-04-24 Thread Daniel Stone
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

Re: [petsc-users] Confusion/failures about the tests involved in including Hypre

2023-08-01 Thread Daniel Stone
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. On Mon, Jul 24, 20

[petsc-users] support for mixed block size matrices/AIM in PETSc?

2023-07-24 Thread Daniel Stone
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?

Re: [petsc-users] Confusion/failures about the tests involved in including Hypre

2023-07-24 Thread Daniel Stone
ul 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 a struct which completely

Re: [petsc-users] Confusion/failures about the tests involved in including Hypre

2023-07-20 Thread Daniel Stone
> >> self.liblist = [['libHYPRE.a']] > > >> self.buildLanguages = ['C','Cxx'] > > >> > > >> > > >> Satish > > >> > > >> > > >> On Wed, 19 Jul 2023, Barry Smith wrote: > > >> >

Re: [petsc-users] Confusion/failures about the tests involved in including Hypre

2023-07-20 Thread Daniel Stone
t;> > > >> > > >> On Wed, 19 Jul 2023, Barry Smith wrote: > > >> > > >>> > > >>> You don't indicate what type of libraries you built hypre with; > static or shared. My guess is you ended up with shared > > >>> > > >>> I think the answer to your

[petsc-users] Confusion/failures about the tests involved in including Hypre

2023-07-19 Thread Daniel Stone
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

[petsc-users] win32fe?

2023-01-31 Thread Daniel Stone
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

Re: [petsc-users] Configure of 3.16.1 failing on mpich/yaksa

2021-11-09 Thread Daniel Stone
-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. > > > > > > This seems

Re: [petsc-users] Configure of 3.16.1 failing on mpich/yaksa

2021-11-08 Thread Daniel Stone
a 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 having some

[petsc-users] Configure of 3.16.1 failing on mpich/yaksa

2021-11-08 Thread Daniel Stone
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

Re: [petsc-users] Is this a bug? MatMultAdd_SeqBAIJ_11

2021-09-21 Thread Daniel Stone
iel, > > > 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 MatMult

[petsc-users] Is this a bug? MatMultAdd_SeqBAIJ_11

2021-09-21 Thread Daniel Stone
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

Re: [petsc-users] Open MPI library version error

2021-05-11 Thread Daniel Stone
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, Daniel Stone

[petsc-users] Open MPI library version error

2021-05-11 Thread Daniel Stone
ested and this error is generated, so I can try to get a better idea about what is going on? Thanks, Daniel Stone

Re: [petsc-users] crash with PCASM in parallel

2017-11-25 Thread Daniel Stone
BAIJ_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 <daniel.st...@opengosim.com> > wrote: > > > >

Re: [petsc-users] crash with PCASM in parallel

2017-11-25 Thread Daniel Stone
al: 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. <bsm...@mcs.anl.gov> wrote: > > First run under valgrind. https://www.mcs.anl.gov/petsc/ &

[petsc-users] crash with PCASM in parallel

2017-11-24 Thread Daniel Stone
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