Ipopt Documentation  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PardisoLoader.h File Reference

Go to the source code of this file.

Functions

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

Function Documentation

IPOPTLIB_EXPORT 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.
IPOPTLIB_EXPORT int LSL_unloadPardisoLib ( void  )

Unloads a loaded Pardiso library.

Returns
Zero on success, nonzero on failure.
IPOPTLIB_EXPORT int LSL_isPardisoLoaded ( void  )

Indicates whether a Pardiso library has been successfully loaded.

Returns
Zero if not loaded, nonzero if handle is loaded
IPOPTLIB_EXPORT char* LSL_PardisoLibraryName ( void  )

Returns name of the shared library that should contain Pardiso.