handle_version_flag Subroutine

public subroutine handle_version_flag(exe_name)

Shared --version handler for all driver programs. If --version is on the command line, print <exe_name> <build-id> and stop 0. Called pre-MPI_Init by every driver, so the stop 0 is correct (single image, no ranks to orphan) and euler[_1d|_2d] --version works without mpirun.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: exe_name