use the command line option
-fopenmp along with any others used. No special
options are required for linking code.
for each object file created
-openmp flag and also refer to the
documentation for the linker option tool to ensure you specify the correct