PDAF_print_version.F90 Source File


Source Code

! Copyright (c) 2004-2024 Lars Nerger
!
! This file is part of PDAF.
!
! PDAF is free software: you can redistribute it and/or modify
! it under the terms of the GNU Lesser General Public License
! as published by the Free Software Foundation, either version
! 3 of the License, or (at your option) any later version.
!
! PDAF is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
! GNU Lesser General Public License for more details.
!
! You should have received a copy of the GNU Lesser General Public
! License along with PDAF.  If not, see <http://www.gnu.org/licenses/>.
!
!$Id$
!BOP
!
! !ROUTINE: PDAF_print_version --- Display version information for PDAF
!
! !INTERFACE:
SUBROUTINE PDAF_print_version()

! !DESCRIPTION:
! This routine displays the information from PDAF.
! Possible are to display the timing information and
! allocated memory.
!
! !  This is a core routine of PDAF and
!    should not be changed by the user   !
!
! !REVISION HISTORY:
! 2011-08 - Lars Nerger - Initial code
! Later revisions - see svn log
!
! !USES:
  USE mpi
  USE PDAF_mod_filtermpi, &
       ONLY: COMM_pdaf, mype_world, MPIerr

  IMPLICIT NONE


  ! Determine parallel rank of process
  CALL MPI_Comm_rank(COMM_pdaf, mype_world, MPIerr)


! *********************************
! *** Print version information ***
! *********************************

  IF (mype_world==0) THEN
     WRITE(*, '(/a)') 'PDAF    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
     WRITE(*, '(a)')  'PDAF    +++                        PDAF                        +++'
     WRITE(*, '(a)')  'PDAF    +++        Parallel Data Assimilation Framework        +++'
     WRITE(*, '(a)')  'PDAF    +++                                                    +++'
     WRITE(*, '(a)')  'PDAF    +++                  Version 2.2.1                     +++'
     WRITE(*, '(a)')  'PDAF    +++                                                    +++'
     WRITE(*, '(a)')  'PDAF    +++                   Please cite                      +++'
     WRITE(*, '(a)')  'PDAF    +++ L. Nerger and W. Hiller, Computers and Geosciences +++'
     WRITE(*, '(a)')  'PDAF    +++ 2013, 55, 110-118, doi:10.1016/j.cageo.2012.03.026 +++'
     WRITE(*, '(a)')  'PDAF    +++   when publishing work resulting from using PDAF   +++'
     WRITE(*, '(a)')  'PDAF    +++                                                    +++'
     WRITE(*, '(a)')  'PDAF    +++          PDAF itself can also be cited as          +++'
     WRITE(*, '(a)')  'PDAF    +++  L. Nerger. Parallel Data Assimilation Framework   +++'
     WRITE(*, '(a)')  'PDAF    +++  (PDAF). Zenodo. 2024. doi:10.5281/zenodo.7861812  +++'
     WRITE(*, '(a/)') 'PDAF    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'

  END IF

END SUBROUTINE PDAF_print_version