I notice that the openmp USE flag is set in the default amd64 profile so that GCC gets built with openmp support. However it appears that to actually use openmp one needs the following make.conf:
Code: Select all
CFLAGS="${CFLAGS} -fopenmp"
LDFLAGS="${LDFLAGS} -fopenmp"
However this leads to a rebuild of very many packages (when you start getting GOMP errors you know the dependency wasn't built and linked with openmp). And it seems not all of them like to build as such.
When is openmp effective? Does it help a single processor dual core system? Has anyone built the whole system (desktop or server) with openmp support?
Thanks.
Chris