C Shell 错误的问题:本地路径:未定义的变量
Problems with C Shell bug: localpath: undefined variable
我对 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 )
在使用这个变量之前。
我对 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 )
在使用这个变量之前。