Why would you need to use STAFEnv.sh in your .bashrc files? In /usr/local/staf there is the startSTAFProc.sh file which starts it and it sources the STAFEnv.sh anyway. Here is its contents:
cat startSTAFProc.sh #!/bin/sh # Sets up the STAF environment variables and starts STAFProc # in the background, logging STAFProc output to nohup.out . /usr/local/staf/STAFEnv.sh nohup /usr/local/staf/bin/STAFProc & -- PAVEL TANKOV Senior Quality Assurance Engineer, Secure Transport, Axway P: +359 (2) 817-8449 Business Park Sofia, Mladost 4, Build. 11, fl. 2 1766 Sofia, Bulgaria ptan...@axway.com - http://www.axway.com On Saturday 27 February 2010 21:33:35 Tennis Smith wrote: > Hi, > > I'm confused about the info in section 3.7 of the installation guide. It > seems to indicate that STAFEnv.sh really isn't needed _except_ when there > are 2 staf versions on the same machine. > > But right now, I use STAFEnv.sh in my .bashrc files to inherit the staf > environment. Bad idea? > > Here's how I use it: > > if [ -f /opt/staf/STAFEnv.sh ]; then > . /opt/staf/STAFEnv.sh > fi > > My OS is CentOS. > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users