dynconstr.f90

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
scjung
Newbie
Newbie
Posts: 1
Joined: Wed Nov 30, 2005 7:40 am
Contact:

dynconstr.f90

#1 Post by scjung » Fri Sep 09, 2011 10:10 am

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
Last edited by scjung on Fri Sep 09, 2011 10:10 am, edited 1 time in total.

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

dynconstr.f90

#2 Post by admin » Mon Sep 26, 2011 5:46 pm

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 ]
Last edited by admin on Mon Sep 26, 2011 5:46 pm, edited 1 time in total.

Post Reply