Page 1 of 1

dynconstr.f90

Posted: Fri Sep 09, 2011 10:10 am
by scjung
I encountered an error during installation of vasp.5.2.12.

The error is related to dynconstr.f90 as below.

I really have no idea how to solve this problem.

Please suggest any tips.

/opt/mpi/intel/openmpi-1.2.9/bin/mpif90 -FR -lowercase -assume byterecl -I /opt/fftw/3.1.2/include -O3 -mtune=pentium4 -c dynconstr.f90
dynconstr.f90(183): error #6404: This name does not have a type, and must have an explicit type. [DIR_APP]
OPEN(UNIT=g_io%STRUCTINPUT,FILE=DIR_APP(1:DIR_LEN)//'HILLSPOT',STATUS='REPLACE')
------------------------------------------------^
dynconstr.f90(183): error #6514: A substring must be of type CHARACTER. [DIR_APP]
OPEN(UNIT=g_io%STRUCTINPUT,FILE=DIR_APP(1:DIR_LEN)//'HILLSPOT',STATUS='REPLACE')
------------------------------------------------^
dynconstr.f90(183): error #6404: This name does not have a type, and must have an explicit type. [DIR_LEN]
OPEN(UNIT=g_io%STRUCTINPUT,FILE=DIR_APP(1:DIR_LEN)//'HILLSPOT',STATUS='REPLACE')
----------------------------------------------------------^
dynconstr.f90(2183): error #6514: A substring must be of type CHARACTER. [DIR_APP]
OPEN(UNIT=g_io%STRUCTINPUT,FILE=DIR_APP(1:DIR_LEN)//'HILLSPOT',STATUS='UNKNOWN',POSITION='APPEND')
------------------------------------------^
compilation aborted for dynconstr.f90 (code 1)
make: *** [dynconstr.o] Error 1

dynconstr.f90

Posted: Mon Sep 26, 2011 5:46 pm
by admin
The problem is already described here:
http://theory.cm.utexas.edu/forum/viewt ... ?f=2&t=964
Error-reports should disappear when using corrected subroutines. I am sending these to you via e-mail.
Please confirm if the problem is solved.




[ Edited Mon Sep 26 2011, 05:53PM ]