<div dir="ltr"><div>Hi,</div><div><br></div>I get a lot of errors when I compile with bgclang 3.5 on ALCF Vesta, the paths of MPI/PAMI libraries have changed, so I had to make some (very minor) modifications on the specific cmake files under toolchain folder of Elemental (just removed ../gcc from _ROOT, as I see all {MPI and PAMI} libs in ../comm/lib, and had to change some of the library link names e.g -lmpich to -lmpich-gcc). <div>
<br></div><div>This is the error I get with bgclang:<div><br></div><div><div><span style="background-color:rgb(255,255,0)">/home/sghosh/projects/Elemental/src/core/BlockDistMatrix/./setup.hpp:147:32: <b>error: non-type template argument is not a constant</b></span></div>
<div><span style="background-color:rgb(255,255,0)"><b> expression</b></span></div><div><span style="background-color:rgb(255,255,0)">{ return new <b>BlockDistMatrix<T,this->UDiag,this->VDiag>(g,root)</b>; }</span></div>
<div><br></div><div>Clang++11 seems to not treat it as a compile time deterministic argument, I played around with some static_casting, but could not make it work. I am cc-ing llvm-bgclang-discuss as well, just for reporting. I cannot test it on my laptop as I don't have the latest clang build, so please excuse me. <br>
</div><div><br></div><div>I was able to build Elemental successfully with gnu-4.7.2 though (installed in <span style="background-color:rgb(255,255,0)">/bgsys/drivers/ppcfloor/gnu-linux-4.7.2</span> - which is probably unsupported?), using the updated toolchain cmake files. </div>
<div><br></div><div>I attach 2 files: updated cmake file for BGQ-Vesta-clang-netlib, and build/include/El/config.h.</div><div><br></div>-- <br><div dir="ltr"><div>Regards,</div>Sayan<br></div>
</div></div></div>