<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 28, 2016 at 4:35 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail-h5"><div><br></div></div></div><div>This is strange. First, you should only have uninitialized classids if you build without dynamics libraries. Did you? If you</div><div>include the entire error output, it would show us.</div><div><br></div></div></div></div></blockquote><div><br></div><div>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.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>If so, then PetscInitialize should set the value of this classid, unless you built this with PETSC_HAVE_DYNAMIC_LIBRARIES,</div><div>but linked against static libraries, as the error message says. Do you have multiple versions of PETSc on your machine?</div></div></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div>Just run <b>make ex4</b> in the src/dm/dt/examples/tests folder</div><div><br></div><div>Configure command:</div><div><br></div><div>./configure <span style="font-size:12.8px">--with-debugging=0 COPTFLAGS="-O3 -march=native" CXXOPTFLAGS="-O3 -march=native" FOPTFLAGS="-O3 -march=native"</span></div><div><br></div></div>-- <br><div class="gmail_signature"><div dir="ltr">Andrew Ho</div></div>
</div></div>