|
发表于 2015-6-26 18:30:14
|
显示全部楼层
Setting Up the User Environment
========================================================
To set up your users, you must create a Synopsys source file, or modify
each user's $HOME setup files (typically .cshrc, .profile, .kshrc, or .bashrc),
as follows. For tool-specific information, see "Setting Up <product_name>
for Each User" in the appropriate tool chapter in the Installation Guide.
1. Set SNPSLMD_LICENSE_FILE, LM_LICENSE_FILE or a tool-specific licensing variable.
This variable specifies the path to the Synopsys FLEXlm license server.
Note:
SNPSLMD_LICENSE_FILE is supported only for tools using the snpslmd Synopsys
Common Licensing (SCL) daemon. LM_LICENSE_FILE is supported for all Synopsys
tools (all daemons).
In the following example, it is assumed that the Synopsys license server
is using TCP port 27000, the default port. (However, you can specify another
port by modifying the SERVER line of your site's keyfile--for example,
"SERVER myserver 8308a297 26585.")
Example:
* Add to .cshrc
setenv SNPSLMD_LICENSE_FILE 27000@myserver
or
setenv LM_LICENSE_FILE 27000@myserver
* Add to .profile, .kshrc, or .bashrc
SNPSLMD_LICENSE_FILE=27000@myserver; export SNPSLMD_LICENSE_FILE
or
LM_LICENSE_FILE=27000@myserver; export LM_LICENSE_FILE
2. Add the tool executable files to the user path.
Example:
* Add to .cshrc:
set path=(synopsys_root/<platform>/<product>/bin $path)
* Add to .profile, .kshrc, or .bashrc:
PATH=synopsys_root/<platform>/<product>/binPATH
export PATH
Note:
For some tools, the appropriate directory of executable files
is synopsys_root/bin.
3. Set any tool-specific variables.
In many cases, tool-specific environment variables must be set.
Typically, you need to set an environment variable that points
to the root directory for the Synopsys tool.
Example:
setenv SYNOPSYS /path/to/synopsys_root
Note:
Not all tools use the $SYNOPSYS environment variable. In some
cases, other tool-specific variables must be set. See the
Installation Guide for details. |
|