mirror of https://gitlab.com/QEF/q-e.git
Bug fix: fildrho is opened by ionode but was closed by all processors with
me_pool=0. git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6184 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
dc55c9662b
commit
9e158230bb
|
@ -16,6 +16,7 @@ SUBROUTINE close_phq( flag )
|
|||
USE io_files, ONLY : iunigk
|
||||
USE control_flags, ONLY : twfcollect
|
||||
USE mp_global, ONLY : me_pool
|
||||
USE io_global, ONLY : ionode, stdout
|
||||
USE uspp, ONLY : okvan
|
||||
USE units_ph, ONLY : iuwfc, iudwf, iubar, iudrhous, iuebar, iudrho, &
|
||||
iudvscf, iucom, iudvkb3
|
||||
|
@ -64,7 +65,7 @@ SUBROUTINE close_phq( flag )
|
|||
ENDIF
|
||||
ENDIF
|
||||
!
|
||||
IF ( me_pool == 0 .AND. &
|
||||
IF ( ionode .AND. &
|
||||
fildrho /= ' ') CLOSE( UNIT = iudrho, STATUS = 'KEEP' )
|
||||
!
|
||||
IF ( flag ) CALL clean_recover()
|
||||
|
|
Loading…
Reference in New Issue