Dear Yi-Ping, from the error message that you report I deduce that you are trying to install this version: https://github.com/fspiga/qe-gpu .
If this is the case, you should first check where the cuda toolkit is installed (for example, on my system it is in /opt/cuda) and set the variable CUDADIR accordingly (again, in my case, CUDADIR=/opt/cuda/). If you are on a HPC system you probably have to load the cudatoolkit module and inspect the variables set by the module system. There is a good chance that a variable like CUDA_HOME is present and you may just use that value to set CUDADIR. Hope this helps, best, Pietro > Dear all, > > I have trouble while installing QE-GPU. > After I run make, I got > > install/make.check-cuda:7: *** Set $CUDADIR, preferably in your > environment, e.g., run "export CUDADIR=/usr/local/cuda-8.0" in ~/.bashrc, > or "setenv CUDADIR /usr/local/cuda-8.0" in ~/.cshrc. Stop. > > I export CUDADIR in terminal and edit .bashrc. > > echo $CUDADIR returns > > /usr/local/cuda-8.0 > > So I am confused. It seems I set the environment successfully. But somehow > cannot bypass the make.check-cuda. > > I suspect I miss something simple. Could anyone help me? > > Thanks. > Best, > Yi-Ping > _______________________________________________ > users mailing list > [email protected] > https://lists.quantum-espresso.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] https://lists.quantum-espresso.org/mailman/listinfo/users
