Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

libiomp.so

swang
Beginner
706 Views
Dear Ron:

I tried set my stack to 64M. I still got the libiomp error.

When I use -openmp in my flag, do I have to link with libiomp.so and libpthread?

Regards
shizoom
0 Kudos
2 Replies
TimP
Honored Contributor III
706 Views
-openmp sets -liomp5 -lpthread automatically. As the default is to link against .so, you will need the LD_LIBRARY_PATH setting (which is set up by sourceing the compilervars script).
0 Kudos
Ron_Green
Moderator
706 Views
If for some reason you are still getting an error, cut and paste to show us:

your source of compilervar.sh

your compilation and link line output

output from running the job.

ron
0 Kudos
Reply