startup failure
Hi there,
When I tried the example shared_counter, maple always aborted with an OSError: No such file or directory. But if I ran the tool within a python debugger, it seems fine. Any hint for this issue?
Best, P
Hi, can you post the stack trace?
As follows:
Traceback (most recent call last):
File "/home/wp/Downloads/maple-master/script/maple/idiom/main.py", line 1207, in
Seems that you were trying to test a program, but the script failed to find the program binary.
Did you compile the examples?
Yes, I sure did. As I've mentioned earlier, the script can test the program well within a python debugger (pdb), except that it has to be run in the sudo mode. I was running it on Ubuntu 12.04.2 LTS with Linux 3.2.0-43-generic x86_64 and gcc 4.6.3.
I never encountered this before. Can you try to run the script in sudo mode as well?
Also, what's your python version? 2.7?
I did run the script in the sudo mode. The python version is 2.7.3.
Sorry, I cannot reproduce this problem on my machine. It would be great if you can dig it on your machine.
Many thanks for your effort! I just figured out that it is because I was using a path abbreviation "~" for PIN_HOME in the script. I revised the script to load pdb. But in this version, I was using the full path. Apparently, the former does not work.
Would it be possible for me to get a copy of the source code of your case studies on splash2 programs (i.e., fft and radix)? This would help understand how to work with maple in details.
Hi, wolvre
I get the same problem as yours. But I don't make the problem clear. Could you give more details? My issue trace is as follows.
root@ubuntu:~/Meilin/maple-master/example/shared_counter# ../../maple --- ./main 2
Traceback (most recent call last):
File "/home/company/Meilin/maple-master/script/maple/idiom/main.py", line 1207, in
Thanks.
Sorry that I don't recall much details on this problem. My earlier comment suggests to use full paths for the environment variables, e.g., PIN_HOME. Hope this can solve the problem.
I did use full paths.
2017-09-05 17:05 GMT+08:00 wolvre [email protected]:
Sorry that I don't recall much details on this problem. My earlier comment suggests to use full paths for the environment variables, e.g., PIN_HOME. Hope this can solve the problem.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jieyu/maple/issues/12#issuecomment-327116779, or mute the thread https://github.com/notifications/unsubscribe-auth/AcR2FJtpyq9c0gvgLVC6QEt4mksMSFDmks5sfQ7jgaJpZM4Aqqeh .