Skip to content

Commit 9c569be

Browse files
committed
test-debug
1 parent 53045fa commit 9c569be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

parallelcluster-setup/install-monitoring.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ chmod +x /usr/local/bin/docker-compose
2121
monitoring_dir_name=${cfn_postinstall_args[1]}
2222
monitoring_home="/home/${cfn_cluster_user}/${monitoring_dir_name}"
2323

24+
echo "$> variable monitoring_dir_name -> ${monitoring_dir_name}"
25+
echo "$> variable monitoring_home -> ${monitoring_home}"
26+
27+
2428
case "${cfn_node_type}" in
2529
HeadNode)
2630

@@ -98,6 +102,8 @@ case "${cfn_node_type}" in
98102
ComputeFleet)
99103
compute_instance_type=$(ec2-metadata -t | awk '{print $2}')
100104
gpu_instances="[pg][2-9].*\.[0-9]*[x]*large"
105+
echo "$> Compute Instances Type EC2 -> ${compute_instance_type}"
106+
echo "$> GPUS Instances EC2 -> ${gpu_instances}"
101107
if [[ $compute_instance_type =~ $gpu_instances ]]; then
102108
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
103109
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.repo | tee /etc/yum.repos.d/nvidia-docker.repo

0 commit comments

Comments
 (0)