dbcsr_machine Module



Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: default_output_unit = output_unit
integer, public, parameter :: default_input_unit = input_unit
logical, public, SAVE :: flush_should_flush = .FALSE.

Functions

public function m_walltime() result(wt)

returns time from a real-time clock, protected against rolling early/easily

Read more…

Arguments

None

Return Value real(kind=dp)

public function m_energy() result(wt)

returns the energy used since some time in the past. The precise meaning depends on the infrastructure is available. In the cray_pm_energy case, this is the energy used by the node in kJ.

Arguments

None

Return Value real(kind=dp)


Subroutines

public subroutine m_flush(lunit)

flushes units if the &GLOBAL flag is set accordingly

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: lunit

public subroutine m_cpuinfo(model_name)

reads /proc/cpuinfo if it exists (i.e. Linux) to return relevant info

Arguments

Type IntentOptional Attributes Name
character(len=default_string_length) :: model_name

as obtained from the 'model name' field, UNKNOWN otherwise

public subroutine m_datum(cal_date)

returns a datum in human readable format using a standard Fortran routine

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(out) :: cal_date