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
yambo 5.2.1 failed with oneapi/2023.2
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani
Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
-
- Posts: 2
- Joined: Fri Jul 19, 2024 4:12 am
yambo 5.2.1 failed with oneapi/2023.2
You do not have the required permissions to view the files attached to this post.
Associate Professor
Pen-Tung Sah Institute of Micro-Nano Science and Technology
Xiamen University, Xiamen, P. R. China
Email: tangfujie@xmu.edu.cn
Pen-Tung Sah Institute of Micro-Nano Science and Technology
Xiamen University, Xiamen, P. R. China
Email: tangfujie@xmu.edu.cn
-
- Posts: 2
- Joined: Fri Jul 19, 2024 4:12 am
Re: yambo 5.2.1 failed with oneapi/2023.2
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
\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
Associate Professor
Pen-Tung Sah Institute of Micro-Nano Science and Technology
Xiamen University, Xiamen, P. R. China
Email: tangfujie@xmu.edu.cn
Pen-Tung Sah Institute of Micro-Nano Science and Technology
Xiamen University, Xiamen, P. R. China
Email: tangfujie@xmu.edu.cn
- Nicola Spallanzani
- Posts: 72
- Joined: Thu Nov 21, 2019 10:15 am
Re: yambo 5.2.1 failed with oneapi/2023.2
Dear Fujie,
please try from scratch (that means in another directory) with this configure line:
If you don't need SLEPc library you can drop the flag --enable-slepc-linalg.
Best regards,
Nicola
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
Best regards,
Nicola
Nicola Spallanzani, PhD
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu