153 lines
5.1 KiB
Bash
153 lines
5.1 KiB
Bash
#
|
|
# Set DISPLAY if not set.
|
|
#
|
|
if ( $?DISPLAY == 0 ) then
|
|
setenv DISPLAY amy-nbaghram-lnx:1.0
|
|
# echo "Display is set to $DISPLAY"
|
|
endif
|
|
#
|
|
# MG global
|
|
#
|
|
setenv VCO `/usr/mgc/bin/mgcvco`
|
|
setenv MGC_SITE `domainname`
|
|
|
|
switch($MGC_SITE:q)
|
|
case amy.mentorg.com:
|
|
source /wv/icdet/bin/detalias.arm.csh
|
|
setenv MGLS_LICENSE_FILE 1717@amy-lic-01.amy.mentorg.com
|
|
#setenv WG_SERVER /share/ic_wg_server/CACHED_WG_SERVER
|
|
#setenv MGC_SERVER $WG_SERVER
|
|
breaksw
|
|
case wv.mentorg.com:
|
|
source /user/icdet/bin/detalias.csh
|
|
setenv MGLS_LICENSE_FILE 1717@wv-lic-01:1717@wv-lic-02:1717@wv-lic-03:1717@wv-lic-04:1717@wv-lic-05:1700@pevlic1:1700@pevlic4
|
|
breaksw
|
|
case sje.mentorg.com:
|
|
source /user/icdet/bin/detalias.csh
|
|
setenv MGLS_LICENSE_FILE 1717@wv-lic-01:1717@wv-lic-02:1717@wv-lic-03:1717@wv-lic-04:1717@wv-lic-05:1700@pevlic1:1700@pevlic4
|
|
breaksw
|
|
endsw
|
|
|
|
setenv LM_LICENSE_FILE $MGLS_LICENSE_FILE\:1717@wv-lic-toolworks.wv.mentorg.com
|
|
|
|
setenv PATH $PATH\:/user/icdet/bin:/user/icbuild/bin
|
|
setenv PATH $PATH\:/user/peteoss/bin:/user/peteoss/$VCO/bin
|
|
setenv PATH $PATH\:/user/pevtools/bin:/user/pevtools/$VCO/bin
|
|
setenv PATH $PATH\:/usr/mgc/bin:/usr/mgc/lib/mgcms
|
|
|
|
setenv PEVTOOLSBIN /user/pevtools/bin
|
|
if ( $?LD_LIBRARY_PATH ) then
|
|
setenv LD_LIBRARY_PATH /user/pevtools/$VCO/lib64\:$LD_LIBRARY_PATH
|
|
else
|
|
setenv LD_LIBRARY_PATH /user/pevtools/$VCO/lib64
|
|
endif
|
|
|
|
setenv LD_LIBRARY_PATH /user/peteoss/$VCO/lib64\:$LD_LIBRARY_PATH
|
|
|
|
#
|
|
# MG development environment
|
|
#
|
|
setenv CVSROOT :pserver:calcvs:/cvs/ic
|
|
setenv BUILD64 1
|
|
|
|
@ cpu_count = ( `/user/icdet/bin/count_processors` / 2 )
|
|
setenv PB "GMAKE_LIB_PARALLEL=-j$cpu_count GMAKE_SYSTESTS_PARALLEL=-j$cpu_count"
|
|
setenv PB2 "GMAKE_EXEC_PARALLEL=-j"`/user/icdet/bin/figure_gmake_exec_ness`
|
|
alias pmake 'gmake $PB $PB2'
|
|
alias create_dwa 'source $HOME/devel/scripts/mg/create_dwa.csh'
|
|
alias create_iwa 'source $HOME/devel/scripts/mg/create_iwa.csh'
|
|
|
|
#if ( -x /share/cal_daily/latest ) then
|
|
# setenv IWA /share/cal_nightly/latest
|
|
if ( -x /share/cal_nightly/latest ) then
|
|
setenv IWA /share/cal_nightly/latest
|
|
else if ( -x /wv/cal_nightly/latest_ube ) then
|
|
setenv IWA /wv/cal_nightly/latest_ube
|
|
else if ( -x /sj/cal_nightly/latest_ube ) then
|
|
setenv IWA /sj/cal_nightly/latest_ube
|
|
endif
|
|
|
|
setenv CALIBRE_PRINT_STACK_TRACE 4242
|
|
#setenv CALIBRE_DUMP_CORE_ON_ABORT 1
|
|
setenv CALIBRE_DFM_FILL_WRAP_DUMP_COLLECTIONS 1
|
|
setenv DFM_FILL_WRAP_2D_EXPERIMENTAL 1
|
|
#setenv CALIBRE_MTFLEX_LOCAL_HOST_DIR $HOME/devel/mg/test/dfm_fill_wrap_vertical_shape
|
|
#setenv CALIBRE_MTFLEX_LOCAL_HOST_DIR $HOME/devel/mg/test/dfm_fill_wrap_vertical_shape
|
|
#setenv TMP $HOME/devel/mg/test/dfm_fill_wrap_vertical_shape
|
|
#setenv TEMP $HOME/devel/mg/test/dfm_fill_wrap_vertical_shape
|
|
|
|
#
|
|
# MG test environment (These are needed for terra)
|
|
#
|
|
#export MGC_HOME=/amy/cal_nightly/latest/ic/ic_superproj/$VCO/Mgc_home
|
|
#export MGC_HOME=/wv/icdet/work_areas/latest_ube/ic/ic_superproj/$VCO/Mgc_home/
|
|
#export MGC_BIN=$MGC_HOME/bin
|
|
#export PATH=$MGC_BIN:$PATH
|
|
if ( -e /wv/pevtools/data_dir ) then
|
|
setenv DESIGN_DIR /wv/pevtools/data_dir
|
|
endif
|
|
|
|
if ( -e /amy/cal_dfm_qa/tot_master/calibre/dfm/fill/WRAP ) then
|
|
setenv DFM_TEST_BASE /amy/cal_dfm_qa/tot_master/calibre/dfm/fill/WRAP
|
|
setenv TEST_SUITE_TOP /amy/cal_dfm_qa/tot_master/calibre
|
|
endif
|
|
|
|
if ( -e /wv/calgrid/sge/default/common/settings.csh ) then
|
|
setenv DFM_TEST_BASE /wv/cal_dfm_qa/tot_master/calibre/dfm/rq/
|
|
setenv TEST_SUITE_TOP /wv/amy_dfm_qa/tot_master/calibre
|
|
setenv CALIBRE_SKIP_OS_CHECKS 1
|
|
source /wv/calgrid/sge/default/common/settings.csh
|
|
setenv SGE_ROOT /wv/calgrid/uge811
|
|
endif
|
|
|
|
setenv CAL_OPTIONS "-turbo -hyper"
|
|
|
|
#
|
|
# post-review
|
|
#
|
|
if ( -e /tools/ActivePython-2.5.6.10-linux-x86/bin/post-review ) then
|
|
setenv PATH $PATH\:/tools/ActivePython-2.5.6.10-linux-x86/bin
|
|
else if ( -e /wv/pevtools/ActivePython-2.5.4.4-linux-x86_64/bin/post-review ) then
|
|
setenv PATH $PATH\:/wv/pevtools/ActivePython-2.5.4.4-linux-x86_64/bin
|
|
endif
|
|
|
|
#
|
|
# Eugene's check-in script
|
|
#
|
|
if ( -x /home/anikin/bin/prepare_for_checkin ) then
|
|
alias prepare_for_checkin /home/anikin/bin/prepare_for_checkin
|
|
endif
|
|
|
|
#
|
|
# VTune and inspector
|
|
#
|
|
if ( -x /opt/intel/vtune_amplifier_xe/amplxe-vars.csh ) then
|
|
source /opt/intel/vtune_amplifier_xe/amplxe-vars.csh > /dev/null
|
|
setenv LM_LICENSE_FILE $LM_LICENSE_FILE\:1717@rukbat.wv.mentorg.com
|
|
alias vtune amplxe-gui
|
|
endif
|
|
|
|
if ( -x /opt/intel/inspector_xe_2011/inspxe-vars.csh ) then
|
|
source /opt/intel/inspector_xe_2011/inspxe-vars.csh > /dev/null
|
|
endif
|
|
|
|
#
|
|
# Private settings
|
|
#
|
|
setenv PATH $HOME/local_rh_x64/bin:$HOME/bin:$HOME/devel/scripts/mg:$HOME/devel/scripts/bash:$PATH
|
|
setenv LD_LIBRARY_PATH $HOME/local_rh_x64/lib:$HOME/local_rh_x64/lib64\:$LD_LIBRARY_PATH
|
|
setenv EDITOR /home/vkhachat/local_rh_x64/bin/gvim
|
|
|
|
#
|
|
# ICWBEV
|
|
#
|
|
alias icwbev $HOME/local_rh_x64/private/fw/bin/icwbev
|
|
alias oasis_info $HOME/local_rh_x64/private/fw/bin/oasis_info
|
|
|
|
#
|
|
# Aliases
|
|
#
|
|
alias cdw 'cd $HOME/devel/mg'
|
|
alias setmgchome 'source $HOME/devel/scripts/mg/setmgchome.csh'
|
|
alias ptags 'ctags --recurse=yes --verbose -h ".h.C" base lvbase iclv ponte dfm locallv'
|