Yes, shared is a default state, so that spawned an error.<br>Also, you are right, it is parallel for.<br><br><br><div class="gmail_quote">On Sat, Jun 20, 2009 at 8:14 AM, Hamish <span dir="ltr">&lt;<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
Jyothish Soman wrote:<br>
&gt; I think that will be the parallel<br>
&gt; version of the code given in the link. Sorry, I dont have<br>
&gt; the resources right now to check the validity of the code,<br>
&gt; my laptop is fried, working from a common terminal.<br>
&gt;<br>
&gt; Just add -fopenmp flag in the make file for the code<br>
<br>
</div>thanks!  small problem- `#pragma for` doesn&#39;t take shared() as an arg,<br>
for that do you have to do something like:<br>
 #pragma omp parallel for<br>
????<br>
<div class="im"><br>
<br>
&gt; I have a small problem in understanding how the vect variable is<br>
&gt; being declared... in function tcholInv and tcholSolveInv.<br>
<br>
</div>i.e. array used but no space never allocated for it?<br>
looks like a bug to me.<br>
<font color="#888888"><br>
<br>
Hamish<br>
<br>
<br>
<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>JYOTHISH SOMAN<br>MS-2008-CS<br>Center for Security, Theory And Algorithm Research (CSTAR)<br>International Institute of Information Technology<br>Hyderabad<br>India<br>
Phone:+91-9966222626<br><a href="http://www.iiit.ac.in/">http://www.iiit.ac.in/</a><br>--------------------------------------------------------------<br>The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.<br>
    George Bernard Shaw<br>--------------------------------------------------------<br><br>