# PardisoLoader.h File Reference

Go to the source code of this file.

## Functions
int | LSL_loadPardisoLib (const char *libname, char *msgbuf, int msglen)
| Tries to load a dynamically linked library with Pardiso.
int | LSL_unloadPardisoLib ()
| Unloads a loaded Pardiso library.
int | LSL_isPardisoLoaded ()
| Indicates whether a Pardiso library has been successfully loaded.
char * | LSL_PardisoLibraryName ()
| Returns name of the shared library that should contain Pardiso.

## Function Documentation

int LSL_loadPardisoLib | ( | const char * | libname,
|  | char * | msgbuf,
|  | int | msglen |
| ) |  |  |

Tries to load a dynamically linked library with Pardiso.

Return a failure if the library cannot be loaded or not all Pardiso symbols are found.

Parameters:

  | libname | The name under which the Pardiso lib can be found, or NULL to use a default name (libpardiso.SHAREDLIBEXT).
  | msgbuf | A buffer where we can store a failure message. Assumed to be NOT NULL!
  | msglen | Length of the message buffer.

Returns:
  Zero on success, nonzero on failure.

int LSL_unloadPardisoLib | ( |  | ) |

Unloads a loaded Pardiso library.

Returns:
  Zero on success, nonzero on failure.

int LSL_isPardisoLoaded | ( |  | ) |

Indicates whether a Pardiso library has been successfully loaded.

Returns:
  Zero if not loaded, nonzero if handle is loaded

char* LSL_PardisoLibraryName | ( |  | ) |

Returns name of the shared library that should contain Pardiso.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines