Note that there are some explanatory texts on larger screens.

plurals
  1. POParallelize Solve() for Ax=b?
    primarykey
    data
    text
    <p>Crossposted with STATS.se since this problem could straddle both STATs.se/SO <a href="https://stats.stackexchange.com/questions/17712/parallelize-solve-for-ax-b">https://stats.stackexchange.com/questions/17712/parallelize-solve-for-ax-b</a> </p> <hr> <p>I have some extremely large sparse matrices created using spMatrix function from the matrix package.</p> <p>Using the solve() function works for my Ax=b issue, but it takes a very long time. Several days. </p> <p>I noticed that <a href="http://cran.r-project.org/web/packages/RScaLAPACK/RScaLAPACK.pdf" rel="nofollow noreferrer">http://cran.r-project.org/web/packages/RScaLAPACK/RScaLAPACK.pdf</a> appears to have a function that can parallelize the solve function, however, it can take several weeks to get new packages installed on this particular server. </p> <p>The server already has the snow package installed it.</p> <p>So</p> <ol> <li>Is there a way of using snow to parallelize this operation? </li> <li>If not, are there other ways to speed up this type of operation?</li> <li>Are there other packages like RScaLAPACK? My search on RScaLAPACK seemed to suggest people had a lot of issues with it. </li> </ol> <p>Thanks.</p> <p>[EDIT] -- Additional details</p> <p>The matrices are about 370,000 x 370,000. I'm using it to solve for alpha centrality, <a href="http://en.wikipedia.org/wiki/Alpha_centrality" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/Alpha_centrality</a>. I was originally using the alpha centrality function in the igraph package, but it would crash R. </p> <p>More details </p> <ul> <li>This is on a single machine with 12 cores and 96 gigs of memory (I believe)</li> <li>It's a directed graph along the lines of paper citation relationships.</li> <li>Calculating condition number and density will take awhile. Will post as it comes available.</li> <li>Will crosspost on stat.SE and will add a link back to here</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload