Skip to content

Issues Compiling with openMP #13

Description

@engvall

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions