Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

In case you have never ever installed Kepler you can always take a look at short demo movie that is located at following location:

$SWITMDIR/resources/tutorials/movies/installation_of_kepler.mp4
Warning

Note that this page may become outdated after some time. You can always take a look at TWiki pages to get most recent version of manual: Kepler installation at Marconi Gateway

Setting up environment

Backing up old files

...

Code Block
languagebash
linenumberstrue
mkdir $ITMWORK/my_keplers
# it might be convenient to create symbolic link inside HOME as well
ln -s "$ITMWORK/my_keplers" my_keplers

And make sure to export export ITM_KEPLER_DIR variable that points to this location

Code Block
languagebash
linenumberstrue
# for tcsh, put following command inside .cshrc
setenv ITM_KEPLER_DIR $ITMWORK/my_keplers

# for bash, put following command inside .bashrc
export ITM_KEPLER_DIR=$ITMWORK/my_keplers

...

scriptarguments/optionspurpose
list_keplers.sh

-help (shows options)

-all (shows all Kepler versions)

list available keplers
install_kepler.sh

target_dir src_kepler description

target_dir: chosen directory name inside $KEPLER$ITM_KEPLER_DIR
src_kepler: name of Kepler version (as given by list_keplers.sh)
description: chosen descriptive text (in quotes)

installs local or central keplers
list_my_keplers.sh lists keplers that are already installed in your home location
switch_to_kepler.sh

kepler_name

kepler_name: name of the installed Kepler (as given by list_my_keplers.sh)

changes current working version of Kepler

Sample installation session

Make sure

...

$ITM_KEPLER_DIR points to location where Keplers will be installed

Code Block
languagebash
linenumberstrue
setenv ITM_KEPLER_DIR $ITMWORK/my_keplers

...

Code Block
languagebash
linenumberstrue
# I will use following command
# install_kepler.sh my_R3_RC_ETS 2.4/R3_RC_ETS/central 'This is my first installation at Marconi'
# my_R3_RC_ETS - is the name of directory where Kepler will be stored
# 2.4/R3_RC_ETS/central - points to installation I am interested in
# 'This is my first installation at Marconi' - this is just a description that can make it easier
#   to choose between installations later on
 
<g2michal@s34 ~>install_kepler.sh my_R3_RC_ETS 2.4/R3_RC_ETS/central 'This is my first installation at Marconi'
Using location at: /afs/eufus.eu/user/g/g2michal/kepler_dir
Linking common ...
~/kepler_dir/my_R3_RC_ETS/kepler ~
~
Linking gui ...
~/kepler_dir/my_R3_RC_ETS/kepler ~
~
Linking kepler-tasks ...
Linking build-area ...
Linking build-area/target ...
Copying kepler.sh ...
Creating itm subdirectory structure ...
Linking directories ...
  build-area
  settings
  target
  itm
  resources
  kar
  src
  cpp
  itm
  eu
  itm
  target
  classes
  eu
  itm
  lib64
  python
  kepler-tasks-2.4
  lib
  jar
  common-2.4
  configs
  ptolemy
  configs
  kepler
  ontologies
  gui-2.4
  resources...
...
  configurations
Creating info file
Creating Kepler related directories
Kepler was installed inside /afs/eufus.eu/user/g/g2michal/kepler_dir/my_R3_RC_ETS

...