[QE-developers] epw gpu build

Luis Casillas Trujillo luis.casillas.trujillo at liu.se
Thu May 25 16:11:26 CEST 2023


Hi,

I am trying to build epw with cmake using the following command:

cmake -DCMAKE_C_COMPILER=mpicc  -DCMAKE_Fortran_COMPILER=mpif90 -DCMAKE_CXX_COMPILER=nvfortran -DQE_ENABLE_CUDA=ON -DQE_ENABLE_OPENACC=ON -DQE_ENABLE_FOX=ON -DNVFORTRAN_CUDA_CC=70  -DQE_ENABLE_OPENMP=ON ..

make epw

I am using nvidia nvhpc 23.3

and get the following error message:

Building Fortran object EPW/CMakeFiles/qe_epw.dir/src/supercond_aniso.f90.o
/proj/nsc/users/lkasillas/nvhpc/install/Linux_x86_64/23.3/compilers/share/llvm/bin/opt: /tmp/nvfortranX3BctcIhuPm5.ll:19604:17: error: vector select requires selected vectors to have the same vector length as select condition
        %1393 = select <4 x i1>  %1388, <8 x double>  %1392, <8 x double>  %1385, !dbg !2318
                       ^
make[3]: *** [EPW/CMakeFiles/qe_epw.dir/src/supercond_aniso.f90.o] Error 2
make[2]: *** [EPW/CMakeFiles/qe_epw.dir/all] Error 2
make[1]: *** [EPW/CMakeFiles/epw.dir/rule] Error 2
make: *** [epw] Error 2

Any help would be very appreacited,

Thanks!

Luis



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20230525/dc2e3acc/attachment.html>


More information about the developers mailing list