thanks
after looking at the code i converted it to run on 2x2 grid and now the code has given the correct answer...
ravi
sppatr2_at_[hidden] wrote:
Hi!
I guess the example code for testing scalapack routines runs only for 2*3 grid. So try running on 6 processors instead of 4. The same example runs fine for me on 6 processors but not on 4 processors. As you can see in the code the Leading Dimensions of Matrix A(LLDA) is hardcoded to 5,but is not computed from grid parameters or matrix sizes.
Hope this helps you.
Regards
Srinivasa patri
-----Original Message-----
From: "ravindra_04" <ravindra_04_at_[hidden]>
To: <lam_at_[hidden]>
Date: Tue, 19 Apr 2005 11:54:30 +0530
Subject: LAM: ScaLAPACK example code execution error
i m trying to run an exmple code of scalapack for testing..but i m getting the error .....
the configuration of Pc is 3.6 GHz, 2GB RAM fedora-3 kernal 2.6.9-1.667smp each.....
for compilation of the code as
mpif77 example.f \
/usr/local/include/libscalapack.a \
/usr/local/include/blacsF77init_MPI-LINUX-0.a \
/usr/local/include/blacs_MPI-LINUX-0.a \
/usr/local/include/blacsF77init_MPI-LINUX-0.a \
/usr/local/include/blas_LINUX.a
after this i have given the command for run like
mpirun N a.out
where N=4
the result comes out to be
ScaLAPACK Example Program #1 -- May 1, 1997
Solving Ax=b where A is a 9 by 9 matrix with a block size of 2
Running on 4 processes, where the process grid is 2 by 2
INFO code returned by PDGESV = 8
According to the normalized residual the solution is incorrect.
||A*x - b|| / ( ||x||*||A||*eps*N ) = 4.64139092E+14
what are the reasons for the solution to be incorrect....that is not empasised with the example code....as i m new with this parallelization options...please help me out of this....
tia
ravi
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now!
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now!
|