Command line interface

This page contains the reference of the command-line interface.

AutoRPE-ImplementRPEtoSource

usage: AutoRPE-ImplementRPEtoSource [-h] -i INPUT_SOURCES [-o OUTPUT_SOURCES]
                                    [--database-name DATABASE_NAME]
                                    [--black-list-file BLACK_LIST_FILE]
                                    [--namelist-path NAMELIST_PATH]
-h, --help

show this help message and exit

-i <input_sources>, --input-sources <input_sources>

Path to a folder that contains the preprocessed code source.

-o <output_sources>, --output-sources <output_sources>

Path to the folder that will contain the AutoRPE implementation.

--database-name <database_name>

Filename of the output database.

--black-list-file <black_list_file>

Name of files that should maintain REAL variables declarations.

--namelist-path <namelist_path>

Path to the output namelist that will specify all variables’ precision.

AutoRPE-ImplementMixedtoSources

usage: AutoRPE-ImplementMixedtoSources [-h] --preprocessed-input-files
                                       PREPROCESSED_INPUT_FILES
                                       --output-folder OUTPUT_FOLDER
                                       --root-namelist ROOT_NAMELIST
                                       [--vault VAULT]
                                       [--database-name DATABASE_NAME]
-h, --help

show this help message and exit

--preprocessed-input-files <preprocessed_input_files>

Path to the preprocessed sources.

--output-folder <output_folder>

Path where the mixed-precision version of the sources will be stored.

--root-namelist <root_namelist>

Path to the configuration used to run the root node.

--vault <vault>

Path to the database. For debug purposes, once it is created, it can be recycled for further runs.

--database-name <database_name>

Filename of the output database.

AutoRPE-CastFix

usage: AutoRPE-CastFix [-h] --preprocessed-input-files
                       PREPROCESSED_INPUT_FILES [PREPROCESSED_INPUT_FILES ...]
                       --original-input-files ORIGINAL_INPUT_FILES
                       [ORIGINAL_INPUT_FILES ...] --output-folder
                       OUTPUT_FOLDER --root-namelist ROOT_NAMELIST
                       [--vault VAULT] [--database-name DATABASE_NAME]
                       [--dictionary_of_casts DICTIONARY_OF_CASTS]
-h, --help

show this help message and exit

--preprocessed-input-files <preprocessed_input_files>

Path to the preprocessed sources.

--original-input-files <original_input_files>

Path to the non-preprocessed sources.

--output-folder <output_folder>

Path where the mixed-precision version of the sources will be stored.

--root-namelist <root_namelist>

Path to the configuration used to run the root node.

--vault <vault>

Path to the database. For debug purposes, once it is created, it can be recycled for further runs.

--database-name <database_name>

Filename of the output database.

--dictionary_of_casts <dictionary_of_casts>

Dictionary containing all the necessary casts; it only needs to be created once.

AutoRPE-AdaptNamelists

usage: AutoRPE-AdaptNamelists [-h] --database DATABASE --namelist NAMELIST
                              [NAMELIST ...]
-h, --help

show this help message and exit

--database <database>

Path to a database (vault) generated with MakeVault.

--namelist <namelist>

List of namelist files.

AutoRPE-MergeUsedVariables

usage: AutoRPE-MergeUsedVariables [-h] [-o OUTPUT]
                                  used_variables [used_variables ...]
used_variables

List of used_variables.txt.

-h, --help

show this help message and exit

-o <output>, --output <output>

Path to the output file.