Some cleaning in pwcond (A. Smogunov)

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8151 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
smogunov 2011-09-13 11:28:19 +00:00
parent 736249b7c3
commit c1806a87c8
2 changed files with 9 additions and 10 deletions

View File

@ -7,7 +7,6 @@ MODFLAGS= $(MOD_FLAG)../../iotk/src $(MOD_FLAG)../../Modules \
$(MOD_FLAG)../../PW $(MOD_FLAG).
PPOBJS = \
../../PP/stop_pp.o \
../../PP/xsf.o
PWCONDOBJS = \

View File

@ -15,17 +15,17 @@
program pwcond
logical :: alldone
USE mp_global, ONLY: mp_global_end
call do_cond (alldone)
logical :: alldone
call stop_pp
call do_cond (alldone)
! actually does not work, since stop_pp already stops program (fix?)
if ( alldone ) then
stop
else
stop 1
endif
#ifdef __PARA
CALL mp_global_end()
#endif
STOP
end program pwcond