<div dir="ltr"><div>Hi QE Users,<br><br>I have been having a lot of trouble with QE 7.2 using IMPI and MKL SCALAPACK from the oneAPI (2021.2). This is a toolchain that I have used many times before for other codes (ABINIT, VASP, etc.) with no issues, so I am confident that the toolchain is working and good.<br><br>An example build process is as follows:<br><br><span style="font-family:monospace">module load compilers/gcc/10.2.0<br>source /opt/intel/oneapi/setvars.sh<br><br>cd qe-7.2 && mkdir -p build && cd build<br><br>cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \<br>      -DCMAKE_C_COMPILER=mpiicc \<br>      -DCMAKE_Fortran_COMPILER=mpiifort \<br>      -DQE_ENABLE_MPI=on \<br>      -DQE_ENABLE_SCALAPACK=on \<br>      -DENABLE_SCALAPACK_MPI=on \<br>      ..<br><br>make -j8 all</span><br><br>This procedure will generate the expected binaries that pass all of the "system--pw" and "system--cp" tests. That said, all production calculations hang at the Davidson diagonalization step. This does NOT occur if I disable SCALAPACK, so it would seem that the problem stems from there. I have confirmed that the generated linker lines are correct, that everything is linked after building, and that all dependencies are present at run-time.<br><br>Switching over to OMPI (4.1.1) + MKL SCALPACK works fine and does not hang at the aforementioned diagonalization.<br><br>Two questions:<br><br>1. Is CMake the preferred method for building? I have had far more success with CMake over the traditional 'make/make.inc'.<br>2. Has anyone else encountered similar issues with the aforementioned oneAPI toolchain? Any help would be greatly appreciated.<br><br>Thanks!</div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:monospace">------------------</span></div><div dir="ltr"><span style="font-family:monospace">Sean Anderson, PhD<br></span></div><div><span style="font-family:monospace">The HPC Team</span></div><div dir="ltr"><span style="font-family:monospace">Information Systems, WFU<br></span><div><span style="font-family:monospace"><a href="mailto:anderss@wfu.edu" target="_blank">anderss@wfu.edu</a><br></span></div><span style="font-family:monospace">c 336.486.9338; w 336.758.6462<br></span></div><div dir="ltr"><span style="font-family:monospace"><a href="https://calendar.app.google/iWacKvukvAUbXLSf9" target="_blank">Book an Appointment</a></span></div></div></div></div></div></div>