-
Notifications
You must be signed in to change notification settings - Fork 13
Spack installed clinfo changes behavior with iprof on Aurora #489
Copy link
Copy link
Open
Description
If you do the following on Aurora:
- Setup spack
module load oneapi
git clone -c feature.manyFiles=true -b releases/latest https://github.com/spack/spack.git
spack/share/spack/setup-env.sh
spack compiler find
spack external find --all --exclude bzip2 --exclude xz- Add THAPI-spack as a repo
git clone https://github.com/argonne-lcf/THAPI-spack.git
spack repo add ./THAPI-spack- Install THAPI with
+test-variantfor customclinfo
spack install --concurrent-packages 2 -j32 thapi@develop+sync-daemon-mpi+archive+test-dependencies- Run
clinfowith and withoutiprof
spack load thapi@develop+sync-daemon-mpi+archive+test-dependencies
clinfo > without_iprof.txt
iprof --no-analysis clinfo > with_iprof.txt
vimdiff without_iprof.txt with_iprof.txtYou wil see that the clinfo output is different with and without iprof. The reason behind
the difference is that the libOpenCL.so returned by whichlib is not the same libOpenCL.so
RRATH'ed to clinfo binary during the spack build (@TApplencourt and I verified this was the
issue which causes the difference).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels