[Openmp-dev] Fwd: [PATCH] D45890: [OMPT] Add implementation and tests of Archer tool

Cownie, James H via Openmp-dev openmp-dev at lists.llvm.org
Mon Apr 23 01:28:38 PDT 2018


> - do you agree with the plan to integrate tools into the runtime repository?
Making tools available here seems fine to me.

> - what licenses are acceptable for tools which want to get integrated?
I think they should obey the same license requirements as any other LLVM code in the repository. 

-- Jim

Jim Cownie <james.h.cownie at intel.com>
CVCG/DPD/TCAR (Technical Computing, Analyzers, and Runtimes)
Tel: +44 117 9071438

-----Original Message-----
From: Openmp-dev [mailto:openmp-dev-bounces at lists.llvm.org] On Behalf Of Joachim Protze via Openmp-dev
Sent: Friday, April 20, 2018 6:14 PM
To: Openmp-dev <openmp-dev at lists.llvm.org>
Subject: [Openmp-dev] Fwd: [PATCH] D45890: [OMPT] Add implementation and tests of Archer tool

Hi all,

I propose to add a new directory at root level of the OpenMP repository 
to collect OMPT-based tools. This directory can also be used to checkout 
other tools into the directory and build them with access to the 
OpenMP-library configuration.

As a first tool I uploaded Archer to phabricator (to see how this would 
look like just follow the link at the end of this mail). This tool 
closes the gap between OpenMP runtime and ThreadSanitizer. At some point 
this will also supersede the TSan-annotations in the runtime code.

Another tool I would see is a tool to implement the omp-display-affinity 
functionality. We already have a prototype of that tool, and it should 
be quite easy to update this prototype to implement the latest spec.


Here I would like to get your feedback on:

- do you agree with the plan to integrate tools into the runtime repository?
- what licenses are acceptable for tools which want to get integrated?

Thanks,
Joachim

-------- Forwarded Message --------
Subject: [PATCH] D45890: [OMPT] Add implementation and tests of Archer tool
Date: Fri, 20 Apr 2018 17:01:42 +0000 (UTC)
From: Joachim Protze via Phabricator <reviews at reviews.llvm.org>
Reply-To: reviews+D45890+public+16093abf34ab836a at reviews.llvm.org
To: protze.joachim at gmail.com, hfinkel at anl.gov, hahnjo at hahnjo.de
CC: mgorny at gentoo.org, openmp-commits at lists.llvm.org, 
filcab+llvm.phabricator at gmail.com, junbuml at codeaurora.org

protze.joachim created this revision.
protze.joachim added reviewers: hfinkel, Hahnfeld.
Herald added a subscriber: mgorny.

The tool provides TSAN annotations for OpenMP synchronization. Enabled 
for application execution by setting OMP_TOOL_LIBRARIES=libarcher.so, this
library should get installed in the same order as libomp, so the linker
should find the file when the application is linked with OpenMP.

The tool detects whether the application was built with TSan and rejects
activation according to the OMPT protocol if there is no TSan-rt.


Further it is recommended to set
TSAN_OPTIONS="ignore_noninstrumented_modules=1"
This avoids some false positive errors from the OpenMP runtime.


https://reviews.llvm.org/D45890



_______________________________________________
Openmp-dev mailing list
Openmp-dev at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the Openmp-dev mailing list