This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Open Mp project example not available in CCS "project templates & examples"

Other Parts Discussed in Thread: TMS320C6678

I am using CCS 6.1.1 and my target is TMS320C6678. I need to do some multicore programming and need OPEN MP support. In my project template i can't find OPEN MP examples. How can I get this package. I tried in CCS APP CENTER but unfortunately didn't find any luck... Any suggestions....

  • Hi Ginu Jacob,

    This thread was moved by CCS forum moderator to device forum for appropriate response. Thank you for your patience we will get back to you shortly.

  • Please install the latest MCSDK 2.x for OpenMP examples. Please find the install link below my signature.  I am able to see OMP examples in CCS project creation page in both CCSv5.5 and CCSv6.1.

    On the other hand, you might want to upgrade to the latest OpenMP runtime 2.0, the detail porting guide to keystone 1 device is here:

    We are no longer support OpenMP Runtime 1.0 and expect you to follow the steps outlined in the wiki to build OpenMP Runtime 2.0.

    You can also refer below threads and wikis,

    Image Processing OpenMP Example:

    Thank you.

  • Hi Raja, 

    Thanks for your reply. I was able to complete the steps suggested but even after that I don't have Open MP in the project template. Also I tried to add Open Mp variables:

    var OpenMP = xdc.useModule('ti.omp.utils.OpenMP'); // no change
    OpenMP.setNumProcessors(4); // no change
    OpenMP.autoDnldCore = false; // add this line

    into the cfg file and it gave error:

    can't locate the package 'ti.omp.utils'

    My project property has Open Mp included:

    Is there any thing else I'm missing?

    In the available products window of CCS, I can see the following:

    Don't know why OMP BIOS showing error......

  • Hi Ginu,

    Please try to build the image processing demo available in MCSDK directory with openmp platform file.

    (Or)

    Please try to build the simple hello examples available in openmp 2.x.

    PATH: ~\ti\openmp_dsp_2_01_17_01\packages\examples\

    Please make sure to select the openmp platform file for building the application.

    Thank you.

  • Hi Jacob,

    I was experiencing the same problem but then I have created he project from the scratch and do this thing from the guide:

    Enable the –priority linker option (under C6000 Linker ! File Search Path ! Search libraries in priority order)

    It worked for me, hope it will help your case.

    Best regards,

    Pavlo!

  • Hi Pavlo,
    Thank you for the information.