[petsc-dev] PetscDLSym()
Lisandro Dalcin
dalcinl at gmail.com
Mon Apr 25 17:06:45 CDT 2011
On 25 April 2011 19:01, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> Did I break something? Do you want to change it back to not be broken? I cannot see the line number below where the problem was detected.
>
Yes, now you cannot dlopen the Python shared library
> Is it because PetscDLSym() returns an error if it doesn't find the symbol from
>
Yes
> #if defined(PETSC_HAVE_DLERROR)
> { const char *e = dlerror();
> if (e) SETERRQ2(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG,"Error obtaining symbol '%s' from dynamic library:\n Error message from dlsym(): '%s'\n", symbol, e);
> }
> #endif /* !PETSC_HAVE_DLSYM */
>
This is the issue...
>
> This was commented out, I blindly uncommented it based on something Jed wrote. But it is fine with me if you delete this check.
>
OK, I'll delete the check...
--
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
More information about the petsc-dev
mailing list