Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime warning message for threaded programs #10

Open
twang15 opened this issue Jul 17, 2018 · 3 comments
Open

Runtime warning message for threaded programs #10

twang15 opened this issue Jul 17, 2018 · 3 comments

Comments

@twang15
Copy link

twang15 commented Jul 17, 2018

There are warning messages while running with threaded lulesh2.0.
Since MICA currently does not support multi-threaded program, the results may be invalid.

Messages:

WARNING: Thread creation detected, results can be corrupted!
C: Tool (or Pin) caused signal 11 at PC 0x7f3e9f338498
C: Location may be in in-lined analysis code, try re-running with '-inline 0' to debug itSegmentation fault

Command to reproduce the results:
OMP_NUM_THREADS=16 && ./pin -t mica.so -- ./lulesh2.0 -i 10 -s 200

@twang15
Copy link
Author

twang15 commented Jul 17, 2018

@amirjamez is there any plan of mica's support for parallel programs?
I would like to help to improve this tool, if it's really interesting.

@amirjamez
Copy link
Collaborator

@twang15 thanks for mentioning this and your offer. Feel free to explore other ways as a workaround or add your own code. In the past, we had some tries to add this features, but none of them went far enough to be added to the main branch. For now, I would suggest you run them sequentially and calculate the overall workload in a single thread. Aggregating the results of a parallel program is troublesome and might affect the quality of the benchmarking, thus the current version of Mica does not support that.

@WilliamWangPeng
Copy link
Contributor

@amirjamez is there any plan of mica's support for parallel programs?
I would like to help to improve this tool, if it's really interesting.

hi dear twang15 @twang15
Could me help me to see #18 and I didn't find cmake option for making multi-thread disabled.

thank you
Best Regards
William

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants