Page 1 of 1

yambo 5.2.1 failed with oneapi/2023.2

Posted: Fri Jul 19, 2024 6:16 am
by fujiephy
Dear Yambo Developers,
I am trying to compile the yambo 5.2.1 with intel oneapi/2023.2 in our HPC cluster. I followed the instructions from the website: https://www.yambo-code.eu/wiki/index.ph ... l_compiler. I first try yambo 5.2.1 and the master version from github. Both failed with the errors ending for petsc/petsc-3.17.4/.


Preprocess output before filtering:
icx: error: unsupported option '--use'
icx: error: no such file or directory: 'cpp32'
:
Preprocess output after filtering:
icx: error: unsupported option '--use'
icx: error: no such file or directory: 'cpp32':
Cannot preprocess C with mpiicx --use cpp32.
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
Cannot find a C preprocessor

Please see the attached log files.
Any suggestions or help will be greatly appreciated!!
Best wishes,
Fujie

Re: yambo 5.2.1 failed with oneapi/2023.2

Posted: Fri Jul 19, 2024 6:17 am
by fujiephy
The last message from the screen is:
\t[src/modules] mod_COLL_interfaces
\t[src/modules] mod_POL_FIT
\t[src/modules] mod_hamiltonian
\t[src/modules] mod_debug
mod_interfaces.F(11): #error: can't find include file: petsc/finclude/petscsys.h
mod_interfaces.F(12): #error: can't find include file: petsc/finclude/petscvec.h
mod_interfaces.F(13): #error: can't find include file: petsc/finclude/petscmat.h
mod_interfaces.F(14): #error: can't find include file: slepc/finclude/slepcsys.h
mod_interfaces.F(15): #error: can't find include file: slepc/finclude/slepceps.h
mod_interfaces.F(154): #error: can't find include file: petsc/finclude/petscsys.h
mod_interfaces.F(155): #error: can't find include file: petsc/finclude/petscmat.h
make[2]: *** [mod_interfaces.o] Error 7
\t[driver] yambo (setup)
yambo linking failed. Check log/compile_yambo.log
make[1]: *** [yambo] Error 1
yambo build failed

Re: yambo 5.2.1 failed with oneapi/2023.2

Posted: Fri Jul 19, 2024 3:03 pm
by Nicola Spallanzani
Dear Fujie,
please try from scratch (that means in another directory) with this configure line:

Code: Select all

./configure CC=icc MPICC=mpiicc MPIFC=mpiifort MPIF77=mpiifort FC=ifort F77=ifort --enable-open-mp --enable-par-linalg --with-scalapack-libs=mkl --with-blacs-libs=mkl --enable-slepc-linalg
If you don't need SLEPc library you can drop the flag --enable-slepc-linalg.

Best regards,
Nicola