Ipopt  3.12.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
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. More...
 
int LSL_unloadPardisoLib ()
 Unloads a loaded Pardiso library. More...
 
int LSL_isPardisoLoaded ()
 Indicates whether a Pardiso library has been successfully loaded. More...
 
char * LSL_PardisoLibraryName ()
 Returns name of the shared library that should contain Pardiso. More...
 

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
libnameThe name under which the Pardiso lib can be found, or NULL to use a default name (libpardiso.SHAREDLIBEXT).
msgbufA buffer where we can store a failure message. Assumed to be NOT NULL!
msglenLength 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.