Loading scripts/profile_nse.sh 0 → 100755 +15 −0 Original line number Diff line number Diff line #!/bin/bash if [ -f /etc/profile ]; then . /etc/profile fi if [ -f /etc/bashrc ]; then . /etc/bashrc fi if [ -f /SNS/software/nse/etc/setup_nse.sh ]; then . /SNS/software/nse/etc/setup_nse.sh fi scripts/setup_nse.sh 0 → 100755 +26 −0 Original line number Diff line number Diff line #!/bin/bash argv0='setup_nse.sh' case "$-" in *i*) NSETOPDIR=/SNS/software/nse GLI_HOME=$NSETOPDIR/lib/gli GRDIR=$NSETOPDIR/lib/gr TEXMFHOME=$NSETOPDIR/share/texmf PYTHONPATH=$NSETOPDIR/lib/python #:$PYTHONPATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GLI_HOME PATH=$NSETOPDIR/anaconda/bin:$NSETOPDIR/bin:$GLI_HOME:$PATH xdg-mime default evince.desktop application/pdf 2> /dev/null export GLI_HOME GRDIR TEXMFHOME PYTHONPATH LD_LIBRARY_PATH PATH echo "" echo "------------------------------------------------------------------------" echo " *** SNS NSE reduction/analysis environment is set *** " echo echo " If this is the first time you are running this script, please also run " echo " drspine_create_env.sh " echo " Questions? email zolnierczukp@ornl.gov" echo "------------------------------------------------------------------------" ;; *) ;; esac Loading
scripts/profile_nse.sh 0 → 100755 +15 −0 Original line number Diff line number Diff line #!/bin/bash if [ -f /etc/profile ]; then . /etc/profile fi if [ -f /etc/bashrc ]; then . /etc/bashrc fi if [ -f /SNS/software/nse/etc/setup_nse.sh ]; then . /SNS/software/nse/etc/setup_nse.sh fi
scripts/setup_nse.sh 0 → 100755 +26 −0 Original line number Diff line number Diff line #!/bin/bash argv0='setup_nse.sh' case "$-" in *i*) NSETOPDIR=/SNS/software/nse GLI_HOME=$NSETOPDIR/lib/gli GRDIR=$NSETOPDIR/lib/gr TEXMFHOME=$NSETOPDIR/share/texmf PYTHONPATH=$NSETOPDIR/lib/python #:$PYTHONPATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GLI_HOME PATH=$NSETOPDIR/anaconda/bin:$NSETOPDIR/bin:$GLI_HOME:$PATH xdg-mime default evince.desktop application/pdf 2> /dev/null export GLI_HOME GRDIR TEXMFHOME PYTHONPATH LD_LIBRARY_PATH PATH echo "" echo "------------------------------------------------------------------------" echo " *** SNS NSE reduction/analysis environment is set *** " echo echo " If this is the first time you are running this script, please also run " echo " drspine_create_env.sh " echo " Questions? email zolnierczukp@ornl.gov" echo "------------------------------------------------------------------------" ;; *) ;; esac