Now that you installed AWS ParallelCluster and created a default configuration, you can create a configuration file to build a simple HPC system. This file is generated in your home directory.
Generate the cluster with the following settings:
disable_hyperthreading = true
in the configuration file.For more details about the AWS ParallelCluster configuration options, see the AWS ParallelCluster User Guide.
For now, paste the following commands in your terminal:
cat > my-cluster-config.ini << EOF
[aws]
aws_region_name = ${REGION}
[global]
cluster_template = default
update_check = false
sanity_check = true
[vpc public]
vpc_id = ${VPC_ID}
master_subnet_id = ${SUBNET_ID}
[cluster default]
key_name = pc-intro-key
base_os = alinux2
scheduler = slurm
master_instance_type = c5.xlarge
s3_read_write_resource = *
vpc_settings = public
ebs_settings = myebs
queue_settings = compute
[queue compute]
compute_resource_settings = default
disable_hyperthreading = true
placement_group = DYNAMIC
[compute_resource default]
instance_type = c5.large
min_count = 0
max_count = 8
[ebs myebs]
shared_dir = /shared
volume_type = gp2
volume_size = 20
[aliases]
ssh = ssh {CFN_USER}@{MASTER_IP} {ARGS}
EOF
Now, you are ready to launch a cluster! Proceed to the next section.