- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I have generated a library from a FORTRAN source code that was compiled using OpenMP directives. This library will be used by colleages who do not use OpenMP in their FORTRAN codes.When theycompile their codes, they do not create parallel code. When their code calls my library, will my computations be done with parallel processing even though their project properties has it disabled? Do libraries act independently of the calling program propeties?
Thank you very much for your help.
Sincerely,
David
I have generated a library from a FORTRAN source code that was compiled using OpenMP directives. This library will be used by colleages who do not use OpenMP in their FORTRAN codes.When theycompile their codes, they do not create parallel code. When their code calls my library, will my computations be done with parallel processing even though their project properties has it disabled? Do libraries act independently of the calling program propeties?
Thank you very much for your help.
Sincerely,
David
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MKL threaded library is an example of how it's done. If you leave in the references to the OpenMP library, that library must be linked into each build subsequent to your library. This should work well if there's no threading in the application itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Tim.
David
David

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