There is a great deal of variation in the way UMFPACK is installed on various platforms, so I cannot provide a very helpful advice here other than pointing you to UMFPACK's home and letting you figure it out from there. That said, you may find the following information of some use.
If you are working on a Linux platform, you are in luck since most Linux distributions come with a ready to install UMFPACK package but even here the name of the package and the way it is installed varies from one distribution to another. If yours is a Debian flavor of Linux, such as Ubuntu or Mint, then install UMFPACK through the commands:
sudo apt-get install libsuitesparse-dev sudo apt-get install libsuitesparse-doc
To include UMFPACK's header files in your programs, do:
#include <suitesparse/umfpack.h>To link your program with the UMFPACK library, give the ‘
-lumfpack
’
flag to the compiler.
These installation instructions for Mac users is courtesy of Dr. Tulin Kaman.
Programming Projects in C |