How to install and use ARPACK++ on Ubuntu 20.04 LTS?

How can I install and use ARPACK++ on Ubuntu 20.04 LTS? ARPACK++ is an object-oriented version of the ARPACK package. ARPACK is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems. The package is designed to compute a few eigenvalues and corresponding eigenvectors of a general n by n matrix A. I want to install ARPACK++ to perform Molecular Dynamics simulations by running C code in Ubuntu Terminal.

Some relevant websites are:

1

1 Answer

You have to install the relevant packages from Ubuntu universe pocket of repositories.

At first add universe pocket by

sudo add-apt-repository universe

and then install

sudo apt-get install libarpack2-dev libparpack2-dev

And for C++

sudo apt-get install libarpack++2-dev

Then you can start developing software using these libraries. Good places to get documentation:

  • /usr/share/doc/libarpack2-dev
  • /usr/share/doc/libparpack2-dev
  • /usr/share/doc/libarpack++2-dev

and official web-sites which are already listed in the question.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like