You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

1. Changing KEPLER_DIR to ITM_KEPLER_DIR in few, easy, steps

  1. 1.1. Check whether you have KEPLER_DIR defined inside your environment

 

echo $KEPLER_DIR

1.2. If you have KEPLER_DIR set, check whether it is set inside scripts

 

grep -H -n -s KEPLER_DIR $HOME/.bashrc $HOME/.bash_profile $HOME/.tcshrc $HOME/.cshrc $HOME/.login
 
# empty result - nothing to worry about
# something printed on the screen - make sure to update the file (remove the line that defines KEPLER_DIR
  • check whether you have "broken" Kepler installation
find $KEPLER_DIR -name "version" | sed "s|$KEPLER_DIR||" | sed 's/^\///' | cut -f1 -d'/'
 
# empty result - nothing to worry about
# something printed - make sure to move listed directories into new location (see below)

1.3. Create new location for CPO based Kepler

Make sure to create new location for Keplers in CPO flavour. This directory can have any name, and should be located inside ITMWORK

cd $ITMWORK
mkdir cpo-based-kepler

1.4. Make sure to update your .cshrc/.bashrc files

 

Updating csh based environment

# make sure to add the line below inside ~/.cshrc
setenv ITM_KEPLER_DIR $ITMWORK/cpo-based-kepler

Updating bash based environment

# make sure to add the line below inside ~/.bashrc
export ITM_KEPLER_DIR $ITMWORK/cpo-based-kepler
  • No labels