Re: [gem5-users] Running OpenMP code in X86 SE mode

2014-03-14 Thread Aditya Deshpande
Thanks Amrish, I can modify the source code to add this information. Regards, Aditya ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Running OpenMP code in X86 SE mode

2014-03-14 Thread Amrish Tewar
if you look your m5thread folder you will see test folder there are many programs there. pl. look open test_omp.c you will see they required to pass thread parameter in command line and than they set the thread inside the code through some function omp_set. hope this helps On Fri, Mar 14,

[gem5-users] Running OpenMP code in X86 SE mode

2014-03-14 Thread Aditya Deshpande
Hi, I want to run openmp code in SE mode using X86 architecture. I statically compiled the code with m5threads. Typically when I want to run openmp code I set environment variable OMP_NUM_THREADS to indicate how many threads to use before executing the program. How do I set this for SE simulation?