Page 1 of 1

Compile error in dmft.F under non-MPI with VASP2WANNIER90

PostPosted: Mon Aug 29, 2016 10:49 am
by pumpkin
Dear Sir,

I have compiled vasp 5.4.1 (Feb 2016 version with two patches) using Intel fortran compiler 11.1 (IA-64, Itanium-2) and mkl.
This fortran compiler is not MPI version and I could successfully generate vasp 5.4.1 binaries without -DVASP2WANNIER90.

When I added "-DVASP2WANNIER90" to makefile.include and compiled, I get the following compile error at "dmft.F" .
I think that this file is used only for generating wannier90.* files and is successfully compiled under mpi environment.
Please let me know the method to avoid this error.

[Error message]
fpp -f_com=no -free -w0 dmft.F dmft.f90 -DHOST=\"IFC91_ompi\" -DIFC -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -Duse_bse_te -DVASP2WANNIER90 -DNGXhalf
ifort -free -names lowercase -assume byterecl -O2 -c dmft.f90
dmft.F(1662): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: BLOCK BLOCKDATA PROGRAM MODULE TYPE COMPLEX BYTE CHARACTER CLASS DOUBLE ...
dmft.F(1662): error #6343: The statement following the Logical IF statement is invalid.
compilation aborted for dmft.f90 (code 1)
make[2]: *** [makefile:170: dmft.o] Error 1

[Error part in dmft.f90]

IF (L2E4W_ALL) <- no procedure after IF statement.