<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Paolo,<br>
<blockquote cite="mid:mailman.837.1251316597.24402.pw_forum@pwscf.org"
type="cite">
<blockquote type="cite">[...] pw.x now automatically writes the
output into the default file
<br>
("some_file_name" in the example below) , gipaw.x does not, and keeps
<br>
writing the files into the output of the submission system (...)
<br>
Is there something else I can try?
<br>
</blockquote>
<br>
you recompiled GIPAW, didn't you? and verified that gipaw.x is older
<br>
than PW/startup.o, didn't you?
<br>
</blockquote>
In fact I did not, and now it works fine, indeed. I should have
thought about this... sorry!<br>
<br>
<br>
<blockquote cite="mid:mailman.837.1251316597.24402.pw_forum@pwscf.org"
type="cite">
<blockquote type="cite">Another problem I have with GIPAW is that is
does not seem to use the environment variable "ESPRESSO_TMPDIR" </blockquote>
<br>
that's true. Unfortunately GIPAW also uses a different input variable
<br>
name ("tmp_dir" instead of "outdir"). The fix is however trivial:
<br>
in GIPAW/gipaw_module.f90, replace line
<br>
tmp_dir = './scratch/'
<br>
with
<br>
CALL get_env( 'ESPRESSO_TMPDIR', tmp_dir )
<br>
IF ( TRIM( tmp_dir ) == ' ' ) tmp_dir = './scratch/'
<br>
</blockquote>
This works very well now, and I would even recommend that this should
be implemented in the next distributed package should it not introduce
problems, since I find it really useful for dealing with the temporary
files.<br>
Thank you so much for such useful advice!<br>
<br>
Sylvian.<br>
<br>
<div class="moz-signature">-- <br>
<hr><b>Dr. Sylvian CADARS</b><br>
CEMHTI-CNRS<br>
1D, Av. de la Recherche Scientifique<br>
45071 Orléans Cedex 2, France<br>
email: <a class="moz-txt-link-abbreviated" href="mailto:sylvian.cadars@cnrs-orleans.fr">sylvian.cadars@cnrs-orleans.fr</a><br>
<br>
</div>
</body>
</html>