How can I get OpenMP to run on Mac OSX 10.11, so that I can execute scripts via terminal?
I have installed OpenMP: brew install clang-omp
.
When I run, for example: gcc -fopenmp -o Parallel.b Parallel.c
the following expression returns: fatal error: 'omp.h' file not found
I have also tried: brew install gcc --without-multilib
but unfortunately this eventually returned the following (after first installing some dependencies):
The requested URL returned error: 404 Not Found
Error: Failed to download resource "mpfr--patch"
Any recommended work arounds?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…