error during compilation

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
haa
Newbie
Newbie
Posts: 2
Joined: Tue Feb 10, 2015 12:31 pm
License Nr.: 805

error during compilation

#1 Post by haa » Fri Feb 12, 2016 8:39 pm

Dear all,

Please help with this error I get when I compile VASP 5.4.1. with the example makefile.include file for gfrotran from the VASP site

/opt/intel/impi/5.0.1.035/intel64/bin/mpif90 -ffree-form -ffree-line-length-none -O0 -I/data1/gf01/fftw-3.3.4/include -c varpro.f90
varpro.f90:316.8:

REAL (dp), INTENT(IN) :: t(:,:) ! t(nmax,iv)
1
Error: Kind 16 not supported for type REAL at (1)
varpro.f90:317.8:

REAL (dp), INTENT(IN) :: y(:)
1
Error: Kind 16 not supported for type REAL at (1)
varpro.f90:318.8:

REAL (dp), INTENT(IN OUT) :: w(:)
1
Error: Kind 16 not supported for type REAL at (1)
varpro.f90:319.8:
.
.
.
.
Error: Syntax error in argument list at (1)
varpro.f90:498.27:

IF (prjres > eps1*(r+1.0_dp)) GO TO 10
1
Error: Invalid real kind 16 at (1)
varpro.f90:508.22:

beta, a(:,lp1), r, itype, inu, nwrite)
1
Error: Syntax error in argument list at (1)
Fatal Error: Error count reached limit of 25.
make[2]: *** [varpro.o] Error 1
make[2]: Leaving directory `/home/vmarkova/src/vasp/gf_vasp.5.4.1/build/std'
cp: cannot stat `vasp': No such file or directory
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/vmarkova/src/vasp/gf_vasp.5.4.1/build/std'
make: *** [std] Error 2

Please, if anyone has any idea what may be the problem I will be very grateful!

Velina

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

Re: error during compilation

#2 Post by admin » Fri Apr 22, 2016 11:53 am

quadruple precision is supported by the Intel and the gfortran compilers,
please use the compilation parameters as given in the standard makefiles
for both compilers that we provide

iciquser
Newbie
Newbie
Posts: 12
Joined: Tue Oct 20, 2009 8:04 am
License Nr.: 458
Location: Tarragona (SPAIN)
Contact:

Re: error during compilation

#3 Post by iciquser » Fri Mar 03, 2017 3:18 pm

Hi,
I am having the same problem installing 5.4.1 Feb16 already patched.

OS: SLES 11SP4
COMPILER: gnu 4.3.4
MPI: OpenMPI 2.0.2

I have copied 'arch/makefile.include.linux_gfortran' --> './makefile.include'. I am in my vasp 5.4.1 directory previously uncompressed and patched.

After do:
$ make std
...
gcc -E -P -C varpro.F >varpro.f90 -DMPI -DHOST=\"gfortran\" -DIFC -DCACHE_SIZE=4000 -Davoidalloc -DMPI_BLOCK=8000 -DscaLAPACK -Duse_collective -Duse_bse_te -Duse_shmem -Dtbdyn -DNGZhalf
mpif90 -ffree-form -ffree-line-length-none -O2 -I/usr/include -c varpro.f90
varpro.f90:316.8:

REAL (dp), INTENT(IN) :: t(:,:) ! t(nmax,iv)
1
Error: Kind 16 not supported for type REAL at (1)
varpro.f90:317.8:

REAL (dp), INTENT(IN) :: y(:)
1
Error: Kind 16 not supported for type REAL at (1)
varpro.f90:318.8:

...

I haven't no idea about how to solve.

Regards.

Post Reply