[Pw_forum] AIX + XML files

Gianni Profeta Gianni.Profeta at aquila.infn.it
Sun Nov 26 14:26:14 CET 2006


On Sat, 25 Nov 2006, Axel Kohlmeyer wrote:

> CP>       from write_rho_xml : error #         1
> CP>       cannot opentmp/Al.save/charge-density.xml file for writing
> CP> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> please check your input file. it looks as if you used
> 'tmp' instead of '/tmp'. all QE codes will fail if you
> try to write to a non-existing directory...
>
> axel.

Dear Alex,
I already did. I used :    outdir='tmp/'
and indeed all the previous versions (<= 3.0) work for the same  input 
file.

I think that  if 'outdir' does not exist is checked before the writing, 
and the error message in that case is:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      from outdir:  : error #         1
      tmp/ non existent or non writable
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

just after the execution starts.

While in my case, the code arrives at the beginning of the first iteration 
and then stops.
In fact, it can writes into the tmp/ directory :

>ls -ltr tmp/
-rw-r--r--   1 gianni   staff             0 Nov 26 09:07 Al.wfc1
drwxr-xr-x   2 gianni   staff           256 Nov 26 09:07 Al.save
-rw-r--r--   1 gianni   staff             0 Nov 26 09:07 Al.igk

but the files and directory (Al.save) are empty.

Thank you.
Gianni



More information about the users mailing list