PRUNERS / archer

Archer, a data race detection tool for large OpenMP applications
https://pruners.github.io/archer
Apache License 2.0
62 stars 13 forks source link

generate wrappers with full paths #10

Closed lee218llnl closed 7 years ago

lee218llnl commented 7 years ago

The clang-archer and clang-archer++ scripts required setting LD_LIBRARY_PATH and ensuring that clang/clang++ were in ones $PATH. It also had an issue that if the clang installation had its own OpenMP library, while Archer was built with a side-install OpenMP runtime (i.e., with OMPT support), the OpenMP runtime from clang would be chosen instead of the side-installed one. This PR fixes these issues by hardcoding the path to the compiler and to the archer plugin. It also sets an rpath to the OpenMP runtime that Archer was configured against.

simoatze commented 7 years ago

@lee218llnl The tests are ok, sometimes it fails one test because the OMPT runtime has still some problem that we need to take care of. So all is good. Thanks for doing this.