[Q-e-developers] new input/output and local scratch space

Lorenzo Paulatto lorenzo.paulatto at impmc.upmc.fr
Fri Jun 2 11:35:48 CEST 2017


Correction: even after the fix, phonon does not work, because it 
pw_readschema_file expects to read the save file on all nodes, I guess 
support for local scratch space is (temporarily?) dropped... I 
personally care about ti, and I'll happily spend some time to put it 
back, somehow, unless it is already on the way



On 02/06/17 11:28, Lorenzo Paulatto wrote:
> Hello,
>
> I'm testing the SVN version and I have some problems with the 
> input/output.
>
> I'm doing a pw.x calculation followed by a ph.x calculation, I'm 
> trying to use the node-local scratch space, but this does not work, 
> because the tmp directory is not created anymore on every node, I 
> remember fixing this in phonon years ago, but apparently some recent 
> change has made the issue creep back, now also in pw.x
>
> If I manually create the directory $prefix.save (and _ph0/$prefix.save 
> for phonon) in every node, there is no problem. I've been looking at 
> the changes, but I cannot find anything that would have been modified, 
> i.e. check_tempdir is still the same and called in the same place.
>
> I could trace it to punch.f90, line 71, there is a call to
>   CALL create_directory( TRIM( tmp_dir ) // TRIM( prefix ) // '.save' )
> which only creates the directory on the first process, replacing it 
> with a call to
>   CALL check_tempdir(TRIM( tmp_dir ) // TRIM( prefix ) // '.save', 
> exst, pfs )
> works for me, however I did not commit because I'm not sure if the 
> code is supposed to write anything with anything but the first process.
>
> Let me know if there are comments, I'll test a bit more and maybe 
> commit later.
>
> cheers
>

-- 
Dr. Lorenzo Paulatto
IdR @ IMPMC -- CNRS & Université Paris 6
phone: +33 (0)1 442 79822 / skype: paulatz
www:   http://www-int.impmc.upmc.fr/~paulatto/
mail:  23-24/423 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05




More information about the developers mailing list