"Side-by-side configuration is incorrect", running OpenMP RRS feed

  • Question

  • Hello,

    I am new to OpenMP programming in C. So far I've just tried running "hello world!" in a quad-core. After generating the .exe in my desktop (which runs XP) using Visual Studio 2008, and submitting it to the quadcore (running Vista Business) using an in-house job submission software, I obtain the following message:

    "The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."

    Is this due to the fact that my desktop runs XP, while the quadcore runs Vista?

    Any help will be greatly appreciated!

    The code that I am trying to run is given below. It runs in my destop, but not on the quadcore.




    //#ifdef _OPENMP







    main(int argc, char **argv)




    omp parallel






    // get the total number of CPUs/cores available for OpenMP

    NCPU = omp_get_num_procs();


    // get the current thread ID in the parallel region

    tid = omp_get_thread_num();


    // get the total number of threads available in this parallel region

    NPR = omp_get_num_threads();


    // get the total number of threads requested

    NTHR = omp_get_max_threads();


    // only execute this on the master thread!


    if (tid == 0) {


    "%d : NCPUt= %d\n",tid,NCPU);


    "%d : NTHRt= %d\n",tid,NTHR);


    "%d : NPRt= %d\n",tid,NPR);



    "%d : hello multicore user! I am thread %d out of %d\n",tid,tid,NPR);








    Friday, April 23, 2010 7:33 PM