Documentation for module swarm_worker

Workers's routines for the swarm-framework

source: swarm_worker.F
Loading...

public Types:

swarm_worker_type
...

public Subroutines/Functions:

Central execute routine of the swarm worker
Finalizes a swarm worker
Initializes a swarm worker

public Types:

TYPE :: swarm_worker_type

...


INTEGER
:: id = -1 ...
INTEGER
:: iw = -1 ...
INTEGER
:: behavior = -1 ...
POINTER :: glbopt => NULL() ...

SUBROUTINEswarm_worker_execute(worker, cmd, report, should_stop)

Central execute routine of the swarm worker

Arguments:
INTENT(inout)
:: worker ...
INTENT(in)
:: cmd ...
INTENT(out)
:: report ...
LOGICAL,
INTENT(inout)
:: should_stop ...

SUBROUTINEswarm_worker_finalize(worker)

Finalizes a swarm worker

Arguments:
INTENT(inout)
:: worker ...

SUBROUTINEswarm_worker_init(worker, para_env, input_declaration, root_section, input_path, worker_id)

Initializes a swarm worker

Arguments:
INTENT(inout)
:: worker ...
POINTER
:: para_env ...
POINTER
:: input_declaration ...
POINTER
:: root_section ...
CHARACTER(*),
INTENT(in)
:: input_path ...
INTEGER,
INTENT(in)
:: worker_id ...