Files
sysconfig/nuance/sge.sh
luk 9742f6dab2 refactor: 脚本及配置文件命名统一用 _ 分隔
将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名
改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为
nuance,并同步更新脚本内部引用与 README 路径。

Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
2026-08-25 15:11:50 +08:00

33 lines
852 B
Bash

#!/bin/bash
. ~/bin/platform.sh
if [ "$PLATFORM" == 'aachen_windows' ]
then
echo "SGE is unavailable on Aachen Windows."
elif [ "$PLATFORM" == 'my_laptop' ]
then
echo "SGE is unavailable on my laptop."
elif [ "$PLATFORM" == 'aachen_linux' ]
then
if [ -z "$SGE_ROOT" ]
then
. /opt/sge6/default/common/settings.sh
fi
echo "SGE was successfully configured on Aachen Linux."
elif [ "$PLATFORM" == 'burlington_linux' ]
then
if [ -z "$SGE_ROOT" ]
then
. /usr/local/SGE/default/common/settings.sh
fi
# tools for Grid management:
. ~/bin/addpath.sh /res/tools/contrib/script
echo "SGE and Grid tools was successfully configured on Burlington Linux."
elif [ "$PLATFORM" == 'home_windows' ]
then
echo "SGE is unavailable on Home Windows."
else
echo "Unknown system! Nothing was configured."
fi