pcluster-config - Amazon ParallelCluster
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

pcluster-config

Updates the Amazon ParallelCluster configuration file.

pcluster-config [ -h ] [convert]

For command-specific flags, run: pcluster-config [command] –h.

Named arguments

-h, --help

Shows the help text for pcluster-config.

Note

The pcluster-config command was added in Amazon ParallelCluster version 2.9.0.

Sub-commands

pcluster-config convert

pcluster-config convert [ -h ] [ -c CONFIG_FILE ] [ -t CLUSTER_TEMPLATE ] [ -o OUTPUT_FILE ]
Named arguments
-h, --help

Shows the help text for pcluster-config convert.

-c CONFIG_FILE, --config-file CONFIG_FILE

Specifies the path of the configuration file to read.

Defaults to ~/.parallelcluster/config.

For more information, see Configuring Amazon ParallelCluster.

-t CLUSTER_TEMPLATE, --cluster-template CLUSTER_TEMPLATE

Indicates the [cluster] section to use. If this argument is not specified, pcluster-config convert will use the cluster_template setting in the [global] section. If that isn't specified, then the [cluster default] section is used.

-o OUTPUT_FILE, --output OUTPUT_FILE

Specifies the path of the converted configuration file to be written. By default, the output is written to STDOUT.

Example:

$ pcluster-config convert -t alpha -o ~/.parallelcluster/multiinstance

Converts the cluster configuration specified in the [cluster alpha] section of ~/.parallelcluster/config, writing the converted configuration file to ~/.parallelcluster/multiinstance.