(git:374b731)
Loading...
Searching...
No Matches
cp_external_control.F File Reference

Go to the source code of this file.

Modules

module  cp_external_control
 Routines to handle the external control of CP2K.
 

Functions/Subroutines

subroutine, public cp_external_control::set_external_comm (comm, in_external_master_id, in_scf_energy_message_tag, in_exit_tag)
 set the communicator to an external source or destination, to send messages (e.g. intermediate energies during scf) or reveive commands (e.g. aborting the calculation)
 
subroutine, public cp_external_control::external_control (should_stop, flag, globenv, target_time, start_time, force_check)
 External manipulations during a run : when the <PROJECT_NAME>.EXIT_$runtype command is sent the program stops at the level of $runtype when a general <PROJECT_NAME>.EXIT command is sent the program is stopped at all levels (at least those that call this function) if the file WAIT exists, the program waits here till it disappears.