diff --git a/PW/input.f90 b/PW/input.f90 index af83dd4ae..2227d3072 100644 --- a/PW/input.f90 +++ b/PW/input.f90 @@ -1822,13 +1822,13 @@ SUBROUTINE verify_tmpdir( tmp_dir ) file_path = TRIM( tmp_dir ) // TRIM( prefix ) ! IF ( restart_mode == 'from_scratch' ) THEN + ! + ! ... xml data file in save directory is removed + ! but, header is read anyway to store qexml version + ! + CALL pw_readfile( 'header', ios ) ! IF ( ionode ) THEN - ! - ! ... xml data file in save directory is removed - ! but, header is read anyway to store qexml version - ! - CALL pw_readfile( 'header', ios ) ! IF ( .NOT. lbands ) & CALL delete_if_present( TRIM( file_path ) // '.save/data-file.xml' )