get_parfile Subroutine

public subroutine get_parfile(filename_par)

Parses the command line arguments and retrieves the parfile passed.

Warning

Throws an error if

  • command line arguments can not be parsed.
  • the parfile is not found.

Note

If no parfile is passed, the code uses a default configuration. Check if supplied file exists

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(out) :: filename_par

the name of the parfile