[Pw_forum] Problems trying to compile PW using PGI 17.4 compilers

Reinaldo Pis Diez reinaldo.pisdiez at gmail.com
Mon Feb 5 18:46:14 CET 2018


After googling a while I've found the answer. The problem could be 
due to an old version of binutils or to not setting the -tp flag to 
the compiler. After setting -tp=p7 in the different FLAGS variables 
in make.inc now I' ve got the program (pw.x) running.

Regards,

Reinaldo

On 05/02/18 11:44, Reinaldo Pis Diez wrote:
> Dear folks,
>
> Before trying to install a gpu-enabled version of QE-6.1, I'm 
> trying to install a cpu-only version using the Portland Group 
> compilers (version 17.4). I must say that I have successfully 
> installed QE several times before using GNU compilers, but it is 
> my first attempt with the pgi ones.
>
> I've used the following configure under CentOs 6.6:
>
> ./configure MPIF90=/opt/pgi/linux86-64/17.4/mpi/openmpi/bin/mpif90 
> CC=/opt/pgi/linux86-64/17.4/bin/pgcc 
> F77=/opt/pgi//linux86-64/17.4/bin/pgf77 --with-scalapack=yes 
> BLAS_LIBS="-L/opt/pgi/linux86-64/17.4/lib -lblas" 
> LAPACK_LIBS="-L/opt/pgi/linux86-64/17.4/lib -llapack" 
> SCALAPACK_LIBS="-L/opt/pgi/linux86-64/17.4/lib/scalapack/scalapack-2.0.2/openmpi-1.10.2/lib 
> -lscalapack" FFT_LIBS="-L/usr/lib64 -lfftw3"
>
> and after making "make pw" I've got the following error messages
>
> /opt/pgi/linux86-64/17.4/mpi/openmpi/bin/mpif90 -fast -r8 
> -Mcache_align -Mpreprocess -D__PGI -D__FFTW3 -D__MPI 
> -D__SCALAPACK  -I/usr/local/qe-6.1//include -I../include/  -c 
> stick_base.f90
> /tmp/pgfortran_Ghb6_QJSQ9y.s: Assembler messages:
> /tmp/pgfortran_Ghb6_QJSQ9y.s:3110: Error: no such instruction: 
> `vinserti128 $1,%xmm0,%ymm0,%ymm0'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:3122: Error: suffix or operands 
> invalid for `vpmaxsd'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:3124: Error: no such instruction: 
> `vextracti128 $1,%ymm0,%xmm1'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:3187: Error: no such instruction: 
> `vinserti128 $1,%xmm0,%ymm0,%ymm0'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:3195: Error: suffix or operands 
> invalid for `vpmaxsd'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:3201: Error: no such instruction: 
> `vextracti128 $1,%ymm0,%xmm1'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:5410: Error: no such instruction: 
> `vinserti128 $1,%xmm1,%ymm1,%ymm1'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:5417: Error: suffix or operands 
> invalid for `vpaddd'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:5703: Error: no such instruction: 
> `vinserti128 $1,%xmm1,%ymm1,%ymm1'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:5711: Error: suffix or operands 
> invalid for `vpaddd'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:5768: Error: no such instruction: 
> `vinserti128 $1,%xmm1,%ymm1,%ymm1'
> /tmp/pgfortran_Ghb6_QJSQ9y.s:5776: Error: suffix or operands 
> invalid for `vpaddd'
> make[1]: *** [stick_base.o] Error 2
> make[1]: Leaving directory `/usr/local/qe-6.1/FFTXlib'
> make: *** [libfft] Error 1
>
> Any hints to overcome the errors are welcome. I can send any other 
> information if needed.
>
> Regards,
>
> Reinaldo Pis Diez
> Center of Inorganic Chemistry
> Natl Univ of La Plata
> Argentina




More information about the users mailing list