Skip to content

mod_sys

Lines: 43 | Visibility: private

Routines providing system information e.g. hostname.

Dependencies

Uses

module~~mod_sys~~UsesGraph module~mod_sys mod_sys iso_c_binding iso_c_binding module~mod_sys->iso_c_binding module~mod_throw mod_throw module~mod_sys->module~mod_throw module~mod_throw->iso_c_binding iso_fortran_env iso_fortran_env module~mod_throw->iso_fortran_env module~mod_io mod_io module~mod_throw->module~mod_io module~mod_mpi mod_mpi module~mod_throw->module~mod_mpi module~mod_precision mod_precision module~mod_throw->module~mod_precision module~mod_sort mod_sort module~mod_throw->module~mod_sort module~mod_io->iso_fortran_env module~mod_io->module~mod_precision module~mod_optional_args mod_optional_args module~mod_io->module~mod_optional_args module~mod_mpi->module~mod_precision mpi_f08 mpi_f08 module~mod_mpi->mpi_f08 module~mod_precision->iso_c_binding module~mod_precision->iso_fortran_env module~mod_sort->module~mod_precision

Module Variables

  • HOST_NAME_MAX : integer

Procedures Summary

Name Type Description
c2fstring Function Converts a c_string to an fortran char of the same len. Needed for interacting with C programs.
hostname Function Return the host name of the current machine.

Interface Details

interface gethostname


interface sleep


Procedure Details

function c2fstring

function c2fstring( &
    c_string &
)

Converts a c_string to an fortran char of the same len. Needed for interacting with C programs.

Arguments

  • c_string : character(c_char) (dim: (:)) [in]– The string in C format.

Called By

proc~~c2fstring~~CalledByGraph proc~c2fstring mod_sys::c2fstring proc~hostname mod_sys::hostname proc~hostname->proc~c2fstring

function hostname

function hostname()

Return the host name of the current machine.