You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kartikayyer edited this page Jan 31, 2017
·
3 revisions
Q1. On OSX, the compiler complains about unknown option '-fopenmp'. Ans. The C code is currently set up to compile with GCC as the compiler. Unfortunately, on OSX, Apple aliases the gcc command to its Clang/LLVM compiler. In order to get GCC from Homebrew, use the command 'brew install gcc'. After that tab-complete gcc-, i.e. type gcc-<Tab> to get the version of GCC installed by Homebrew. Currently, it installs GCC 6. You can test this by typing gcc-6 -v Open the Makefile and change the line 'CC = gcc' to 'CC = gcc-6' or whatever version you have.