On Tue, 2012-02-14 at 22:36 -0500, Wirawan Purwanto wrote: > 4) Also, the name of the temporary file should probably be other than > "input_tmp.in". > It is better to use randomized filename (e.g. C function tmpnam or mkstemp) > or make > this file in "wfcdir" rather than current directory.
the latter is not possible because tmpdir and wfcdir are not known before the input is read. For the former, see: http://www.democritos.it/pipermail/pw_forum/2012-February/023220.html The copying of an existing file has been meanwhile removed: see http://qe-forge.org/scm/viewvc.php/trunk/espresso/Modules/open_close_input_file.f90?root=q-e&view=log Thank you for your contribution P. -- Paolo Giannozzi, IOM-Democritos and University of Udine, Italy
