Skip to content

Commit

Permalink
Merge pull request #21 from ORNL-Fusion/sparse
Browse files Browse the repository at this point in the history
Fix finalize errors.
  • Loading branch information
cianciosa authored Feb 9, 2024
2 parents 469af96 + 50cf71f commit 72ca15c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/restart_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ SUBROUTINE interpit(aold, anew, &
! Only some of the toroidal modes will match if nfp_new and nfp_old are
! different.
DO i_n = -ntor_old, ntor_old
n = tor_modes_old(i_n/nfp_old)
n = tor_modes_old(i_n)/nfp_old
IF (.not.fourier_context%get_index(n)) THEN
CYCLE
END IF
Expand Down
2 changes: 1 addition & 1 deletion Sources/siesta_run.f90
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ SUBROUTINE siesta_run_destruct(this)
CALL blacs_barrier(icontxt, 'All')
CALL blacs_gridexit(icontxt)

CALL blacs_exit(0)
CALL blacs_exit(.not.BTEST(this%control_state, siesta_run_control_mpi))
IF ((myrow.EQ.0) .AND. (mycol.EQ.0)) THEN
CALL profstat
END IF
Expand Down

0 comments on commit 72ca15c

Please sign in to comment.