<DIV>Hi every one.</DIV>
<DIV>I had downloaded Inter C compiler 8, and want to make a test programming in OpenMP with Microsoft Visual C6. Could any one help me to make a project, and send it to me. Take the example as below. </DIV>
<DIV>(I had found it in <A href="http://www.llnl.gov/computing/tutorials/openMP/">http://www.llnl.gov/computing/tutorials/openMP/</A>)</DIV>
<DIV>Many many thanks, and waiting for reply.</DIV>
<DIV>Nguyen Leanh.</DIV>
<DIV> </DIV>
<DIV>#include <omp.h><BR>main () {<BR>int nthreads, tid;<BR>/* Fork a team of threads giving them their own copies of variables */<BR><FONT color=red>#pragma omp parallel private(tid)</FONT><BR> {<BR> /* Obtain and print thread id */<BR> tid = <FONT color=red>omp_get_thread_num()</FONT>;<BR> printf("Hello World from thread = %d\n", tid);<BR> /* Only master thread does this */<BR> if (tid == 0) <BR> {<BR> nthreads = <FONT color=red>omp_get_num_threads()</FONT>;<BR> printf("Number of threads = %d\n", nthreads);<BR> }<BR> } /* All threads join master thread and terminate */<BR>}<BR></DIV><BR><BR>Nguyen Leanh<p>
                <hr size=1>Do you Yahoo!?<br>
Yahoo! Small Business - <a href="http://us.rd.yahoo.com/evt=31637/*http://smallbusiness.yahoo.com/resources/">Try our new resources site!</a>