<div dir="ltr">It's solved after update the present version.<br><br>On Wednesday, March 13, 2019 at 2:33:21 PM UTC-4, ghi...@gmail.com wrote:<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex; --darkreader-inline-border-left:#bfbab0;" data-darkreader-inline-border-left=""><div dir="ltr">


        
        
        
        


<pre>Dear developer and users, I encountered a problem while installing cp2k, would you please to give some advise?<br><br>If I use the following command to install cp2k without cuda support, it works well:<br>./install_cp2k_toolchain.sh --install-all --enable-cuda=no<br><br>But if I install it with cuda support like that:<br>./install_cp2k_toolchain.sh --install-all --enable-cuda --gpu-ver=P100

<br>Installation exits at Sirius installation section:<br>ERROR: (xx/cp2k/tools/toolchain/<wbr>scripts/install_sirius.sh, line 153) Non-zero exit code detected.<br>The following information displayed at the last lines of "make.log" file :<br>xx/cp2k/tools/toolchain/build/<wbr>SIRIUS-6.0.0/src/SDDK/matrix_<wbr>storage.hpp:
In instantiation of :</pre>
<p style="margin-bottom:0in;line-height:100%">xx/cp2k/tools/toolchain/build/<wbr>SIRIUS-6.0.0/src/SDDK/wave_<wbr>functions.hpp:551:56:
  required from here</p>
<p style="margin-bottom:0in;line-height:100%">xx/cp2k/tools/toolchain/build/<wbr>SIRIUS-6.0.0/src/SDDK/matrix_<wbr>storage.hpp:450:38:
error:  was not declared in this scope</p>
<p style="margin-bottom:0in;line-height:100%">           
scale_matrix_elements_gpu(<wbr>prime().at(mem__, 0, i0__), prime().ld(),
num_rows_loc(), n__, beta__);</p>
<p style="margin-bottom:0in;line-height:100%">           
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~<wbr>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~</p>
<p style="margin-bottom:0in;line-height:100%">make: ***
[Makefile:37: sirius_api.o] Error 1</p>
<p style="margin-bottom:0in;line-height:100%">make: Leaving
directory 'xx/cp2k/tools/toolchain/<wbr>build/SIRIUS-6.0.0/src'</p>

<pre>My OS is Ubuntu 18.04, and Cuda toolkit is 10.0, any suggestion is welcome!<br>Thanks in advance! <br><pre></pre></pre>

</div></blockquote></div>