我既没有Linux经验,也没有shell命令经验。
我存储文件的路径是/ home / cadence
我已经尝试了其他一些具有.csh错误的解决方案,经过多次试验,这是我的最终结果,但不幸的是没有实现。我收到的错误是我收到“ localpath:Undefined variable”错误]
下面是完整的源代码,我不确定如何进一步使用它。
# % source cadence_setup.csh
# edit the path of environment
setenv CadenceHOME /home/cadence
# Set environment variables for Cadence software,
setenv CDSHOME /home/cadence/IC618-500-8
setenv MMSIMHOME /home/cadence/SPECTRE19-10-199
setenv PVSHOME /home/cadence/PVS19-11-000
setenv ASSURAHOME /home/cadence/ASSURA416-001-618
setenv XCELLHOME /home/cadence/XCELLIUMMAIN19-03-008
setenv QUANTUSHOME /home/cadence/QUANTUS20-10-00
setenv GENUSHOME /home/cadence/GENUS19-12-000
setenv INNOVUSHOME /home/cadence/INNOVUS19-12-000
setenv LCUHOME /home/cadence/LCU4.30.002
# Set license file location for Cadence software
setenv CDS_LIC_FILE 5280@sjflex3:5280@sjflex2:5280@sjflex1:5280@srv-sgtrn2
##################################################################
## DO NOT update any env. Variable below:
##################################################################
setenv LM_LICENSE_FILE $CDS_LIC_FILE
# Set Artist Netlisting Mode to Analog #
setenv CDS_Netlisting_Mode Analog
# Set these variables in case we need to troubleshoot PVS failures
# Set variables to make Linux happy
setenv LANG en_US
# Set your program search path properly ....
# Build up a list of all of the options. Please verify the localPath snd sysPath settings are valid
# set localPath = (. ~/bin ~/local/bin /usr/local/pvt /usr/ucb /usr/local \
# /usr/local/bin /usr/local/Public/bin /opt/Acrobat4/bin \
# /usr/lib/openoffice/program /sbin /usr/X11R6/bin )
set cdsPath1=$LCUHOME/tools/bin \
$CDSHOME/tools/bin \
$CDSHOME/tools/dfII/bin \
$MMSIMHOME/tools/bin \
$PVSHOME/tools/bin \
$ASSURAHOME/tools/bin \
$XCELLHOME/tools/bin \
$QUANTUSHOME/tools/bin \
$GENUSHOME/tools/bin \
$INNOVUSHOME/tools/dfII/bin )
# set sysPath = (/usr/ucb /usr/etc /usr/openwin/bin /usr/sbin /usr/bin /bin )
# Changing the order here since pvs executable in /usr/sbin conflicts with PVE
# installation
set path=( $cdsPath1 $localPath $sysPath )
set PATH=( $path)
set filec
setenv history 50
您正在写set path=( $cdsPath1 $localPath $sysPath )
,但没有分配任何内容给localPath
。做一个
setenv localPath ( /whatever/path/you /would/like/to/see/here )
使用此变量之前。