clang-omp / clang

clang with OpenMP 3.1 and some elements of OpenMP 4.0 support
clang-omp.github.com
Other
91 stars 15 forks source link

segmentation fault on OS X (10.10.3) #74

Closed lei-april closed 9 years ago

lei-april commented 9 years ago

Hi,

I installed clang-omp from Homebrew. But it doesn't work even for a simple hello world program:

#include <stdio.h>
int main() {
#pragma omp parallel
    printf("Hello\n");
}
$ clang-omp -fopenmp hello.c
$ ./a.out
Segmentation fault: 11

Any hints?

andreybokhanko commented 9 years ago

Hi,

Sorry, but this really should be asked on Homebrew support forums. We have to relation to them.

Yours,

Andrey Bokhanko

Software Engineer Intel Compiler Team Intel