- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
your source of compilervar.sh
your compilation and link line output
output from running the job.
ron

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page