w90_io Module

Module to handle operations related to file input and output.


Uses

  • module~~w90_io~~UsesGraph module~w90_io w90_io module~w90_constants w90_constants module~w90_io->module~w90_constants

Used by


Variables

Type Visibility Attributes Name Initial
character(len=10), public, parameter :: w90_version = '4.0.3 '

Label for this version of wannier90


Functions

public function io_time()

Returns elapsed CPU time in seconds since its first call. Uses standard f90 call

Arguments

None

Return Value real(kind=dp)

public function io_wallclocktime()

Arguments

None

Return Value real(kind=dp)


Subroutines

public subroutine io_stopwatch_start(tag, timers)

Stopwatch to time parts of the code

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: tag

Which stopwatch to act upon

Read more…
type(timer_list_type), intent(inout) :: timers

public subroutine io_stopwatch_stop(tag, timers)

Stopwatch to time parts of the code

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: tag
type(timer_list_type), intent(inout) :: timers

Which stopwatch to act upon

Read more…

public subroutine io_print_timings(timers, stdout)

Output timing information to stdout

Arguments

Type IntentOptional Attributes Name
type(timer_list_type), intent(in) :: timers
integer, intent(in) :: stdout

public subroutine io_commandline(prog, dryrun, post_proc_flag, seedname)

Parse the commandline

Arguments

Type IntentOptional Attributes Name
character(len=:), intent(in), allocatable :: prog

Name of the calling program

logical, intent(out) :: dryrun

Have we been asked for a dryrun

logical, intent(out) :: post_proc_flag

Have we been asked for a dryrun

character(len=:), intent(inout), allocatable :: seedname

public subroutine io_date(cdate, ctime)

Returns two strings containing the date and the time in human-readable format. Uses a standard f90 call.

Arguments

Type IntentOptional Attributes Name
character(len=9), intent(out) :: cdate

The date

character(len=9), intent(out) :: ctime

The time

public subroutine prterr(error, ie, istdout, istderr, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(inout), allocatable :: error
integer, intent(inout) :: ie
integer, intent(in) :: istdout
integer, intent(in) :: istderr
type(w90_comm_type), intent(in) :: comm

public subroutine print_error_halt(error, ie, istdout, istderr, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(inout), allocatable :: error
integer, intent(inout) :: ie
integer, intent(in) :: istdout
integer, intent(in) :: istderr
type(w90_comm_type), intent(in) :: comm