On Apr 5, 2011, at 8:56 AM, Satish Balay wrote: > On Tue, 5 Apr 2011, Dmitry Karpeev wrote: > >> Okay, but what's going on with petsc-3.1 on that machine? It doesn't fail. >> Is that because dlsym(0,string) works? >> Or was dynamic loading disabled in it? > > --with-dynamic=0 is usually the default buid. > > petsc-3.1 never did dlopen()/dlsym() for this case - but petsc-dev > does do dlopen()/dlsym() even with --with-dynamic=0 for basic ex2 > example code - hece it crashes.
Yes, but the crash is only due to incomplete checking of functionality in configure before using it, not due to a bad model of how things should be one. Barry > > Satish
