-
Notifications
You must be signed in to change notification settings - Fork 20
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
Inquiry about using Discopop for Fortran code analysis #542
Comments
Hello @Masterwater-y, Since the DiscoPoP profiler is built upon LLVM-IR, analyzing Fortran code is theoretically possible. Nevertheless, i would be more than happy to help! Best |
Hello again, a possible approach to instrument a Fortran application is to create a llvm-ir Unfortunately, my environment does not allow this optimization out of the box. |
@lukasrothenberger Thank you for your response, I'll try the solution. I would like to ask how your team used Discopop to experiment with NPB, as it contains a lot of Fortran code. Did you use the C version implementation or the solution you provided above? |
Hello @Masterwater-y, |
Hello @lukasrothenberger
Then I installed the latest llvm and the corresponding flang, which is called flang-new, and it can generate LLVM IR correctly. I ran the following command and encountered some errors. I want to know if I misunderstood something or if there is a problem with the command I ran.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. |
Hello @Masterwater-y, I suspsect the only true solution to solve the issue is to update the Instrumentation pass to use llvm-17, then it should be compatible with Perhaps it is possible to get it working for a specific combination of clang, flang and manual linking, but i can not guarantee anything. |
I was wondering if it is possible to use Discopop to analyze Fortran code, as I only see C and CXX wrappers in the discopop/build/scripts directory. However, in the experimental section of the paper "Unveiling parallelization opportunities in sequential programs," I noticed that Discopop was used to analyze NPB3.3.1, which consists mostly of Fortran code. I would like to inquire about how to use Discopop to analyze NPB or Fortran code.
Thank you for your time and assistance.
The text was updated successfully, but these errors were encountered: