第一章
开始安装
1. 目录结构,本人在linux 的用户bluesea根目录下建了/home/bluesea/study_space/synopsys 文件夹,安装文件全部解压在/synopsys/setup-files下(如果遇到权限问题,自主切换为root)。文件结构:
/studu_space/synopsys
|---installer_v3.0
|--- scl_v11.5
|---license
|---setup-files
|--- vcs-mx_vH-2013.06
2. 安装installer,将installer3.0 解压到installer_v3.0 文件夹即可。解压后出现以下文件:
Install_bin、installer、installer_v3.0.tar.Z、install.now、setup.sh
3. 安装SCL
(1)将SCL解压到setup-files/scl_v11.文件夹下,可能生成
scl_v11.5_linux.tar、
scl_v11.5_common.tar、
scl_v11.5_amd64.tar,
再分别解压,生成的是三个文件夹
scl_v11.5_linux、
scl_v11.5_common、
scl_v11.5_amd64,
每个文件夹中会有类似release或者linux的文件夹。
(2)在终端下
$ cd /home/bluesea/study_space/synopsys/installer_v3.0
$ ./setup.sh(或者./installer -gui)
注意:这里登陆redhat系统时要选择非root用户,否则提示类似 isn’t a TK application的错误。
出现蓝色安装界面,右下角是“start”,点击进入下一步,会出现填写 ID SITE CONTACT都不用管,下一。。。,
选中scl 解压所在文件夹,这里的source 为/synopsys/setup-files/scl_v11.5/scl_v11.5_linux 然后一直next,过程中有些选项都不需要管,也不需要填,直到选中安装目标路径,这里的安装路径是/synopsys/scl_v11.5,同样把scl_v11.5_common 文件安装到/synopsys/scl_v11.5,(如果是64bit,同样安装scl_v11.5_amd64到/synopsys/scl_v11.5)。
注意:可能提示没有platform类似依赖错误,可以尝试调换common与linux的安装顺序。
4. 安装VCS
(1)将VCS解压到setup-files/vcs_mx_vH-2013.06文件夹下,可能生成vcs_mx_vH-2013.06_linux.tar、
vcs_mx_vH-2013.06_common.tar、
vcs_mx_vH-2013.06_amd64.tar,
再分别解压,生成的是三个文件夹
vcs_mx_vH-2013.06_linux.tar、
vcs_mx_vH-2013.06_common.tar、
vcs_mx_vH-2013.06_amd64.tar
每个文件夹中会有类似release或者linux的文件夹。
(2)在终端下
$ cd /home/bluesea/study_space/synopsys/installer_v3.0
$ ./setup.sh(或者./installer -gui)
选中vcs 解压所在文件夹,这里的source 为/synopsys/setup-files/ vcs_mx_vH-2013.06/ vcs_mx_vH-2013.06_linux 然后一直next,过程中有些选项都不需要管,也不需要填,直到选中安装目标路径,这里的安装路径是/synopsys/ vcs_mx_vH-2013.06,同样把vcs_mx_vH-2013.06_common 文件安装到/synopsys/ vcs_mx_vH-2013.06,(如果是64bit,同样安装vcs_mx_vH-2013.06_amd64到/synopsys/ vcs_mx_vH-2013.06)。
注意:可能提示没有platform类似依赖错误,可以尝试调换common与linux的安装顺序。
第二章
(前)Server设置:license文件中的Sever name 同虚拟机的不一样,所以这里先要改虚拟机的hostname,对于redhat来说,首先更改/etc/rc.d/rc.sysinit文件中的hostname到你想要的名字,然后依次是/etc/sysconfig/network,/etc/hosts文件,改完重启一下虚拟机即可。(redhat:#gedit etc/hosts 在末尾添加代码127.0.0.1 redhat-bluesea)
(一)相信大家参考以上教程都能成功安装synopsys的软件,最搞人的就算那个license了,下面讲讲正确生成license的办法(用虚拟机安装的请参考百度文库里面的破解经验)
(1). 进入EFA LicGen0.4b文件夹,双击运行LicGen.exe,会弹出一个对话框,点击“open”按钮,找到pack目录下的Synopsys.lpd打开。“select HostID”选择custom(而不是ethernet),并输入hostID,hostID就是由运行/scl/linux/bin/lmhostid得到的,如000c29d20f52。不要选择“useDaemon”。最后点击“Generate”生成license文件,将生成的license文件保存为synopsys.dat,放在“Synopsys SSS Feature Keygen”文件夹中.
(2).打开windows的命令提示符CMD。(开始---->运行---->输入cmd)
(3). 运行KeyGen.exe,将刚才的20个字符复制到“SECRETDATA框中”,将(1)中得到的hostid填写在hostid框中,点击Generate,此时将会有一个文件叫license.dat的文件生成.
(4). 打开license.dat,将Sever开始之后的所有行复制到第一部生成的synopsys.dat文件中,并把synopsys.dat中原有的FEATURESSS全部删除。例如:SERVER
(二)成功启动license运行软件
(1). 切换到redhat linux环境下,可以看到刚才在win7下生成的synopsys.dat,把它拷贝到根目录下的/synopsys/license/synopsys.dat (我的软件都是安装在/usr/synopsys目录下,license在/usr/synopsys/license/目录下,和网上大多数网友的目录设置差不多)
(2).配置环境变量
#dve
export PATH="/home/bluesea/study_space/synopsys/vcs_mx_vH-2013.06/gui/dve/bin:"$PATH
#VCS
export PATH="/home/bluesea/study_space/synopsys/vcs_mx_vH-2013.06/bin:"$PATH
#Design Compiler
#export PATH="/usr/synopsys/dc200809/bin:"$PATH
#pts
#export PATH="/usr/synopsys/pt/pt_2011/bin:"$PATH
#lmgrd
export PATH="/home/bluesea/study_space/synopsys/scl_v11.5/linux/bin:"$PATH
#start synopsys license using lmgrd
alias lmli2="lmgrd -c /home/bluesea/study_space/synopsys/license/synopsys.dat -l ~/syn_lic.log"
#export SYNOPSYS="/usr/synopsys/dc200809"
export SNPSLMD_LICENSE_FILE=27000@redhat-bluesea
export LM_LICENSE_FILE=/home/bluesea/study_space/synopsys/license/synopsys.dat
export VCS_HOME="/home/bluesea/study_space/synopsys/vcs_mx_vH-2013.06"
export DVE_HOME="/home/bluesea/study_space/synopsys/vcs_mx_vH-2013.06/gui/dve"
#export PT_HOME="/usr/synopsys/pt/pt_2011"
alias dc="dc_shell"
alias dv="design_vision"
alias vcs="vcs"
alias dve="dve"
alias pt="primetime"
以上为需要各位根据自己的计算机名,hostid,安装目录修改。此处和网上大多数不同的是加入了export LM_LICENSE_FILE这一行,用来设置license的环境变量,如果不设置,会提示Use LM_LICENSE_FILE to use a different license file,or contact your software provider for a license file.Filename:
(3). 启动终端 输入sudo -i,输入你的密码切换到root权限下,
输入:lmstat -c /home/bluesea/study_space /synopsys/license/synopsys.dat
有如下提示:
lmstat - Copyright (c) 1989-2006 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
Flexible License Manager status on Mon 9/12/2011 15:49
License server status: 27000@ubuntu
lmgrd is not running: Cannot connect to license server system. (-15,570:115 "Operation now in progress")
再输入:lmgrd -c /home/bluesea/study_space/synopsys/license/synopsys.dat 启动license管理器
结果如下:
15:49:36 (lmgrd) The license server manager (lmgrd) running as root:
15:49:36 (lmgrd)
15:49:36 (lmgrd)
root@ubuntu:~# 15:49:36 (lmgrd) FLEXnet Licensing (v10.8.5.0 build 31891 i86_re3) started on ubuntu (linux) (9/12/2011)
15:49:36 (lmgrd) Copyright (c) 1988-2006 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
15:49:36 (lmgrd) US Patents 5,390,297 and 5,671,412.
15:49:36 (lmgrd) World Wide Web:
15:49:36 (lmgrd) License file(s): /usr/synopsys/license/synopsys.dat
15:49:36 (lmgrd) lmgrd tcp-port 27000
15:49:36 (lmgrd) The license server manager has found no vendor daemons to start
15:49:36 (lmgrd)
再输入:dv&
结果:DC Professional (TM)
This software and the associated documentation are confidential and
proprietary to Synopsys, Inc. Your use or disclosure of this software
is subject to the terms and conditions of a written license agreement
between you, or your company, and Synopsys, Inc.
The above trademark notice does not imply that you are licensed to use
all of the listed products. You are licensed to use only those products
for which you have lawfully obtained a valid license key.
Initializing...
再输入:dve
(三)安装过程中其他问题及解决办法(问题5和6安装VCS会遇到)
(1).进入root权限
(2).ubuntu中右键以管理员身份打开,可以删除、修改、新建文件和文件夹
(3).修改计算机名hostname:修改/etc/hostname文件就可以了
(4).Can't make directory /usr/tmp/.flexlm, errno
(5).启动vcs总是报 Illegal option -h
解决办法:
修改ubuntu 上的/bin/sh
在ubuntu上,/bin/sh默认是链接到/bin/dash的,当你从源代码编译软件的时候,dash可能会导致一些错误,至少我遇到过 类似问题,因此,我把/bin/sh的连接改为了/bin/bash
应该这样做:
rm -f /bin/sh
ln -s /bin/bash /bin/sh
就可以用vcs了.vde也可以启动了
(6).Warning-[LNX_OS_VERUN] Unsupported Linux version
解决办法:
在.bashrc中设置export VCS_ARCH_OVERRIDE=linux
####################################################
其中还遇到了下述列表一些问题,按照上述方法都解决了,很多都算license没有生成好,虽然sssverify也能通过好像license没问题。我开始也是sssverify什么都看上去可以,用lmgrd启动license,查看lmgrd记录的log文件有:
Serving features for the following vendor names:snpslmd
13:39:56 (snpslmd) Checking the integrity of the license file....
13:39:56 (snpslmd) Valid SSS feature found.
13:39:56 (snpslmd) The feature is needed to enable the other keys in your license file.之类的东东
root@ubuntu:~# Unable to obtain feature 'Design-Vision ' because:
Error: Software is not licensed for this machine. (SEC-10)
Unable to obtain feature 'Design-Analyzer ' because:
Error: Software is not licensed for this machine. (SEC-10)
Fatal: At least one of the following must be enabled : Design-Vision, Design-Analyzer. (DCSH-10)
Design Compiler is not enabled
license manager: can't initialize: Cannot find license file.
The license files (or license server system network addresses) attempted are
listed below.
or contact your software provider for a license file.
Filename:
License path:
license manager can't initialize: No SERVER lines in license file