LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2008, 03:40 PM   #1
mkrems
Member
 
Registered: Jan 2008
Distribution: Ubuntu
Posts: 31

Rep: Reputation: 15
ARPACK vs. LAPACK


Hi there,

So I am working on a code to solve an eigenvalue problem, and I am confronted with using ARPACK or LAPACK for the eigensolver. I know that ARPACK uses some of the routines from LAPACK, but what are the main differences between using one over the other? Which one is preferred (I am guessing it depends on the type of problem)? Also, am I correct in assuming that the same comparisons between ARPACK and LAPACK will apply to PARPACK and scalaPACK (the parallel versions of these codes)?

Thanks!
 
Old 05-14-2008, 10:41 PM   #2
mosca
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Debian
Posts: 41

Rep: Reputation: Disabled
ARPACK is for large, sparse matrices. LAPACK is for dense matrices or sparse matrices with trivial structure.
 
Old 05-15-2008, 08:38 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
This & #3 as well as #4 are (currently) in
LinuxQuestions.org > Forums > Non-*NIX Forums > Programming > ARPACK vs. LAPACK,
please move all 3 to a new thread in an appropriate forum.

jarick, when you make a mistake like this, it is recommended that you report your own thread to the moderators asking them to move it to the place you should have posted it in the 1st place.
 
Old 05-15-2008, 01:00 PM   #4
mkrems
Member
 
Registered: Jan 2008
Distribution: Ubuntu
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mosca View Post
ARPACK is for large, sparse matrices. LAPACK is for dense matrices or sparse matrices with trivial structure.
Is there any general criteria for using one or the other? As a guess LAPACK or ARPACK would be equally good for finding the eigenvectors of a tridiagonal matrix for example, but ARPACK would be much better at this for a large sparse random matrix? Does one only use LAPACK for small matrices?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install ARPACK (fortran libraries) StudMuffin Linux - Software 14 05-29-2013 04:14 AM
installing arpack StudMuffin Linux - Software 0 05-02-2006 04:43 PM
how to configure LAPACK with g95 ztdep Programming 0 07-30-2005 10:06 PM
Help installing Arpack in Linux (Slackware) xowl Linux - Software 2 05-20-2005 11:38 AM
Compiling lapack hussar Linux - Software 0 10-18-2004 02:24 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration