I'm having issues trying to run stream on multiple threads on my Macbook Pro. I first tried compiling it with gcc-4.2.1 with:
make CC=gcc CFLAGS='-fopenmp -march=native' stream
and got the error:
ld: library not found for -lgomp
so I tried updating to version 4.9 with:
brew install gcc49 --enable-all-languages
Then tried compiling again, and got the same error. Any idea what could be going wrong?
I'm having issues trying to run stream on multiple threads on my Macbook Pro. I first tried compiling it with gcc-4.2.1 with:
make CC=gcc CFLAGS='-fopenmp -march=native' stream
and got the error:
ld: library not found for -lgomp
so I tried updating to version 4.9 with:
brew install gcc49 --enable-all-languages
Then tried compiling again, and got the same error. Any idea what could be going wrong?