Skip to content

Commit

Permalink
Add STOP to wannier_prog prterr
Browse files Browse the repository at this point in the history
  • Loading branch information
sstgfbc committed Mar 3, 2022
1 parent 90c7bbc commit f69b0cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/postw90/postw90.F90
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ program postw90

complex(kind=dp), allocatable :: v_matrix(:, :, :)

integer :: my_node_id, num_nodes
integer :: my_node_id, num_nodes, ierr

logical :: effective_model = .false.
logical :: gamma_only
Expand Down
1 change: 1 addition & 0 deletions src/wannier_prog.F90
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ subroutine prterr(error, stdout, stderr, comm)
call mpi_finalize(je) ! je overwritten here
#endif
!call exit(ie) ! return true fail code (gnu extension)
stop
end subroutine prterr

end program wannier
Expand Down

0 comments on commit f69b0cc

Please sign in to comment.