<div dir="ltr">Dear QE users,<div><br></div><div>   I'm trying to compile pw.x with SDK 21.5 and CUDA toolkit 11.4 regarding 2 Tesla K20c gpus (Intel Xeon E5-2650 processors).</div><div>   I know the gpuss and packages are working because I was able to compile lammps with them and it works. I have also compiled the test examples provided by Nvidia for SDK and CUDA, including CUDA-Fortran, but I get the following error when trying to configure. I'm probably making some bad QE configuration but could not realise which one... Any hints? Thanks in advance!</div><div><br></div><div>Configure command:</div><div>./configure --with-cuda=$CUDA_HOME --with-cuda-runtime=11.4 --with-cuda-cc=35 --enable-openmp --with-scalapack=no</div><div><br></div><div>Last output lines of configure:</div><div>using F90... nvfortran<br>setting FFLAGS... -O1<br>setting F90FLAGS... $(FFLAGS)<br>setting FFLAGS_NOOPT... -O0<br>setting CPP... cpp<br>setting CPPFLAGS... -P -traditional -Uvector<br>setting LD... mpif90<br>setting LDFLAGS...<br>checking for Fortran flag to compile .f90 files... (cached) none<br>checking whether Fortran compiler accepts -Mcuda=cuda11.4... no<br>configure: error: You do not have the cudafor module. Are you using a PGI compiler?<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">Marcelo Falcão de Oliveira</span><br style="font-size:12.8px"><span style="font-size:12.8px">Professor</span><br style="font-size:12.8px"><span style="font-size:12.8px">Departamento de Engenharia de Materiais</span><br style="font-size:12.8px"><span style="font-size:12.8px">EESC - USP</span><br style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px">Av. João Dagnone, 1100,  Jd. Sta Angelina</div><div dir="ltr" style="font-size:12.8px">CEP: 13563-120, São Carlos - SP - Brasil</div><span style="font-size:12.8px">e-mail: </span><a href="mailto:marcelo.falcao@usp.br" style="font-size:12.8px" target="_blank">marcelo.falcao@usp.br</a><br style="font-size:12.8px"><span style="font-size:12.8px">Fone: (16) 3373-9583</span><br style="font-size:12.8px"><span style="font-size:12.8px">Fax: (16) 3373-9590</span><br style="font-size:12.8px"><span style="font-size:12.8px">Agenda: </span><a href="http://www.google.com/calendar/embed?src=marcelo.falcao%40usp.br&ctz=America/Sao_Paulo&mode=week" style="font-size:12.8px" target="_blank">http://www.google.com/calendar/embed?src=marcelo.falcao%40usp.br&ctz=America/Sao_Paulo&mode=week</a><br></div></div></div></div>