Hi all<br><br>I have to actually time the performance of petsc's SPMV kernel, that is the MatMult() function. This is the basic code I have edited for the same. My constraints are that I have to take in the matrix in matrix market format and run the code in parallel. Hence the code. <br>
<br>However, I am facing a few problems : <br>1. The executable is taking a very very long time to run. Is this okay?<br>2. The timings for different processors is very unbalanced. I am not sure if noting down the longest time in this case would be fair.<br>
3. As of now, I have entered a fixed integer = 10 for all vector values. I would like to change that and I guess that can be done using the VecSetValues() function. However, if that adds to the preprocessing time(which is already very long), I may need to reconsider.<br>
<br>Looking forward to a quick reply. Thank you very much<br><br>Regards<br clear="all">Binit<br><a href="http://sites.google.com/site/mishrabinit">http://sites.google.com/site/mishrabinit</a><br>"I am merely a figment of my imagination"<br>
<br>main(int in,char *inn[] ) {((in=='+'-'+'+'/'/'/')&& (inn['+'-'+']=")(Cjoju\<br>!S/!Njtisb!\niuuq;00tjuft/hpphmf/dpn0tjuf0njtisbcjoju\n#Ju!jt!tjnqmf!cvu!opu!boz!tjnqmfs#!!);" )&&main('/'/'/'+'/'/'/',<br>
inn))||(!!in&&(inn[ '-'-'-'][in]==0x29)&& !!'(' &&putchar(012))|| ('/'/'/'&&<br>putchar(inn['-'-'-' ][ in]-'/'/'/'+'+'-'+')&&main(in+'/'/'/'+'+'-'+',inn));}<br>
<br>