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

Openmp support #503

Open
QYChan opened this issue Sep 4, 2023 · 1 comment
Open

Openmp support #503

QYChan opened this issue Sep 4, 2023 · 1 comment

Comments

@QYChan
Copy link

QYChan commented Sep 4, 2023

I want to use Caliper to profiler my openmp program on ubuntu. When I install Caliper, the following error occurred:

/Caliper/src/services/ompt/OmptService.cpp:11:10: fatal error: omp-tools.h: No such file or directory
 #include <omp-tools.h>

As mentioned in the document

Caliper can profile OpenMP constructs with the help of the OpenMP tools interface (OMPT). This requires a compiler with OMPT support, e.g. clang 9+. Build Caliper with -DWITH_OMPT=On to enable it.

Dose the OpenMP option only support for clang 9+ currently? I use GCC/G++ on ubuntu 18.

@daboehme
Copy link
Member

Hi @QYChan , yes the OpenMP support in Caliper relies on the OpenMP tools interface (OMPT), which is not AFAIK not available in older GCCs.

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

2 participants