Multi2Sim / multi2sim

Multi2Sim source code
GNU General Public License v3.0
110 stars 66 forks source link

First Execution problem in Multi2sim #75

Open Amir-HK opened 4 years ago

Amir-HK commented 4 years ago

hello, I am new to Multi2sim (5.0)(Ubuntu 15.10). I want to execute a simple example of multi2sim. I followed the instruction of Getting Started in m2s-guide-4.2.pdf (which is newest existed version). I passed the "Installation" steps successful but have an error in "First Execution" phase!!

I run: m2s test-args how are you results (error): @ubuntu:~/Desktop/multi2sim-5.0/samples/x86/example-1$ m2s test-args how are you

; Multi2Sim 5.0 - A Simulation Framework for CPU-GPU Heterogeneous Computing ; Please use command 'm2s --help' for a list of command-line options. ; Simulation alpha-numeric ID: v9m34

*Inconsistency detected by ld.so: rtld.c: 1241: dl_main: Assertion `rtld_ehdr->e_ehsize == sizeof rtld_ehdr' failed!**

; ; Simulation Statistics Summary ;

[ General ] RealTime = 0.00 [s] SimEnd = ContextsFinished

[ x86 ] RealTime = 0.00 [s] Instructions = 4757 InstructionsPerSecond = 1908143

I repeat the same on Unbuntu 16.04 LTS, but have another error!!

@amir:~/mutli2sim/multi2sim-5.0/samples/x86/example-1$ m2s test-args how are you

; Multi2Sim 5.0 - A Simulation Framework for CPU-GPU Heterogeneous Computing ; Please use command 'm2s --help' for a list of command-line options. ; Simulation alpha-numeric ID: tF5VW

[ELF Reader] [/lib/ld-linux.so.2] Error: Cannot open file

Any help will be appreciated.

Screenshot from 2019-10-14 04-12-12 Screenshot from 2019-10-14 14-50-50

stardica commented 4 years ago

That's saying it either can't locate the test application or there is a problem with the elf file header. Try statically compiling the test app with GCC version 4.8. Then running again.

On Mon, Oct 14, 2019, 7:29 AM Amir-HK notifications@github.com wrote:

hello, I am new to Multi2sim (5.0)(Ubuntu 15.10). I want to execute a simple example of multi2sim. I followed the instruction of Getting Started in m2s-guide-4.2.pdf (which is newest existed version). I passed the "Installation" steps successful but have an error in "First Execution" phase!!

I run: m2s test-args how are you results (error): @ubuntu https://github.com/ubuntu:~/Desktop/multi2sim-5.0/samples/x86/example-1$ m2s test-args how are you

; Multi2Sim 5.0 - A Simulation Framework for CPU-GPU Heterogeneous Computing ; Please use command 'm2s --help' for a list of command-line options. ; Simulation alpha-numeric ID: v9m34 *Inconsistency detected by ld.so: rtld.c: 1241: dl_main: Assertion `rtld_ehdr->e_ehsize == sizeof rtld_ehdr' failed!

; ; Simulation Statistics Summary ;

[ General ] RealTime = 0.00 [s] SimEnd = ContextsFinished

[ x86 ] RealTime = 0.00 [s] Instructions = 4757 InstructionsPerSecond = 1908143

I repeat the same on Unbuntu 16.04 LTS, but have another error!!

@amir https://github.com/amir:~/mutli2sim/multi2sim-5.0/samples/x86/example-1$ m2s test-args how are you

; Multi2Sim 5.0 - A Simulation Framework for CPU-GPU Heterogeneous Computing ; Please use command 'm2s --help' for a list of command-line options. ; Simulation alpha-numeric ID: tF5VW

[ELF Reader] [/lib/ld-linux.so.2] Error: Cannot open file

Any help will be appreciated.

[image: Screenshot from 2019-10-14 04-12-12] https://user-images.githubusercontent.com/56540764/66747898-8ecdd200-ee92-11e9-8b69-1b3db5419c82.png [image: Screenshot from 2019-10-14 14-50-50] https://user-images.githubusercontent.com/56540764/66747899-8f666880-ee92-11e9-9395-1fe72d7edc1a.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Multi2Sim/multi2sim/issues/75?email_source=notifications&email_token=ABYP3XRPMIH7BMAQUL7QUCTQORJYJA5CNFSM4JAN3S7KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRSA4PQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYP3XUH5ZXYBYVWYFPFFLDQORJYJANCNFSM4JAN3S7A .