<div dir="ltr"><div><div><div>It is a standard eigenvalue problem, and I'm only using default algorithm options, so I don't think I'm using any nontrivial spectral transformation.<br><br>The program is just ex1.c from the documentation, available here:<br>
<br><a href="http://www.grycap.upv.es/slepc/documentation/current/src/eps/examples/tutorials/ex1.c" target="_blank">http://www.grycap.upv.es/slepc/documentation/current/src/eps/examples/tutorials/ex1.c</a><br><br></div>FAQ #6 mentions MUMPS, which I don't have the moment, so I'll have to look into that.<br>
</div><br></div>- Torquil<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 October 2013 16:46, Jose E. Roman <span dir="ltr"><<a href="mailto:jroman@dsic.upv.es" target="_blank">jroman@dsic.upv.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
El 18/10/2013, a las 16:42, Torquil Macdonald Sørensen escribió:<br>
<br>
> Hi!<br>
><br>
> I'm just starting to use SLEPc on a quad-core workstation computer (Intel Core i5-2500 CPU @ 3.30GHz).<br>
><br>
> But I'm not getting the speedup that I was expecting, when increasing the number of cores. E.g. when running ex1.c from the documentation, on 1, 2, 3 and 4 cores. When asking for the 500 eigenvalues of smallest magnitude, for a 5000x5000 matrix, I'm getting the following approximate timings:<br>
><br>
> # n_core time_usage<br>
> 1 480s<br>
> 2 400s<br>
> 3 500s<br>
> 4 580s<br>
><br>
> Should I not expect a speedup for n_core > 2?<br>
><br>
> The example is using the krylovschur algorithm. For all four runs, the program states "Number of iterations of the method: 33".<br>
><br>
> I'm using PETSc 3.4.3, SLEPc 3.4.3, OpenMPI 1.6.5, and everything is compiled using GCC 4.8.1 or 4.8.2.<br>
><br>
> Best regards<br>
> Torquil Sørensen<br>
><br>
<br>
Is it a generalized eigenproblem and/or are you doing shift-and-invert? In that case, have a look at FAQ #6 <a href="http://www.grycap.upv.es/slepc/documentation/faq.htm" target="_blank">http://www.grycap.upv.es/slepc/documentation/faq.htm</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Jose<br>
<br>
</font></span></blockquote></div><br></div>