[petsc-users] Question about correctly catching fp_trap
Balay, Satish
balay at mcs.anl.gov
Thu Jan 3 20:44:49 CST 2019
I guess the primary bug here is 'petsc+debug' option is broken in spack.
Its not clear to me if a package in spack should have 'debug' option. [so I should remove this?]
since spack way is perhaps:
spack install CFLAGS=-g FFLAGS=-g CXXFLAGS=-g petsc
Satish
On Fri, 4 Jan 2019, Smith, Barry F. via petsc-users wrote:
>
> This appears to be more a spack question than a PETSc question. That make (that doesn't have the -g) is controlled by spack, not PETSc.
>
> Barry
>
>
> > On Jan 3, 2019, at 6:15 PM, Sajid Ali via petsc-users <petsc-users at mcs.anl.gov> wrote:
> >
> > Hi,
> >
> > I've compiled a program using petsc with debugging enabled.
> > Confirmation of the same : https://pastebin.com/aa0XDheD (check if the loaded module is indeed petsc+debug, compile)
> >
> > When I run it in a debugger, I get the error as shown below: https://pastebin.com/GJtB2Ghz
> >
> > What am I missing?
> >
> > Thank You,
> > Sajid Ali
> > Applied Physics
> > Northwestern University
>
More information about the petsc-users
mailing list