Input is easier: stdin is fixed to 5 and is used only to read from stdin;
if a file is opened, either xml or text, a different unit "qestdin" fixed
to 9 is used. The above applies ONLY to codes reading either the xml input
file or the namelists+cards; all other read from unit 5 anyway, open unit 5
if reading from file. Shouldn't have any nonlocal consequences hopefully
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9932 c92efa57-630b-4861-b058-cf58834340f0
as an argument instead of reading it from command line. Input file name is
read instead from command line at startup by mp_startup.
2) Removed #ifdef __MPI before mp_startup (command line must be read in serial
execution as well)
3) Replaced calls to lower-level routines read_namelists, read_cards etc by a
call to read_input_file in NEB
4) Unused routines removed
Note that the above changes affect only pw.x, cp.x, neb.x; in all other cases,
mp_startup is not executed in serial case (will be fixed sooner or later) and
the command line is still read (by a different routine) at a later stage.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9919 c92efa57-630b-4861-b058-cf58834340f0
declared as external; a file is accepted as xml if it ends with .xml
or .XML. What is the usage of "attr" by the way?
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9865 c92efa57-630b-4861-b058-cf58834340f0
Variable input_file was not being initialized so in the case of pw.x being called with no additional arguemtns input being provided via stdin the uninitalized value of input_file was being written to output. The variable is now initalized as a null string and furthermore if stdin is used this is printed in the output.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7970 c92efa57-630b-4861-b058-cf58834340f0