{"id":26757,"library":"aws-parallelcluster","title":"AWS ParallelCluster","description":"AWS ParallelCluster is an AWS supported open-source cluster management tool that enables you to deploy and manage high-performance computing (HPC) clusters on AWS. It automates the creation of HPC clusters with Slurm, AWS Batch, or other schedulers. The current version is 3.15.0, with releases roughly every 1-2 months.","status":"active","version":"3.15.0","language":"python","source_language":"en","source_url":"https://github.com/aws/aws-parallelcluster","tags":["HPC","AWS","cluster","Slurm","cloud"],"install":[{"cmd":"pip install aws-parallelcluster","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required for AWS API calls","package":"awscli","optional":true},{"reason":"Required for AWS SDK interactions","package":"boto3","optional":true}],"imports":[{"note":"The correct module name is 'pcluster', not 'aws_parallelcluster'.","wrong":"import aws_parallelcluster","symbol":"pcluster","correct":"from pcluster import pcluster"}],"quickstart":{"code":"import os\nfrom pcluster import pcluster\nclient = pcluster.Client()\n# Note: Requires AWS credentials configured via environment variables or AWS CLI.\n# Example: list clusters\nclusters = client.list_clusters()\nprint(clusters)","lang":"python","description":"Quickstart for using ParallelCluster Python SDK to list clusters. Ensure AWS credentials are configured (e.g., via AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)."},"warnings":[{"fix":"Migrate to ParallelCluster 3.x by updating commands and configuration files. Refer to the official migration guide.","message":"In version 3.x, the CLI and API structure changed significantly from 2.x. Old scripts using 'pcluster' commands may fail.","severity":"breaking","affected_versions":"<3.0"},{"fix":"Use Ubuntu 22.04 or later for new clusters.","message":"Ubuntu 20.04 support is deprecated and removed after 3.13.0.","severity":"deprecated","affected_versions":">=3.13.0"},{"fix":"Use the CLI commands (e.g., `pcluster create-cluster`) for cluster operations, or use the SDK for programmatic access.","message":"The Python SDK (pcluster) is separate from the CLI. Importing 'pcluster' directly may not provide all CLI functionality.","severity":"gotcha","affected_versions":">=3.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Install with pip install aws-parallelcluster and import as from pcluster import pcluster.","cause":"The correct module name is 'pcluster', not 'aws_parallelcluster'.","error":"ModuleNotFoundError: No module named 'aws_parallelcluster'"},{"fix":"Run pip install aws-parallelcluster and ensure the Python Scripts directory is in PATH. Alternatively, use python -m pcluster.","cause":"The ParallelCluster CLI is not installed or not in PATH.","error":"pcluster: command not found"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}