abort_run Subroutine

subroutine abort_run()

Arguments

None

Called by

proc~~abort_run~~CalledByGraph proc~abort_run abort_run program~wannier wannier program~wannier->proc~abort_run

Source Code

  subroutine abort_run()
    ! for an error that may be confined to this rank: the other ranks cannot be
    ! relied upon to reach mpi_finalize, so the whole job is aborted
    integer :: ierr
#ifdef W90_MPI
    call mpi_abort(mpi_comm_world, 1, ierr)
#endif
    stop 1
  end subroutine abort_run