Hello I have the following code, which I compile with gcc (>4.2) with -fopenmp flag:
int main(void)
{
#pragma omp parallel for
int i;
for(i=0;i<4;i++) while(1);
return 0;
}
私はOSX Lion(ver 1.7.3、llvm-gcc 4.2.1)とCentOS 6.2でSIGSEGVを手に入れました。私はここで間違って何をしていますか?ありがとう