Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
- Call objective function in Parallel in jacobi matrix calculation function (djacobix)

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

Highlighted
##

Maosi_C_

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-15-2014
07:51 AM

12 Views

Call objective function in Parallel in jacobi matrix calculation function (djacobix)

In its RCI loop (Line 202-294), the jacobi matrix calculation function (djacobix) is called. Since it will call the objective function (e.g. extended_powell in the example) many times and my real objective function is time-consuming, I am wondering are the evaluations of the objective function performed in parallel? How do I make it happen? Do I need to change the code? Or Only some project property settings is needed?

2 Replies

Highlighted
##

Pls look at the extended_powell routine -- you can manually threaded this circle and also this can be easy vectorized.

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-15-2014
09:08 AM

12 Views

Highlighted
##

Maosi_C_

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-15-2014
10:11 AM

12 Views

Gennady, Thank you for your reply.

I understand the extended_powell routine is a simple forward model, which can be easily threaded or vectorized. However, the real forward model I am about to use is much more complicated and impossible to threaded or vectorized (accumulated variables depending on the previous time step). That's why I need to know does djacobix call the forward model in parallel and how.

For more complete information about compiler optimizations, see our Optimization Notice.