Issue : Fix the parameter typo
@@ -286,7 +286,7 @@ pipe_log_info "Installing SGE master" "$SGE_MASTER_SETUP_TASK"
export SGE_CELL="default"
export SGE_CLUSTER_NAME="CLOUD_PIPELINE"
export CP_CAP_SGE_QUEUE_NAME="${CP_CAP_SGE_QUEUE_NAME:-main.q}"
-export CP_CAP_SGE_PE_NAME="${CP_CAP_SGE_QUEUE_NAME:-local}"
+export CP_CAP_SGE_PE_NAME="${CP_CAP_SGE_PE_NAME:-local}"
if [ "$LINUX_DISTRIBUTION" = "debian" ]; then
export SGE_ROOT="/var/lib/gridengine"
@@ -297,7 +297,7 @@ echo "export SGE_ROOT=$SGE_ROOT" >> /etc/cp_env.sh
echo "export SGE_CELL=$SGE_CELL" >> /etc/cp_env.sh
echo "export SGE_CLUSTER_NAME=$SGE_CLUSTER_NAME" >> /etc/cp_env.sh
echo "export CP_CAP_SGE_QUEUE_NAME=$CP_CAP_SGE_QUEUE_NAME" >> /etc/cp_env.sh
-echo "export CP_CAP_SGE_PE_NAME=$CP_CAP_SGE_QUEUE_NAME" >> /etc/cp_env.sh
+echo "export CP_CAP_SGE_PE_NAME=$CP_CAP_SGE_PE_NAME" >> /etc/cp_env.sh
# Verify whether it is a resumed run - if so, do not reinstall sge, instead - just rerun master and exec daemon
