Versions Compared

Key

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

Running Kepler using IMAS environment

Setting up environment


Warning

Please do not forget to set JAVA memory settings:

export _JAVA_OPTIONS="-Xss20m -Xms8g -Xmx8g"


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$HOME
 
cd ~
lnmkdir -s $ITMWORK/kepler_imas

...

Running Kepler (default release)

In order to switch to IMAS environment start Kepler you have use helper script scripts that will unload ITM modules and will load IMAS related modulesinstall and configure your personal copy of Kepler

...

languagebash
linenumberstrue
    • load

  • switch from ITM module to
    • IMAS module

      Code Block
      languagebash
      linenumberstrue
      module 
  • unload
    • load 
  • itmenv
    • imas
      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

    • kepler
      
      # NOTE! It might be that you don't have Kepler copy inside your $HOME
      # in that case you need to install it
       
      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

...