<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Let me share the steps I followed in installing QE-GPU Quantum Espresso 7.2 on a desktop with an NVidia GTX 970 and Pop_OS_Nvidia 22.04 Linux distro. The following method installs smoothly without error, but pw.x there is not much difference in terms of speed, maybe anyone with an idea why</div><div class="gmail_default"><div class="gmail_default"><div class="gmail_default"><font face="georgia, serif">step1</font></div><div class="gmail_default"><font face="georgia, serif">start by installing the nvidia hpc_sdk software bundled with cuda</font></div><div class="gmail_default"><font face="georgia, serif"> start by downloading</font></div><div class="gmail_default"><font face="georgia, serif"> $ wget <a href="https://mailtrack.io/trace/link/22ded0f51fbca542495e3ea216c486b20f1dd97c?url=https%3A%2F%2Fdeveloper.download.nvidia.com%2Fhpc-sdk%2F23.3%2Fnvhpc_2023_233_Linux_x86_64_cuda_12.0.tar.gz&userId=2771463&signature=f13e33fbcab2dbed">https://developer.download.nvidia.com/hpc-sdk/23.3/nvhpc_2023_233_Linux_x86_64_cuda_12.0.tar.gz</a></font></div><div class="gmail_default"><font face="georgia, serif"> open the tarball</font></div><div class="gmail_default"><font face="georgia, serif"> $ tar xpzf nvhpc_2023_233_Linux_x86_64_cuda_12.0.tar.gz</font></div><div class="gmail_default"><font face="georgia, serif"> install</font></div><div class="gmail_default"><font face="georgia, serif"> $ sudo nvhpc_2023_233_Linux_x86_64_cuda_12.0/install </font></div><div class="gmail_default"><font face="georgia, serif"> the specify path to local as /usr/local</font></div><div class="gmail_default"><font face="georgia, serif"> export all path given after the installation</font></div><div class="gmail_default"><font face="georgia, serif"> gedit ~/.bashrc</font></div><div class="gmail_default"><font face="georgia, serif"> source ~/.bashrc</font></div><div class="gmail_default"><font face="georgia, serif"><br></font></div><div class="gmail_default"><font face="georgia, serif">step 2</font></div><div class="gmail_default"><font face="georgia, serif"> install quantum espresso-built essentials </font></div><div class="gmail_default"><font face="georgia, serif"><br></font></div><div class="gmail_default"><font face="georgia, serif">step 3</font></div><div class="gmail_default"><font face="georgia, serif"> install cuda aware openmpi</font></div><div class="gmail_default"><font face="georgia, serif"> ./configure --with-cuda=/usr/local/Linux_x86_64/2023/cuda/ --prefix=/usr/local/openmpi-4.1.5/</font></div><div class="gmail_default"><font face="georgia, serif">or</font></div><div class="gmail_default"><font face="georgia, serif">if path is as follows</font></div><div class="gmail_default"><font face="georgia, serif">./configure --with-cuda=/usr/local/cuda/ --prefix=/usr/local/openmpi-4.1.5/</font></div><div class="gmail_default"><font face="georgia, serif">then</font></div><div class="gmail_default"><font face="georgia, serif"> sudo make all install</font></div><div class="gmail_default"><font face="georgia, serif"> </font></div><div class="gmail_default"><font face="georgia, serif">step 4</font></div><div class="gmail_default"><font face="georgia, serif"> sudo apt install git ==this is required by quantum espresso</font></div><div class="gmail_default"><font face="georgia, serif"> </font></div><div class="gmail_default"><font face="georgia, serif"> </font></div><div class="gmail_default"><font face="georgia, serif">step 5</font></div><div class="gmail_default"><font face="georgia, serif"> install quantum espresso</font></div><div class="gmail_default"><font face="georgia, serif">tar -xzvf quantum espresso tar.gz</font></div><div class="gmail_default"><font face="georgia, serif">then</font></div><div class="gmail_default"><font face="georgia, serif">quantum espresso install with cuda libxc and hdf5</font></div><div class="gmail_default"><font face="georgia, serif">./configure --enable-openmp --with-cuda-mpi=yes --with-cuda-prefix=/usr/local/2023/cuda --with-cuda-cc=50 --with-cuda-runtime=12.0 </font></div><div class="gmail_default"><font face="georgia, serif"> </font></div><div class="gmail_default"><font face="georgia, serif">Note that </font><span style="font-family:georgia,serif">--with-cuda-cc=50 is machine dependent, some machines cc=70, or 80 etc</span></div><div class="gmail_default"><font face="georgia, serif"><br></font></div><div class="gmail_default"><font face="georgia, serif">All the following files should have been exported to bashrc</font></div><div class="gmail_default"><font face="georgia, serif"><br></font></div><div class="gmail_default"><font face="georgia, serif">export to bashrc</font></div><div class="gmail_default"><font face="georgia, serif">gedit ~/.bashrc</font></div><div class="gmail_default"><font face="georgia, serif">MANPATH=$MANPATH:/usr/local/Linux_x86_64/23.3/compilers/man; export MANPATH</font></div><div class="gmail_default"><font face="georgia, serif">PATH=/usr/local/Linux_x86_64/23.3/compilers/bin:$PATH; export PATH</font></div><div class="gmail_default"><font face="georgia, serif">export PATH=/usr/local/Linux_x86_64/23.3/comm_libs/mpi/bin:$PATH</font></div><div class="gmail_default"><font face="georgia, serif">export MANPATH=$MANPATH:/usr/local/Linux_x86_64/23.3/comm_libs/mpi/man</font></div><div class="gmail_default"><font face="georgia, serif">export PATH=$PATH:/usr/local/openmpi-4.1.5/bin</font></div><div class="gmail_default"><font face="georgia, serif">export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/openmpi-4.1.5/lib</font></div><div class="gmail_default"><font face="georgia, serif">export PATH=$PATH:/home/robinsonmusembi/DFT/qe-7.2/bin</font></div><div class="gmail_default"><font face="georgia, serif">source ~/.bashrc</font></div></div></div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><div style="font-size:small"><b>Robinson J. Musembi</b><br></div><div style="font-size:small"><span style="color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px">Solid State and Materials Research</span><span style="font-size:12.8px"><br></span></div><div style="font-size:small"><span style="font-size:12.8px">Department of Physics, University of Nairobi</span><br></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div></div></div></div></div></div></div></div></div></div></div></div></div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/97869daba6f6e2ac022197156c8b7e866f89d857.png?u=2771463"></div>
<br>
<div style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><font face="Verdana" size="1">------------------------------<wbr>-----------</font></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><span style="font-family:Verdana;font-size:x-small">A KEBS 9001:2015 Certified Organization, No. KEBS/QMS/RF:064 Rev. 03</span><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><span style="font-family:Verdana;font-size:x-small"><br></span></div>