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

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

echo $KEPLER_DIR

2.1. 2. In case you have KEPLER_DIR set, check whether it is set inside startup 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)

2.2. 3. In case you have KEPLER_DIR set, make sure to check whether you have "broken" Kepler installation

In case you have some broken installations (result of command below is not empty), you have to move all these installations to new location (see point 4)

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)

2.3. 4. 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. If you have found some directories in previous step, you can move them here - into new location.

cd $ITMWORK
mkdir cpo-based-kepler

2.4. 5. Make sure to update your .cshrc/.bashrc files

Updating csh based environment

In case you use tcsh (as default shell) make sure to update ~/.cshrc

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

Updating bash based environment

In case you use bash (as default shell) make sure to update ~/.bashrc

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