Changing KEPLER_DIR
to ITM_KEPLER_DIR
in few, easy, steps
1. Check whether you have KEPLER_DIR
defined inside your environment
...
Code Block |
---|
echo $KEPLER_DIR |
...
2. In case you have KEPLER_DIR
set, check whether it is set inside startup scripts
...
Code Block |
---|
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 |
...
3. Check whether you have "broken" Kepler installation
In case you have it, you will have to move it to new location (see point 4)
Code Block |
---|
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) |
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.
Code Block |
---|
cd $ITMWORK
mkdir cpo-based-kepler |
5. Make sure to update your .cshrc/.bashrc
files
...
Info |
---|
title | Updating csh based environment |
---|
|
In case you use tcsh (as default shell) make sure to update ~/.cshrc Code Block |
---|
# make sure to add the line below inside ~/.cshrc
setenv ITM_KEPLER_DIR $ITMWORK/cpo-based-kepler |
|
Info |
---|
title | Updating bash based environment |
---|
|
In case you use bash (as default shell) make sure to update ~/.bashrc Code Block |
---|
# make sure to add the line below inside ~/.bashrc
export ITM_KEPLER_DIR $ITMWORK/cpo-based-kepler |
|