[petsc-users] reg: ex7.c takes large memory and gets killed

Jose E. Roman jroman at dsic.upv.es
Sat Apr 5 05:06:35 CDT 2014


El 05/04/2014, a las 10:12, venkatesh g escribió:

> Hi 
> 
> I am running "mpirun -np 64 -hostfile /cluster/hostnames ./ex7 -f1 A1 -f2 B1 -st_type sinvert -evecs outvec"
> 
> It works for small matrices, it uses noticeable memory for small matrices (complex).
> 
> However when I run with 39200x39200 complex matrices, it uses all the 480 GB ram and swap and gets killed. 
> 
> Am I doing something wrong ? Is there a solution.
> 
> Pls let me know
> 
> regards,
> Venkatesh  

You need to use a parallel direct linear solver, or alternatively an iterative linear solver. See section 3.4.1 of SLEPc users guide.

Jose



More information about the petsc-users mailing list