Versions Compared

Key

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

Running Kepler using IMAS environment

Setting up environment

Backing up old files

Before first configuration of Kepler, make sure to backup your old data files

Code Block
languagebash
linenumberstrue
cd ~ 
mv .kepler .kepler~
mv KeplerData KeplerData~
mv .ptolemyII .ptolemyII~

Creating place to store your personal installations of Kepler

IMAS based installations are stored inside $HOME/kepler directory. Due to fact that ITM environment uses $HOME/kepler in slightly different way, we have decided to use kepler_imas instead.

Please note that this approach might be a subject to a change.

Before proceeding further, make sure to create kepler_imas directory

Code Block
languagebash
linenumberstrue
# create directory inside $ITMWORK and create symbolic link
# inside your HOME directory
 
mkdir $ITMWORK/kepler_imas
cd ~
ln -s $ITMWORK/kepler_imas

Switch to IMAS environment

In order to switch to IMAS environment you have use helper script that will unload ITM modules and will load IMAS related modules

Code Block
languagebash
linenumberstrue
# for Bash, make sure to call
 
source $ITMSCRIPTDIR/set_tutorial_env.sh
 
# for tcsh, make sure to call
 
source $ITMSCRIPTDIR/set_tutorial_env.tcsh
 
# In the background, to make things more convenient, set of modules will be loaded for you
# module load gateway
# module load python
# module load imas/3.7.3
# module load imas-kepler
# module load imas-fc2k

Installing Kepler inside your private location

To get Kepler installed, simply run

Code Block
languagebash
linenumberstrue
kepler_install_light

This script will put current IMAS installation inside $HOME/kepler_imas

Start Kepler

Code Block
languagebash
linenumberstrue
# run alias that will execute Kepler
 
kepler.sh