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

  • switch from ITM module to IMAS module

    Code Block
    languagebash
    linenumberstrue
    module unload itmenv
    module load imasenv
    imasdb <machine_name>

    OR

  • purge all modules and load "clean" IMAS environment

    Code Block
    linenumberstrue
    module purge
    module load cineca
    module load imasenv
    imasdb <machine_name>

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