[petsc-dev] dlopen(0,) business

Barry Smith bsmith at mcs.anl.gov
Wed Apr 13 21:55:09 CDT 2011


   Since no one else showed any interest I modified dlimpl.c to use RTLD_DEFAULT if available and only use dlopen(0,) if RTLD_DEFAULT is not available. Not well tested, in particular I do not know what will happen on the Cray, but at least the new code is better than the old and it no longer has Satish's bad hack of requiring USE_DYNAMIC_LIBRARIES


   Barry




More information about the petsc-dev mailing list