[Pw_forum] plotband.x could not get filename
Paolo Giannozzi
giannozz at democritos.it
Thu Apr 16 11:16:33 CEST 2009
Yan wrote:
> call get_file ( filename )
> - open(unit=1,file='filename',form='formatted')
there is no such line. The correct line is
open(unit=1,file=filename,form='formatted')
> + open(unit=1,file='myFileName',form='formatted')
this will open a file called myFileName.
> after recompilation, now /plotband.x works with this file.
> I think there is something wrong with the subroutine 'get_file'
> (from flib/inpfile.f90), but I don't know exactly where.
there is nothing wrong with subroutine get_file. It's your system
call "iargc" that doesn't work (it returns -1 instead of the
number of arguments)
Paolo
--
Paolo Giannozzi, Democritos and University of Udine, Italy
More information about the users
mailing list