Dear Sir:
I encounter several problems when I first ran the model-default.top file in the tutorial-model directory. 1: If I log in the tcsh with my home directory,I cannot run the command "mod model-default".The reminder is "mod" command cannot be found. 2: If I log in the tcsh with root directory,I can run "mod model-default" after I run "source ~/.cshrc".When I log out and log in again with my home directory,the run "mod model-default",the error reminder is: " /usr/local/bin/modeller6v1/bin/mod6v1: ./model-default.log: Permission denied " 3: When I log in with root directory again, I only could run "mod model-default" after I run "source ~/.cshrc" again. So, my questions are: <1> Should I run the "mod model-default" every time when I log in the shell with ROOT? <2> Should I run "source ~/.cshrc" each time before running "mod model-default"? The following is the login script of mine for your reference. ### begin MODELLER6v1 ###################################################### setenv MODINSTALL6v1 /usr/local/modeller/modeller6v1 setenv EXECUTABLE_TYPE6v1 i386-absoft setenv LIBS_LIB6v1 $MODINSTALL6v1/modlib/libs.lib setenv KEY_MODELLER6v1 XXX alias mod mod6v1 set path=($path $MODINSTALL6v1/bin) limit stacksize unlimited ### end MODELLER6v1 This following is the environment variables of mine. ######################################################## TERM=xterm DISPLAY=:0.0 HOME=/root SHELL=/bin/tcsh USER=root LOGNAME=root PATH=/usr/local/sbin:/usr/sbin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin:/usr/local/modeller/modeller6v1/bin HOSTTYPE=i386-linux VENDOR=intel OSTYPE=linux MACHTYPE=i386 SHLVL=1 PWD=/home/jcyao/modeller/modeller6v1/examples/tutorial-model GROUP=root HOST=csg389-p-jcyao HOSTNAME=csg389-p-jcyao LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: KDEDIR=/usr LANG=en_US SUPPORTED=zh_CN.GB2312:zh_CN:zh:zh_TW.Big5:zh_TW:zh:en_US:en LESSOPEN=|/usr/bin/lesspipe.sh %s QTDIR=/usr/lib/qt-2.3.1 MODINSTALL6v1=/usr/local/modeller/modeller6v1 EXECUTABLE_TYPE6v1=i386-absoft LIBS_LIB6v1=/usr/local/modeller/modeller6v1/modlib/libs.lib KEY_MODELLER6v1=XXX ######################################################################### Evan |