Compilation fails: #error No fft_scalar backend selected!
With qe_develop most recent version:
milias@lxbk1135.gsi.de:/lustre/ukt/milias/work/software/quantum-espresso/q-e_develop/build_gnu_openmpi_openblas/.cmake -DQE_ENABLE_OPENMP=ON -DQE_ENABLE_SCALAPACK=ON -DQE_ENABLE_ELPA=ON -DBLA_VENDOR=OpenBLAS -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpif90 -DELPA_LIBRARIES=/cvmfs/vae.gsi.de/wjue22nh7br4jthmt3lfugpeivfms/lib -DELPA_INCLUDE_DIRS=/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/elpa-2021.11.001-uorwjue22nh7br4jthmt3lfugpeivfms/include -DELPA_Fortran_MODS_DIR=/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/elpa-2021.11.001-uorwjue22nh7br4jthmt3lfugpeivfms/include/elpa_openmp-2021.11.001/modules -DVendorFFTW_LIBRARIES=/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/amdfftw-3.0-a5urjhpjd7jrmbg6ygxyvci2d4kv2fbb -DVendorFFTW_INCLUDE_DIRS=/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/amdfftw-3.0-a5urjhpjd7jrmbg6ygxyvci2d4kv2fbb/include -DVendorFFTW_ID=amd ..
-- The Fortran compiler identification is GNU 10.2.0
-- The C compiler identification is GNU 10.2.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openmpi-4.1.5-phbdvrf3few3givo575jlifx6dhnfgk7/bin/mpif90 - skipped
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openmpi-4.1.5-phbdvrf3few3givo575jlifx6dhnfgk7/bin/mpicc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Setting build type to 'Release' as none was specified
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Enable sanitizer QE_ENABLE_SANITIZER=none
-- C preprocessor used by qe_preprocess_source in qeHelpers.cmake: /usr/bin/cpp
-- Performing Test Fortran_ISYSTEM_SUPPORTED
-- Performing Test Fortran_ISYSTEM_SUPPORTED - Success
-- Found OpenMP_Fortran: -fopenmp (found version "4.5")
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5") found components: Fortran C
-- Found MPI_Fortran: /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openmpi-4.1.5-phbdvrf3few3givo575jlifx6dhnfgk7/bin/mpif90 (found version "3.1")
-- Found MPI: TRUE (found version "3.1") found components: Fortran
-- MPI settings used by CTest
MPIEXEC_EXECUTABLE : /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openmpi-4.1.5-phbdvrf3few3givo575jlifx6dhnfgk7/bin/mpiexec
MPIEXEC_NUMPROC_FLAG : -n
MPIEXEC_PREFLAGS :
Tests run as : /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openmpi-4.1.5-phbdvrf3few3givo575jlifx6dhnfgk7/bin/mpiexec -n <NUM_PROCS> <EXECUTABLE>
-- Found Git: /usr/bin/git (found suitable version "2.20.1", minimum required is "2.13")
-- Source files are cloned from a git repository.
sed supports -E
Git branch: develop
Git commit hash: 9ff5b55a523ad07f84bff1ef19d05149d27d5473
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- Found BLAS: /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openblas-0.3.21-q7nhojttkz52xuf4zkxk7vvgllqnxh34/lib/libopenblas.so
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- Found LAPACK: /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openblas-0.3.21-q7nhojttkz52xuf4zkxk7vvgllqnxh34/lib/libopenblas.so;/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openblas-0.3.21-q7nhojttkz52xuf4zkxk7vvgllqnxh34/lib/libopenblas.so
-- Found LAPACK: /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openblas-0.3.21-q7nhojttkz52xuf4zkxk7vvgllqnxh34/lib/libopenblas.so;/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openblas-0.3.21-q7nhojttkz52xuf4zkxk7vvgllqnxh34/lib/libopenblas.so;/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openblas-0.3.21-q7nhojttkz52xuf4zkxk7vvgllqnxh34/lib/libopenblas.so;/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-8.3.0/gcc-10.2.0-agxjp3zexhitnb3g6czo5p4im3hi74ht/lib64/libgomp.so
-- Looking for Fortran zhpev
-- Looking for Fortran zhpev - found
-- Looking for Fortran pdgemm
-- Looking for Fortran pdgemm - found
-- Found SCALAPACK: /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/amdscalapack-3.2-zmrsnzmnifwusgdparcdnpdksnehsbcm/lib/libscalapack.so;/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openblas-0.3.21-q7nhojttkz52xuf4zkxk7vvgllqnxh34/lib/libopenblas.so;/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openblas-0.3.21-q7nhojttkz52xuf4zkxk7vvgllqnxh34/lib/libopenblas.so;/cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/openblas-0.3.21-q7nhojttkz52xuf4zkxk7vvgllqnxh34/lib/libopenblas.so;
-- ELPA version string extracted from ELPA_INCLUDE_DIRS : 2021.11.001
-- Found ELPA: /cvmfs/vae.gsi.de/wjue22nh7br4jthmt3lfugpeivfms/lib (found version "2021.11.001")
-- Add ELPA flag : __ELPA
-- Installing Wannier90 via submodule
-- Installing MBD via submodule
-- Installing DeviceXlib via submodule
-- Found VendorFFTW: /cvmfs/vae.gsi.de/vae23/spack-0.19/opt/linux-debian10-x86_64/gcc-10.2.0/amdfftw-3.0-a5urjhpjd7jrmbg6ygxyvci2d4kv2fbb
-- Enabling tests in test-suite
Only pw and cp results from ctest are reliable, we are working on making the rest tests work reliably with ctest. To run non-pw/cp tests, make a softlink of the bin directory to the root of QE source tree and run tests in the test-suite directory under that root.
-- generating tests in pw category
-- generating tests in cp category
-- generating tests in ph category
-- generating tests in epw category
-- generating tests in tddfpt category
-- generating tests in hp category
-- Configuring done
giving
[ 2%] Linking Fortran executable ../bin/postw90.x
[ 2%] Built target qe_wannier90_postw90_exe
Consolidate compiler generated dependencies of target qe_devxlib
[ 2%] Built target qe_devxlib
[ 3%] Built target mbd
Consolidate compiler generated dependencies of target qe_fftx
[ 3%] Building Fortran object FFTXlib/src/CMakeFiles/qe_fftx.dir/fft_types.f90.o
[ 4%] Building Fortran object FFTXlib/src/CMakeFiles/qe_fftx.dir/fft_ggen.f90.o
[ 4%] Building Fortran object FFTXlib/src/CMakeFiles/qe_fftx.dir/fft_helper_subroutines.f90.o
/lustre/ukt/milias/work/software/quantum-espresso/q-e_develop/FFTXlib/src/fft_helper_subroutines.f90:154:42:
154 | CALL MPI_ALLREDUCE( MPI_IN_PLACE, tmp_rhos, SIZE(tmp_rhos), MPI_DOUBLE_PRECISION, MPI_SUM, desc%comm2, ierr )
| 1
......
220 | CALL MPI_ALLREDUCE( MPI_IN_PLACE, tmp_rhos, 2*SIZE(tmp_rhos), MPI_DOUBLE_PRECISION, MPI_SUM, desc%comm2, ierr )
| 2
Warning: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/COMPLEX(8)).
[ 4%] Building Fortran object FFTXlib/src/CMakeFiles/qe_fftx.dir/fft_smallbox_type.f90.o
[ 4%] Building Fortran object FFTXlib/src/CMakeFiles/qe_fftx.dir/fft_interfaces.f90.o
[ 4%] Building Fortran object FFTXlib/src/CMakeFiles/qe_fftx.dir/fft_scalar.f90.o
/lustre/ukt/milias/work/software/quantum-espresso/q-e_develop/FFTXlib/src/fft_scalar.f90:37:2:
37 | #error No fft_scalar backend selected!
| 1~~~~
Error: #error No fft_scalar backend selected!
/lustre/ukt/milias/work/software/quantum-espresso/q-e_develop/FFTXlib/src/fft_scalar.f90:46:38:
46 | PUBLIC :: cft_1z, cft_2xy, cfft3d, cfft3ds
| 1
Error: Symbol 'cfft3d' at (1) has no IMPLICIT type; did you mean 'nfftx'?
/lustre/ukt/milias/work/software/quantum-espresso/q-e_develop/FFTXlib/src/fft_scalar.f90:46:47:
46 | PUBLIC :: cft_1z, cft_2xy, cfft3d, cfft3ds
| 1
Error: Symbol 'cfft3ds' at (1) has no IMPLICIT type
/lustre/ukt/milias/work/software/quantum-espresso/q-e_develop/FFTXlib/src/fft_scalar.f90:46:21:
46 | PUBLIC :: cft_1z, cft_2xy, cfft3d, cfft3ds
| 1
Error: Symbol 'cft_1z' at (1) has no IMPLICIT type
/lustre/ukt/milias/work/software/quantum-espresso/q-e_develop/FFTXlib/src/fft_scalar.f90:46:30:
46 | PUBLIC :: cft_1z, cft_2xy, cfft3d, cfft3ds
| 1
Error: Symbol 'cft_2xy' at (1) has no IMPLICIT type
make[2]: *** [FFTXlib/src/CMakeFiles/qe_fftx.dir/build.make:140: FFTXlib/src/CMakeFiles/qe_fftx.dir/fft_scalar.f90.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1281: FFTXlib/src/CMakeFiles/qe_fftx.dir/all] Error 2
make: *** [Makefile:146: all] Error 2