yes allways!!! even with -in -inp .... open_input_file first dump to <a href="http://input_tmp.in">input_tmp.in</a>.<br><br>bests<br><br>Layla<br><br><div class="gmail_quote">2012/2/6 Silvia Bahmann <span dir="ltr"><<a href="mailto:Silvia.Bahmann@physik.tu-freiberg.de">Silvia.Bahmann@physik.tu-freiberg.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
When using the following line in the jobfile "<a href="http://input_tmp.in" target="_blank">input_tmp.in</a>" also is generated<br>
and possibly read?!<br>
mpirun -np 8 pw.x -in <a href="http://test.in" target="_blank">test.in</a> > test.out<br>
<span class="HOEnZb"><font color="#888888"><br>
Silvia<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Monday 06 February 2012 13:47:46 Paolo Giannozzi wrote:<br>
> On Feb 6, 2012, at 13:26 , Layla Martin-Samos wrote:<br>
> > Dear Silvia, we moved to this intermediate <a href="http://input_tmp.in" target="_blank">input_tmp.in</a> for<br>
> > preparing pw<br>
> > to the automatic detection of xml input format. There is no simple way<br>
> > to overcome this step.<br>
><br>
> there are a few possibilities to prevent overwriting by other processes:<br>
> - add a unique identifier, e.g. the process ID, to the file name;<br>
> - add a random number to the file name;<br>
> - rename the file to input_tmp_N.in, with N= smallest number such that<br>
> no input_tmp_N.in is detected;<br>
> but none is trivial to implement in a portable and safe way.<br>
><br>
> I don't think however that the input file is copied to <a href="http://input_tmp.in" target="_blank">input_tmp.in</a>,<br>
> when<br>
> it is read using the -in option (as opposed to " < file"). So everything<br>
> should work if the -in (or -inp, or -input) option is used.<br>
><br>
> Paolo<br>
> ---<br>
> Paolo Giannozzi, Dept of Chemistry&Physics&Environment,<br>
> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
> Phone <a href="tel:%2B39-0432-558216" value="+390432558216">+39-0432-558216</a>, fax <a href="tel:%2B39-0432-558222" value="+390432558222">+39-0432-558222</a><br>
<br>
</div></div></blockquote></div><br>