OpenCMISS/cm — pull request #133 by adamreeve (2013-03-08 03:09:09+00:00)
Title: Revert loading dynamic libraries in Python bindings with RTLD_GLOBAL

[Tracker item 3504.](https://tracker.physiomeproject.org/show_bug.cgi?id=3504)

This fixes a segfault when loading numpy after OpenCMISS in the Python bindings. I've updated OpenCMISS extras to use the single dynamic MKL library, libmkl_rt, so setting RTLD_GLOBAL is no longer required.

There's a segfault when using CMISSDistributedMatrix_DataRestore on a PETSc matrix, but this is unrelated to this change and is because matrestorearrayf90 in PETSc thinks matrix data should be a 2D Fortran array, which makes no sense for a sparse matrix. I'm not sure why this issue didn't come up previously, but I'll report this as a bug in the tracker and in PETSc (Why don't they have a proper bug tracker???).