Versions Compared

Key

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

Most recent steps for Gateway users

In order to use most recent version of Kepler do following.

Info
titleMore info (technical details) can be found here

You can find more info regarding this installation at ITER: https://confluence.iter.org/display/IMP/2019/05/24/New+release+and+installation+of+IMAS+and+Kepler+on+ITER+cluster

Warninginfo
Remove
titleMake sure to set KEPLER_DIR properly

If you want, you can use KEPLER_DIR variable

to set preferred location for all Kepler installations

Code Block
# tcsh
> setenv KEPLER_DIR $ITMWORK/imas_kepler
 
# bash
> export KEPLER_DIR=$ITMWORK/imas_kepler
 

You can use different location if you like.

Warning
titleITM_KEPLER_DIR vs. KEPLER_DIR

In the past, KEPLER_DIR variable was used to set location of user based installations inside ITM. This variable was adapted by IMAS based release of Kepler.

If you want to set location of your ITM based Keplers, make sure to use variable ITM_KEPLER_DIRMake sure you don't have KEPLER_DIR set inside ~/.cshrc or ~/.profile or ~/.bashrc

Load imasenv/3.23.1 module by calling

Code Block
> module load imasenv/3.23.1

Note that you this module uses By default kepler/2.5p4-develop-nll_alpha2 by default nad you have to switch to kepler/2.5p4-3.0.03.0.1 is loaded together with imasenv/3.23.1

Code Block
> module load imasenv/3.23.1
INFO: No wpcdenv was set. Using default one.
IMAS environment loaded.
Please do not forget to set database by calling 'imasdb <machine_name>' !
> module switch kepler/2.5p4-3.0.0
 

Now, you can install your personal Kepler installation (please note that since release kepler/2.5p4-3.0.0 and keplertools-1.8.1 it is possible to switch between different installations of Kepler (- they will not collide).

Code Block
> kepler_install my_2.5p4-3.0.01
Using KEPLER_DIR at: /afs/eufus.eu/user/g/g2michal/.local/kepler.
Using KEPLER_SRC from KEPLER: /gw/swimas/extra/keplertools/1.8.0.
mkdir: created directory ?/afs/eufus.eu/user/g/g2michal/.local/kepler/my_2.5p4-3.0.0?1
mkdir: created directory ?/afs/eufus.eu/user/g/g2michal/.local/kepler/my_2.5p4-3.0.01/.kepler?
mkdir: created directory ?/afs/eufus.eu/user/g/g2michal/.local/kepler/my_2.5p4-3.0.01/.ptolemyII?
mkdir: created directory ?/afs/eufus.eu/user/g/g2michal/.local/kepler/my_2.5p4-3.0.01/KeplerData?
Done installing /afs/eufus.eu/user/g/g2michal/.local/kepler/my_2.5p4-3.0.01/kepler.
?/gw/swimas/extra/keplertools/1.8.1/share/modulefiles/kepler? -> ?/afs/eufus.eu/user/g/g2michal/.local/kepler/modulefiles/kepler/my_2.5p4-3.0.0?1
Kepler was installed inside /afs/eufus.eu/user/g/g2michal/.local/kepler/my_2.5p4-3.0.01
Its module file is: /afs/eufus.eu/user/g/g2michal/.local/kepler/modulefiles/kepler/my_2.5p4-3.0.01
To see available installations: kepler_avail
To remove this installation, run: kepler_remove my_2.5p4-3.0.01
To load this environment, run: kepler_load my_2.5p4-3.0.01
( or module load /afs/eufus.eu/user/g/g2michal/.local/kepler/modulefiles/kepler/my_2.5p4-3.0.01 )
Warning
titleKepler location

Note that by default, Kepler is installed inside $HOME/.local/kepler.

You can change this location by creating symbolic link pointing to some other placesetting KEPLER_DIR variable

Code Block
# tcsh
> mkdir $ITMWORK/my_imas_keplers
> mkdir -p ~/.local
> cd ~/.local
 
# make sure to backup all the stuff you already have there
> mv kepler kepler~
> ln -s setenv KEPLER_DIR $ITMWORK/my_imas_keplers# tcsh


# bash
> mkdir $ITMWORK/my_imas_keplers
> export KEPLER_DIR=$ITMWORK/my_imas_keplers kepler

...


Now, you can list your own Kepler installations by calling

Code Block
> kepler_avail
Using KEPLER_DIR at: /afs/eufus.eu/user/g/g2michal/.local/kepler.
Available local installations (* currently loaded):
* my_2.5p4-3.0.01  	: /gw/swimas/extra/kepler/2.5p4-3.0.01	keplertools/1.8.1
WARNING: KEPLER is not in KEPLER_DIR (/afs/eufus.eu/user/g/g2michal/.local/kepler)!

...

Code Block
> kepler_load my_2.5p4-3.0.01

Once you have set version of Kepler, you can run it by typing kepler

Code Block
> kepler
The base dir is /afs/eufus.eu/g2itmdev/user/g2michal/.local/kepler/my_2.5p4-3.0.01/kepler
Kepler.run going to run.setMain(org.kepler.Kepler)
JVM Memory: min = 1G,  max = 8G, stack = 20m, maxPermGen = default
...
...