version 0.6.0
Loading...
Searching...
No Matches

System related routines. More...

Topics

 CPU time tools
 Tools to measure CPU time in different parts of Notus This directory contains:
 
 Memory manager
 Routines to initialize and unallocate arrays and types.
 

Functions

subroutine mod_sleep::notus_sleep (millisecond)
 Pause execution for a specified amount of time (in millisecond).
 
subroutine mod_stop_notus::stop_notus (message)
 Stop Notus execution printing a message.
 
subroutine mod_stop_notus::stop_notus_alone (message)
 Stop Notus execution printing a message.
 

Detailed Description

Function Documentation

◆ notus_sleep()

subroutine mod_sleep::notus_sleep ( integer, intent(in) millisecond)
Parameters
[in]millisecondTime in millisecond

◆ stop_notus()

subroutine mod_stop_notus::stop_notus ( character(len=*), intent(in) message)

Use stop_notus if all mpi proc call stop_notus. Otherwise call stop_notus_alone. This routine calls mpi_finalize which may block until every mpi proc call it. This is this the behavior of OpenMPI.

Parameters
[in]messageError message. Call notus_log with notus_log_error param.

◆ stop_notus_alone()

subroutine mod_stop_notus::stop_notus_alone ( character(len=*), intent(in) message)

Use this version if only one mpi proc want to stop Notus. This routine calls mpi_abort instead of mpi_finalize.

Parameters
[in]messageError message. Call notus_log with notus_log_error param.