Hello,

I have a pthread' s c code.

I can run it in normal linux.

But I can run it in ALPHA_SE mode.

I use alpha cross-compiler to compile this code.
~/CodeSourcery/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
pthread_test.c -o run -lpthread -static

But I can't run it in 1 processor.
./build/ALPHA_SE/gem5.debug ./configs/example/se.py -c ./run --caches <~~~ 1
processor
ERROR message:
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
fatal: syscall set_tid_address (#411) unimplemented.
 @ cycle 323000
[unimplementedFunc:build/ALPHA_SE/sim/syscall_emul.cc, line 83]
Memory Usage: 548740 KBytes

I also can't run it in 2 processors.

./build/ALPHA_SE/gem5.debug ./configs/example/se.py -c ./run -n 2 --caches
<~~~ 2 processor
ERROR message:
gem5 compiled Aug 25 2011 17:42:02
gem5 started Aug 25 2011 19:43:53
gem5 executing on ed520-hp-desktop
command line: ./build/ALPHA_SE/gem5.debug ./configs/example/se.py -c ./run
-n 2 --caches
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/guanrulee/gem5-stable/src/python/m5/main.py", line 356, in
main
    exec filecode in scope
  File "./configs/example/se.py", line 187, in <module>
    system.cpu[i].workload = multiprocesses[i]
IndexError: list index out of range

Does anyone no how can I run a multithread program in ALPHA_SE
multiprocessor?

Thank you.

Guan-Ru
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to