mirror of https://gitlab.com/QEF/q-e.git
Stop properly QE-GPU for both serial and parallel calculations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10290 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
990aa1ff86
commit
1eee76d920
|
@ -190,6 +190,10 @@
|
|||
ierr = 0
|
||||
taskid = 0
|
||||
|
||||
#if defined(__CUDA) || defined(__PHIGEMM )
|
||||
CALL CloseCudaEnv()
|
||||
#endif
|
||||
|
||||
#if defined(__MPI)
|
||||
CALL mpi_comm_rank( mpi_comm_world, taskid, ierr)
|
||||
#if defined __HPM
|
||||
|
@ -197,10 +201,6 @@
|
|||
CALL f_hpmterminate( taskid )
|
||||
#endif
|
||||
|
||||
#if defined(__CUDA) || defined(__PHIGEMM )
|
||||
CALL CloseCudaEnv()
|
||||
#endif
|
||||
|
||||
CALL mpi_finalize(ierr)
|
||||
IF (ierr/=0) CALL mp_stop( 8004 )
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue