On 12/18/20 9:30 PM, Joaquim Jornet Somoza wrote:
> Dear all, 
> 
> I am trying to compile the latest stable version of QuantumESPRESSO
> using the intel/2020a 
> toolchain, modifying the eb file found in the git repository:
> 
> https://github.com/easybuilders/easybuild-easyconfigs/blob/develop/easybuild/easyconfigs/q/QuantumESPRESSO/QuantumESPRESSO-6.6-intel-2019b.eb
> 
> The log file (attached) found the first error when compiling "la_types.f90".
> 
> mpiifort -O2 -xHost -ftz -fp-speculation=safe -fp-model source -fopenmp
> -mt_mpi -fpp -D__INTEL  -D__OPENMP -D__MPI -D__PARA  -D__SCALAPACK 
> -D__LIBXC  -D__HDF5 -D__ELPA_2020 -D__FFTW3 -w  
> -I/dev/shm/easybuild/QuantumESPRESSO/6.6/intel-2020a/qe-6.6//include
> -I/dev/shm/easybuild/QuantumESPRESSO/6.6/intel-2020a/qe-6.6//FoX/finclude 
> -I/dev/shm/easybuild/QuantumESPRESSO/6.6/intel-2020a/qe-6.6//S3DE/iotk/include/
> -I/software/easybuild/x86_64/software/imkl/2020.1.217-iimpi-2020a/mkl/include
> -I/software/easybuild/x86_64/software/ELPA/2020.05.001-intel-2020a/include/elpa_openmp-2020.05.001
> -I/software/easybuild/x86_64/software/HDF5/1.10.6-iimpi-2020a/include
> -I/software/easybuild/x86_64/software/libxc/4.3.4-intel-2020a/include
> -I/software/easybuild/x86_64/software/ELPA/2020.05.001-intel-2020a/include/elpa_openmp-2020.05.001/modules
> -I../UtilXlib -I../ELPA/src  -I../EIGENSOLVER_GPU/lib_eigsolve -I.  -fpp
> -assume byterecl -fopenmp -c la_types.f90
> 
> /usr/include/stdc-predef.h(1): error #5082: Syntax error, found '/' when
> expecting one of: <LABEL> <END-OF-STATEMENT> ; <IDENTIFIER> TYPE MODULE
> ELEMENTAL IMPURE NON_RECURSIVE ...

That's a C include file, and that should never get included when using
Fortran... so something is clearly wrong. You'd need to figure our why
it gets included at all.

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [email protected]   Phone: +46 90 7866134 Fax: +46 90-580 14
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se

Reply via email to