安装spyglass后运行sg_shell,提示以下内容:
spyglass: INTERNAL-ERROR, the VALUE OF `$SPYGLASS_HOME' (an internal variable) was not intuited correctly.
spyglass: The value guessed was: `SPYGLASS_HOME=/usr/cad/SpyGlass-4.4.0/SPYGLASS_HOME'
spyglass: INTERNAL-ERROR, the Perl 5 installation within `$SPYGLASS_HOME' could not be validated.
spyglass: A perl installation was expected at: `/usr/cad/SpyGlass-4.4.0/SPYGLASS_HOME/lib/multi-perl'
spyglass: either `$SPYGLASS_HOME' was guessed incorrectly or the installation is corrupted.
spyglass: NOTE, the caller's environment variable `$SPYGLASS_HOME' was ignored in this process
有哪位大神遇到过这种问题,求指导,多谢!
没有设置sypglass的home目录 ,需要修改~/.bashrc文件:
export SPYGLASS_HOME=/xxx/spyglass/SpyGlass-L2016.06/SPYGLASS_HOME/
export PATH=$PATH:$SPYGLASS_HOME/bin
类似于导入安装包的路径和变量,用户可使用;
Hi friends,
This is for the the people facing error
spyglass: INTERNAL-ERROR, the Perl 5 installation within $SPYGLASS_HOME' could not be validated. spyglass: A perl installation was expected at:
/home/h/software/synopsys/SpyGlass-L2016.06/SPYGLASS_HOME/lib/multi-perl'
spyglass: either $SPYGLASS_HOME' was guessed incorrectly or the installation is corrupted. spyglass: NOTE, the caller's environment variable
$SPYGLASS_HOME' was ignored in this process.
Solution:
I am assuming that you have configured $SPYGLASS_HOME variable.
This issue may be due to updated or latest linux kernel version 4.*.
Spyglass 2016 expects linux kernel version 3.
If you want to use linux kernel version 4 then do two changes in scripts.
Please take backup of original files.
standard-environment.sh & perl files need to be modified.
Linux-3*)
if [ X"$switch32bit" = "Xyes" ]; then
echo "Linux2"
elif [ X"$switch64bit" = "Xyes" ]; then
PROCNAME=uname -p
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=uname -m
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
echo "Linux4"
else
echo "Linux2"
fi
else
PROCNAME=uname -p
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=uname -m
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
if [ X"$defExeOn64Bit" = "X32" ]; then
echo "Linux2"
else
echo "Linux4"
fi
else
echo "Linux2"
fi
fi
;;
Linux-4*)
if [ X"$switch32bit" = "Xyes" ]; then
echo "Linux2"
elif [ X"$switch64bit" = "Xyes" ]; then
PROCNAME=uname -p
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=uname -m
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
echo "Linux4"
else
echo "Linux2"
fi
else
PROCNAME=uname -p
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=uname -m
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
if [ X"$defExeOn64Bit" = "X32" ]; then
echo "Linux2"
else
echo "Linux4"
fi
else
echo "Linux2"
fi
fi
;;
*) echo UNKNOWN ;;
Linux-4*) ##now we have Linux-64 bit also
PROCNAME=uname -p
if [ "X$PROCNAME" = "Xunknown" ]; then
PROCNAME=uname -m
fi
if [ X"$PROCNAME" = "Xx86_64" ]; then
species=Linux4
else
species=Linux2
fi
;;