<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="" style="font-family: NotoSans-Regular;"><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);">Hi QE users,</div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><br class=""></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);">I am trying to install QE 6.7.0 on AMD EPYC 7B12.</div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);">I have installed BLIS, lifFLAME, amd-fftw, and scalapack from source. Compiled them with clang,</div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);">and flang (AOCC compilers)</div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);">Also, openmpi 4.1.0 is installed from source.</div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);">I have passed these paths in the configure.</div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><br class=""></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);">$export CC=gcc; export CXX=gcc++; export F90=gfortran</div></div><span style="font-family: NotoSans-Regular;" class="">$./configure --enable-parallel --with-scalapack=yes --enable-parallel --enable-openmp --enable-shared \</span><br class="" style="font-family: NotoSans-Regular;"><span style="font-family: NotoSans-Regular;" class="">--prefix=$HOME/apps/QE/670 \</span><br class="" style="font-family: NotoSans-Regular;"><span style="font-family: NotoSans-Regular;" class="">BLAS_LIBS=$HOME/apps/blis/lib/libblis.a \</span><br class="" style="font-family: NotoSans-Regular;"><span style="font-family: NotoSans-Regular;" class="">LAPACK_LIBS=$HOME/apps/libFLAME/lib/libflame.a  \</span><br class="" style="font-family: NotoSans-Regular;"><span style="font-family: NotoSans-Regular;" class="">FFT_LIBS=$HOME/apps/amd-fftw/double/lib/libfftw3.a \</span><br class="" style="font-family: NotoSans-Regular;"><span style="font-family: NotoSans-Regular;" class="">MPI_LIBS="-L$HOME/apps/openmpi/410/lib" \</span><br class="" style="font-family: NotoSans-Regular;"><span style="font-family: NotoSans-Regular;" class="">DFLAGS="-D__FFTW3 -D__MPI -D__SCALAPACK" \</span><br class="" style="font-family: NotoSans-Regular;"><span style="font-family: NotoSans-Regular;" class="">SCALAPACK_DIR=$HOME/apps/scalapack \</span><br class="" style="font-family: NotoSans-Regular;"><span style="font-family: NotoSans-Regular;" class="">SCALAPACK_LIBS=$HOME/apps/scalapack/libscalapack.a</span><div class="" style="font-family: NotoSans-Regular;"><br class=""></div><div class="" style="font-family: NotoSans-Regular;">$make all</div><div class="" style="font-family: NotoSans-Regular;"><br class=""></div><div class="" style="font-family: NotoSans-Regular;"><span class="" style="font-family: 'Noto Mono'; font-size: 16px; background-color: rgb(255, 255, 255);">I get the following error:</span></div><div class="" style="font-family: NotoSans-Regular;"><br class=""></div><div class="" style="font-family: NotoSans-Regular;"><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK   -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude   -c fft_scatter_gpu.f90</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90-W-0006-Input file empty (fft_scatter_gpu.f90)</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90/x86-64 Linux Flang - 1.5 2017-05-01: compilation completed with warnings</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK   -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude   -c fft_scatter_2d_gpu.f90</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90-W-0006-Input file empty (fft_scatter_2d_gpu.f90)</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90/x86-64 Linux Flang - 1.5 2017-05-01: compilation completed with warnings</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK   -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude   -c fft_ggen.f90</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK   -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude   -c fftw_interfaces.f90</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK   -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude   -c fft_scalar.ARM_LIB.f90</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90-W-0006-Input file empty (fft_scalar.ARM_LIB.f90)</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90/x86-64 Linux Flang - 1.5 2017-05-01: compilation completed with warnings</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK   -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude   -c fft_scalar.DFTI.f90</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK   -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude   -c fft_scalar.ESSL.f90</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90-W-0006-Input file empty (fft_scalar.ESSL.f90)</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90/x86-64 Linux Flang - 1.5 2017-05-01: compilation completed with warnings</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK   -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude   -c fft_scalar.FFTW.f90</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90-W-0006-Input file empty (fft_scalar.FFTW.f90)</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90/x86-64 Linux Flang - 1.5 2017-05-01: compilation completed with warnings</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK   -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude   -c fft_scalar.FFTW3.f90</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90-F-0906-Can't find include file fftw3.f03 (fft_scalar.FFTW3.f90: 40)</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">F90/x86-64 Linux Flang - 1.5 2017-05-01: compilation aborted</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">make[1]: *** [../make.inc:16: fft_scalar.FFTW3.o] Error 1</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">make[1]: Leaving directory '/home/chandan_prescience_in/softwares/q-e-qe-6.7.0/FFTXlib'</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><span class="" style="font-variant-ligatures: no-common-ligatures;">make: *** [Makefile:188: libfft] Error 1</span></div></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><br class=""></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: 'Noto Mono'; background-color: rgb(255, 255, 255);"><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div></div><div class="" style="font-family: NotoSans-Regular;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class="" style="font-family: NotoSans-Regular;">I have tried the following troubleshooting, without any success.</div><div class="" style="font-family: NotoSans-Regular;">        1. The same error pops up in 6.6.0 version.</div><div class="" style="font-family: NotoSans-Regular;">        2. I have also tried installing on a fresh untar package. It gives the same error.</div><div class="" style="font-family: NotoSans-Regular;">        3. I also tried with CC=clang, CXX=clang++ and FC=flang, it gives the same error.</div><div class="" style="font-family: NotoSans-Regular;"><br class=""></div><div class="" style="font-family: NotoSans-Regular;">Please guide.</div><div class="" style="font-family: NotoSans-Regular;"><br class=""></div><div class="" style="font-family: NotoSans-Regular;">Thank you!</div><div class="" style="font-family: NotoSans-Regular;"><br class=""></div><div class="" style="font-family: NotoSans-Regular;">Chandan </div><div class="" style="font-family: NotoSans-Regular;"><span style="font-family: 'Noto Sans';" class=""><br class=""></span></div><div class="" style="font-family: NotoSans-Regular;"><span style="font-family: 'Noto Sans';" class="">--</span></div><div class=""><div style="color: rgb(0, 0, 0); font-family: 'Noto Sans'; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Chandan Kumar Choudhury, PhD<br class=""></div></div></body></html>