2
! Copyright (C) 1996-2016 The SIESTA group
3
! This file is distributed under the terms of the
4
! GNU General Public License: see COPYING in the top directory
5
! or http://www.gnu.org/copyleft/gpl.txt .
6
! See Docs/Contributors.txt for a list of contributors.
11
! Termination and messaging routines, MPI aware
15
public :: die ! Prints an error message and calls MPI_Abort
20
!--------------------------------------------------
23
character(len=*), intent(in), optional :: str
25
if (present(str)) then
26
write(6,'(a)') trim(str)
27
write(0,'(a)') trim(str)
38
character(len=*), intent(in) :: str
40
write(6,'(a)') trim(str)
41
write(0,'(a)') trim(str)