Installing laspack

Laspack is

a package for solving large sparse systems of linear equations like those which arise from the discretization of partial differential equations.

To install it, first you need to download the file laspack.tgz. Then you can read the installation guide from this page. First, we need to unarchive the file and then run the ./install script. This, however, will install to your $HOME/bin and $HOME/lib directory. If you want to install to somewhere else, you need to modify all the makefiles in all the directories. If you only want to install into the /usr/local/bin and /usr/local/lib, you just need to type

./install local

without any modifications. Once you run it, it will compile and install into your corresponding directory, and then it will run a test. For my case, however, it didn’t run the test, so I need to go manually to the “check” folder and run the test by typing ./check. Then if everything is alright, you will see

LASPack tested successfully.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: