Hi,

1. If you stick to use SE mode to run Parsec, which relies on pthread,
m5threads library should be linked statically instead of pthread.
https://www.mail-archive.com/gem5-dev@m5sim.org/msg07129.html

2. You can use Ruby with SE mode.
https://www.mail-archive.com/gem5-users@gem5.org/msg00202.html

3. Use something like '--maxinsts=1000000000' or simply '-I 1000000000'.
In configs/common/Simulation.py, you can find this part:
for i in xrange(np):
    ...
    if options.maxinsts:
        switch_cpus_1[i].max_insts_any_thread = options.maxinsts
This is doing exactly what you want.

Thanks,
Jae-Eon

2014-09-08 14:38 GMT+09:00 Monobrata Debnath via gem5-users <
gem5-users@gem5.org>:

> Hi,
>
> Is it possible to run Parsec in SE mode along with ruby in Gem5.  I
> believe static binary of Parsec would be required for this. which are the
> files  in Gem5 that require modification. Can someone enlighten me on this?
>
> Also how to ask the simulator to stop running in FS mode after it has
> executed n number of instructions from any thread?
>
> Thanks
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to