How can I use libiomp5.so with gcc linked application where I want to use the parallel version of std, i.e. __gnu_parallel::sort. I tried to just link with libiomp5.so and that does not work. I tried to -D_GLIBCXX_PARALLEL and link the iomp lib to no avail. If I add -fopenmp then gcc links in libgomp which is not what I want.