[petsc-users] How to create a quadrature object?

Andrew Ho andrewh0 at uw.edu
Thu Jul 28 21:08:49 CDT 2016


On Thu, Jul 28, 2016 at 4:35 PM, Matthew Knepley <knepley at gmail.com> wrote:

>
> This is strange. First, you should only have uninitialized classids if you
> build without dynamics libraries. Did you? If you
> include the entire error output, it would show us.
>
>
This is pretty much the entire error output; I trimmed off the ending "MPI
Abort called" message (it's the standard message printed by OpenMPI when
MPIAbort is called). The code snippet I had is a complete working example
which is able to give me this error.


> If so, then PetscInitialize should set the value of this classid, unless
> you built this with PETSC_HAVE_DYNAMIC_LIBRARIES,
> but linked against static libraries, as the error message says. Do you
> have multiple versions of PETSc on your machine?
>

I have a single install of PETSc at any one time. I've tried builds with
--with-shared-libraries on and off with the same results (I made sure to
purge any previous install first). Here's a diff if you want to test the
same configs I tried running.

Just run *make ex4* in the src/dm/dt/examples/tests folder

Configure command:

./configure --with-debugging=0 COPTFLAGS="-O3 -march=native"
CXXOPTFLAGS="-O3 -march=native" FOPTFLAGS="-O3 -march=native"

-- 
Andrew Ho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160728/c1c828ed/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quad_test.patch
Type: text/x-patch
Size: 1134 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160728/c1c828ed/attachment.bin>


More information about the petsc-users mailing list