Clang OpenMPTarget ibm-13.0.0 internal error.
An internal clang-ibm-13.0.0 error occurs when compiling for OpenMPTarget, with exhaustive tests turned on (https://github.com/LLNL/RAJA/pull/1207).
In file included from /usr/workspace/wsrzc/chen59/allraja/rajaatomicexhaustive/raja_git_atomicexhaustive/build_lc_blueos-clang-ibm-13.0.0_omptarget/test/functional/kernel/single-loop-tile-icount-tcount/test-kernel-single-loop-ForICount-8-OpenMPTarget.cpp:11:
In file included from /usr/workspace/wsrzc/chen59/allraja/rajaatomicexhaustive/raja_git_atomicexhaustive/test/include/RAJA_test-base.hpp:15:
In file included from /usr/workspace/wsrzc/chen59/allraja/rajaatomicexhaustive/raja_git_atomicexhaustive/include/RAJA/RAJA.hpp:31:
In file included from /usr/workspace/wsrzc/chen59/allraja/rajaatomicexhaustive/raja_git_atomicexhaustive/include/RAJA/util/Operators.hpp:34:
/usr/workspace/wsrzc/chen59/allraja/rajaatomicexhaustive/raja_git_atomicexhaustive/include/RAJA/util/macros.hpp:133:16: warning: variable 'errtemp' set but not used [-Wunused-but-set-variable]
const char * errtemp = nullptr;
^
fatal error: error in backend: Cannot select: 0x1c2e2660: i16,ch = AtomicLoad<(dereferenceable load acquire (s8) from i8 addrspace(1)* bitcast (i64 addrspace(1)* @_ZGVZN4camp9resources2v14Host11get_defaultEvE1h to i8 addrspace(1)*), align 8, addrspace 1)> 0x1c2e26c8, 0x1c637c48
0x1c637c48: i64 = NVPTXISD::Wrapper TargetGlobalAddress:i64<i64 addrspace(1)* @_ZGVZN4camp9resources2v14Host11get_defaultEvE1h> 0
0x1c6379d8: i64 = TargetGlobalAddress<i64 addrspace(1)* @_ZGVZN4camp9resources2v14Host11get_defaultEvE1h> 0
In function: __omp_outlined__1
clang-13: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 13.0.0
Target: powerpc64le-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/tce/packages/clang/clang-ibm-13.0.0/release/bin
clang-13: note: diagnostic msg: Error generating preprocessed source(s).
make[2]: *** [test/functional/kernel/single-loop-tile-icount-tcount/CMakeFiles/test-kernel-single-loop-ForICount-8-OpenMPTarget.exe.dir/build.make:63: test/functional/kernel/single-loop-tile-icount-tcount/CMakeFiles/test-kernel-single-loop-ForICount-8-OpenMPTarget.exe.dir/test-kernel-single-loop-ForICount-8-OpenMPTarget.cpp.o] Error 70