Skip to content

Commit

Permalink
Print the final string after a successful execution
Browse files Browse the repository at this point in the history
  • Loading branch information
npaulish committed Sep 26, 2024
1 parent f20ee86 commit c1b96db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wannier_prog.F90
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ program wannier
#ifdef MPI
call mpi_finalize(ierr)
#endif
! if (rank == 0) write (stderr, *) TRIM(seedname)//'.nnkp', ' file written.'
if (rank == 0) write (stderr, *) 'All done: wannier90 exiting.'
stop
endif

Expand Down Expand Up @@ -474,6 +476,7 @@ subroutine write_kmesh(common_data, istdout, istderr, ierr)
call prterr(error, ierr, istdout, istderr, common_data%comm)
return
endif
write (stderr, *) TRIM(seedname)//'.nnkp', ' file written.'
endif
call comms_sync_err(common_data%comm, error, 0) ! this is necessary since non-root may never enter an mpi collective if root has exited here
end subroutine write_kmesh
Expand Down

0 comments on commit c1b96db

Please sign in to comment.