<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Dear Pietro, and also Paolo</p>
<p>Many thanks for the swift response. </p>
<p>--with-cuda-runtime=12.6 ... this leads to success in config.</p>
<p>make all seemed to complete successfully.</p>
<p>Running pw with mpirun ... so far no good.</p>
<p>I would be very grateful if you have any suggestion for the right
options to select to run pw in the present configuration. I seem
to have omitted specifying an hca device, and have hcoll errors.</p>
<p>Many thanks, I really appreciate your help.</p>
<p>Richard<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 30/01/2025 11:33, Pietro Davide
Delugas wrote:<br>
</div>
<blockquote type="cite" cite="mid:AS2PR07MB951849A892EF13EFFFD8B427AFE92@AS2PR07MB9518.eurprd07.prod.outlook.com">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hello</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
you need to specifu --with-cuda-runtime=<value>, where
value is a version of the runtime supported by your compiler, I
guess 11.8 should do.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hope it helps</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Pietro</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div dir="ltr" id="divRplyFwdMsg"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> users
<a class="moz-txt-link-rfc2396E" href="mailto:users-bounces@lists.quantum-espresso.org"><users-bounces@lists.quantum-espresso.org></a> on behalf of
R T Phillips via users
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.quantum-espresso.org"><users@lists.quantum-espresso.org></a><br>
<b>Sent:</b> Thursday, January 30, 2025 12:23<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.quantum-espresso.org"><users@lists.quantum-espresso.org></a><br>
<b>Subject:</b> [QE-users] QE-GPU - cudafor not found</span>
<div> </div>
</div>
<div style="font-size: 11pt;">I have been trying to compile
Quantum Espresso for use on this system:<br>
Intel i9-14900 (24 core)<br>
Linux Mint 22.1 Cinnamon version 6.4.6<br>
Nvidia GeForce RTX 4070<br>
<br>
with:<br>
nvhpc_2024_2411_Linux_x86_64_cuda_12.6<br>
<br>
openmpi5.0.6<br>
<br>
qe 7.3.1<br>
<br>
PATH and LD_LIBRARY_PATH point to all the recommended folders.<br>
<br>
Compilers set to nvc, nvc++, nvfortran from nvhpc; mpif90 from
openmpi<br>
also tried.<br>
<br>
./configure --enable-parallel --with-cuda=$NVHPC_CUDA_HOME<br>
--with-cuda-cc=89 --with-cuda-mpi=yes --enable-openmp<br>
<br>
this stops with:<br>
<br>
checking whether Fortran compiler accepts -cuda -gpu=cuda10.1...
no<br>
configure: error: You do not have the cudafor module. Are you
using<br>
NVHPC compiler?<br>
<br>
... well, yes. What then?<br>
<br>
I have searched for info about whether the nvhpc should include
cudafor,<br>
and if so, how to make it visible. There are discussions related
to<br>
distributions prior to hpc_sdk, but I can't find up-to-date
advice ie<br>
after cuda was incorporated in the hpc_sdk. I switched to
F90=mpif90<br>
from openmpi-5.0.6 and hit the same problem.<br>
Is there a solution to this? Clearly I want to use all the cores
in the<br>
CPU and those in the GPU to optimise throughput.<br>
Thanks to anyone who can help!<br>
<br>
Richard Phillips, Cavendish Laboratory, UK<br>
<br>
_______________________________________________________________________________<br>
The Quantum ESPRESSO Foundation stands in solidarity with all
civilians worldwide who are victims of terrorism, military
aggression, and indiscriminate warfare.<br>
--------------------------------------------------------------------------------<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" id="OWAff4a67e2-55b1-7a83-7c1a-d7eb01d6b0fe" class="OWAAutoLink" data-auth="NotApplicable" moz-do-not-send="true">www.max-centre.eu</a>)<br>
users mailing list <a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" id="OWA9bd2ccec-2938-d792-c3fd-c57726f1a6eb" class="OWAAutoLink moz-txt-link-freetext" data-auth="NotApplicable" moz-do-not-send="true">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div dir="ltr" id="divRplyFwdMsg"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> users
<a class="moz-txt-link-rfc2396E" href="mailto:users-bounces@lists.quantum-espresso.org"><users-bounces@lists.quantum-espresso.org></a> on behalf of
R T Phillips via users
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.quantum-espresso.org"><users@lists.quantum-espresso.org></a><br>
<b>Sent:</b> Thursday, January 30, 2025 12:23<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.quantum-espresso.org"><users@lists.quantum-espresso.org></a><br>
<b>Subject:</b> [QE-users] QE-GPU - cudafor not found</span>
<div> </div>
</div>
<div style="font-size: 11pt;">I have been trying to compile
Quantum Espresso for use on this system:<br>
Intel i9-14900 (24 core)<br>
Linux Mint 22.1 Cinnamon version 6.4.6<br>
Nvidia GeForce RTX 4070<br>
<br>
with:<br>
nvhpc_2024_2411_Linux_x86_64_cuda_12.6<br>
<br>
openmpi5.0.6<br>
<br>
qe 7.3.1<br>
<br>
PATH and LD_LIBRARY_PATH point to all the recommended folders.<br>
<br>
Compilers set to nvc, nvc++, nvfortran from nvhpc; mpif90 from
openmpi<br>
also tried.<br>
<br>
./configure --enable-parallel --with-cuda=$NVHPC_CUDA_HOME<br>
--with-cuda-cc=89 --with-cuda-mpi=yes --enable-openmp<br>
<br>
this stops with:<br>
<br>
checking whether Fortran compiler accepts -cuda -gpu=cuda10.1...
no<br>
configure: error: You do not have the cudafor module. Are you
using<br>
NVHPC compiler?<br>
<br>
... well, yes. What then?<br>
<br>
I have searched for info about whether the nvhpc should include
cudafor,<br>
and if so, how to make it visible. There are discussions related
to<br>
distributions prior to hpc_sdk, but I can't find up-to-date
advice ie<br>
after cuda was incorporated in the hpc_sdk. I switched to
F90=mpif90<br>
from openmpi-5.0.6 and hit the same problem.<br>
Is there a solution to this? Clearly I want to use all the cores
in the<br>
CPU and those in the GPU to optimise throughput.<br>
Thanks to anyone who can help!<br>
<br>
Richard Phillips, Cavendish Laboratory, UK<br>
<br>
_______________________________________________________________________________<br>
The Quantum ESPRESSO Foundation stands in solidarity with all
civilians worldwide who are victims of terrorism, military
aggression, and indiscriminate warfare.<br>
--------------------------------------------------------------------------------<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" id="OWAe4a54e45-94d8-42c2-d0da-ade694d656e5" class="OWAAutoLink" data-auth="NotApplicable" moz-do-not-send="true">www.max-centre.eu</a>)<br>
users mailing list <a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" id="OWA74d86412-4d1b-69dd-6390-2914931bf8bb" class="OWAAutoLink moz-txt-link-freetext" data-auth="NotApplicable" moz-do-not-send="true">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
</blockquote>
</body>
</html>