Hi Mark,
Not 100% sure (haven't tested this, and have no way to easily test this) but I think:
1. Do the c compiling and linking as separate steps.
2. In the compiling step, include `-fopenmp`. Without this I think GCC will just ignore OpenMP pragmas.
3. In the linking step do -liomp5 to link to the intel implementation.
I think it's step 2 that you're missing.