Page 1 of 1

fftmpiw.F

Posted: Sun Nov 18, 2012 10:38 am
by captaincook
Dear All,

I'm trying to install the parallel version of VASP 5.2.12. After executing the make command I've some error message as appended below:

fpp -f_com=no -free -w0 fftmpiw.F fftmpiw.f90 -DHOST=\"gfortran\" -DCACHE_SIZE=4096 -DMINLOOP=1 -DNGZhalf -DMPI_BLOCK=8000 -DRPRPMU_DGEM -DRACCMU_DGEMV
mpif90 -O3 -c fftmpiw.f90
In file fftmpiw.F:440

IF (GRID%COMM%NODE_ME==1) THEN
1
Error: 'node_me' at (1) is not a member of the 'communic' structure
In file fftmpiw.F:444

IF (GRID%COMM%NODE_ME==1) THEN
1
Error: 'node_me' at (1) is not a member of the 'communic' structure
In file fftmpiw.F:451

ELSE IF (GRID%LREAL) THEN
1
Error: Unexpected ELSE IF statement at (1)
In file fftmpiw.F:479

IF (GRID%COMM%NODE_ME==1) THEN
1
Error: 'node_me' at (1) is not a member of the 'communic' structure
In file fftmpiw.F:482

ELSE
1
Error: Unexpected ELSE statement at (1)
In file fftmpiw.F:483

IF (GRID%COMM%NODE_ME==1) THEN
1
Error: 'node_me' at (1) is not a member of the 'communic' structure
In file fftmpiw.F:485

ENDIF
1
Error: Expecting END SUBROUTINE statement at (1)
In file fftmpiw.F:501

ENDIF
1
Error: Expecting END SUBROUTINE statement at (1)
In file fftmpiw.F:502

ELSE
1
Error: Unexpected ELSE statement at (1)
In file fftmpiw.F:507

ENDIF
1
Error: Expecting END SUBROUTINE statement at (1)
In file fftmpiw.F:511

ELSE IF (.NOT. GRID%REAL2CPLX) THEN
1
Error: Unexpected ELSE IF statement at (1)
In file fftmpiw.F:522

ELSE IF (GRID%LREAL) THEN
1
Error: Unexpected ELSE IF statement at (1)
In file fftmpiw.F:571

ELSE
1
Error: Unexpected ELSE statement at (1)
In file fftmpiw.F:611

ENDIF
1
Error: Expecting END SUBROUTINE statement at (1)
make: *** [fftmpiw.o] Error 1


I'm wondering the cause of this error. Please help me with your comments and suggestions. Thank you very much in advance.

best,
cc

fftmpiw.F

Posted: Tue Nov 20, 2012 10:12 pm
by Dr_Nick
You have to add -DMPI to your makefile. It is missing in the makefile.linux_gfortran, probably because it was forgotten or not tested.

Change the FFLAGS to the following:
-ffree-form -ffree-line-length-none

and choose some proper BLAS / LAPACK library. I had a look at your other thread and I doubt you will be using the old gotoblas library which is linked in makefile.linux_gfortran.