User Profile
Collapse
-
so can u provide me some understanding. Atleast i can run the progrma please.Then I will understand automatically.... -
-
# ifdef _OPENMP
# include < omp.h >
# endif
int main()
{
int i,id ;
#pragma once
{
for (i = 0; i<4; ++i )
{
int id = omp_get_thread_ num ();
return 0;
}
}
}
I am compiling the above code but its not working.Please help.
or correct the above please...Leave a comment:
-
Can u please send me any complete example.
please.so that i can understand.Leave a comment:
-
How I can execute the omp parallel directive
can you please mentioned what is the mistake.Leave a comment:
-
Warning message
When I compile the program I have the follwing message
In function 'int main()'
ignoring #pragma omp for
The code is following
#ifdef _OPENMP
#include <omp.h>
#endif
int main()
{
# pragma omp for
{
for (int i=0; i<=10 i++)
{}
}
return o;
can somebody help me.
}
No activity results to display
Show More
Leave a comment: