<div dir="ltr">If you have "modules", you may try this: /opt/nvidia/hpc_sdk/modulefiles/nvhpc/21.3 <br><div><br></div><div>Paolo<br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 16, 2021 at 10:33 AM Giovanni Cantele <<a href="mailto:giovanni.cantele@spin.cnr.it">giovanni.cantele@spin.cnr.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Thank you, I’m working with your input variables and the latest DEVELOPMENT version downloaded yesterday.<div><br></div><div>There should be something wrong with configure. The error I’m facing is</div><div>configure: error: in `/home/cantele/q-e-develop':<br>configure: error: Couldn't find libcuda<br>See `config.log' for more details</div><div><br></div><div>If I look within config.log it tries to make the following compilation:</div><div>pgcc -o conftest -g -O2 conftest.c -lcuda -L/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/cuda/11.2/lib64 -lcuda -lcudart -lcublas -lcufft >&5</div><div><br></div><div>And indeed, at the end, the summary of the variables reports, among the others:</div><div>CUDA_LDLIBS=' -L/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/cuda/11.2/lib64 -lcuda -lcudart -lcublas -lcufft’</div><div><br></div><div>However, /opt/nvidia/hpc_sdk/Linux_x86_64/21.3/cuda/11.2/lib64 does NOT contain libcufft, libcublas but only libcudart. The former are within /opt/nvidia/hpc_sdk/Linux_x86_64/21.3/REDIST/math_libs/11.2/lib64/</div><div>but it seems that configure does not look through all the directories in LD_LIBRARY_PATH.</div><div><br></div><div>Is that possible?</div><div><br></div><div>Thanks in any case, I’ll let you know if I manage to solve those issues.</div><div><br></div><div>Giovanni<br><div><br><blockquote type="cite"><div>On 15 Apr 2021, at 22:22, Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>This is what I have used, with some success. If you do not have MKL libraries, you should get</div><div> BLAS_LIBS=-llapack -lblas <br></div><div>or something like that<br></div><div><br></div><div>Paolo<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 15, 2021 at 5:27 PM Giovanni Cantele <<a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>I downloaded the latest development version. Could you share the needed configure options and environment variables that allowed you to get a clean compilation?<div><br></div><div>Thank you again,</div><div><br></div><div> Giovanni<br><div><br><blockquote type="cite"><div>On 15 Apr 2021, at 14:50, Giovanni Cantele <<a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a>> wrote:</div><br><div><div>It was the lates stable (qe-6.7-ReleasePack.tgz).<div><br></div><div>Where can I find the all needed environment variables?</div><div><br></div><div>Thanks,</div><div><br></div><div>Giovanni<br><div><br><blockquote type="cite"><div>On 15 Apr 2021, at 14:44, Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div dir="ltr">On Thu, Apr 15, 2021 at 2:01 PM Giovanni Cantele <<a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a>> wrote:</div><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>I’m trying to compile the latest QE version</div></blockquote><div><br></div><div>"latest stable" or "latest development"? GPU support is work in progress (or maybe "in regress"): don't count on the stable version to support the latest compiler. <br></div><div> <br><div>I can tell you for sure that with a correct nvidia hpc_sdk 21.3 installation + all needed environment variables defined + all needed configure options (+ MKL libraries: I don't trust too much blas and lapack from the nvidia compiler) the latest development version compiles and works.</div><div><br></div><div>Paolo<br></div></div></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 206, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div></div>
_______________________________________________<br>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/" target="_blank">www.max-centre.eu</a>)<br>users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><br></div></div>_______________________________________________<br>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/" target="_blank">www.max-centre.eu</a>)<br>users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><br></div></div>_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 206, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>
<span id="gmail-m_8040136964540404359cid:f_knjbvfvi0"><cuda.txt></span>_______________________________________________<br>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" target="_blank">www.max-centre.eu</a>)<br>users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><br></div></div>_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 206, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div></div>