<div dir="ltr">


        
        
        
        


<pre class="western">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/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/SIRIUS-6.0.0/src/SDDK/matrix_storage.hpp:
In instantiation of :</pre>
<p style="margin-bottom: 0in; line-height: 100%">xx/cp2k/tools/toolchain/build/SIRIUS-6.0.0/src/SDDK/wave_functions.hpp:551:56:
  required from here</p>
<p style="margin-bottom: 0in; line-height: 100%">xx/cp2k/tools/toolchain/build/SIRIUS-6.0.0/src/SDDK/matrix_storage.hpp:450:38:
error:  was not declared in this scope</p>
<p style="margin-bottom: 0in; line-height: 100%">           
scale_matrix_elements_gpu(prime().at(mem__, 0, i0__), prime().ld(),
num_rows_loc(), n__, beta__);</p>
<p style="margin-bottom: 0in; line-height: 100%">           
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</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/build/SIRIUS-6.0.0/src'</p>

<pre class="western"><style type="text/css">p { margin-bottom: 0.1in; line-height: 115%; }</style><style class="darkreader darkreader--sync" media="screen"></style>
My OS is Ubuntu 18.04, and Cuda toolkit is 10.0, any suggestion is welcome!<br>Thanks in advance! <style type="text/css">p { margin-bottom: 0in; }</style><style class="darkreader darkreader--sync" media="screen"></style><br><style type="text/css">pre.cjk { font-family: "DejaVu Sans Mono", monospace; }p { margin-bottom: 0.1in; line-height: 115%; }</style><style class="darkreader darkreader--sync" media="screen"></style><pre class="western"></pre></pre>

<style type="text/css">pre.cjk { font-family: "DejaVu Sans Mono", monospace; }p { margin-bottom: 0.1in; line-height: 115%; }</style><style class="darkreader darkreader--sync" media="screen"></style></div>