1. Most recent steps for Gateway users
In order to use most recent version of Kepler do following. First of all make sure you have directory imas-kepler
inside your $HOME
> mkdir -p $HOME/imas-kepler/modulefiles
Make sure to set IMAS_KEPLER_DIR
variable inside .cshrc
file
> echo "setenv IMAS_KEPLER_DIR $HOME/imas-kepler" >> ~/.cshrc
Now, you can load imasenv/3.21.0
module by calling
> module load imasenv/3.21.0
Note that this module uses kepler/2.5p2-2.1.5
instead of kepler/2.5p2-2.1.3
> module load imasenv/3.21.0 IMAS environment loaded. Please do not forget to set database by calling 'imasdb <machine_name>' !
Now, you can install your personal Kepler installation (please note that since release 2.5p-2.1.5
and keplertools-1.7.0
it is possible to switch between different installations of Kepler (they will not collide).
> kepler_install my_own_kepler Using IMAS_KEPLER_DIR at: /pfs/work/g2michal/imas-keplers. Using KEPLER_SRC from KEPLER: /gw/swimas/extra/kepler/2.5p2-2.1.5. mkdir: created directory ?/pfs/work/g2michal/imas-keplers/my_own_kepler? mkdir: created directory ?/pfs/work/g2michal/imas-keplers/my_own_kepler/.kepler? mkdir: created directory ?/pfs/work/g2michal/imas-keplers/my_own_kepler/.ptolemyII? mkdir: created directory ?/pfs/work/g2michal/imas-keplers/my_own_kepler/KeplerData? Done installing /pfs/work/g2michal/imas-keplers/my_own_kepler/kepler. ?/gw/swimas/extra/keplertools/1.7.0/share/modulefiles/kepler? -> ?/pfs/work/g2michal/imas-keplers/modulefiles/kepler/my_own_kepler? Kepler was installed inside /pfs/work/g2michal/imas-keplers/my_own_kepler Its module file is: /pfs/work/g2michal/imas-keplers/modulefiles/kepler/my_own_kepler To load this environment, run: module switch kepler/my_own_kepler To see available installations: module avail kepler
Now, you can list your own Kepler installations by calling
Warning
> module avail kepler
---- /pfs/work/g2michal/imas-keplers/modulefiles ----
kepler/my_own_kepler kepler/test
As you can see, your personal Kepler installations are available via modules. In order to switch to given version of Kepler you need to switch the module
> module switch kepler/my_own_kepler
Once you have set version of Kepler, you can run it by typing kepler
> kepler kepler The base dir is /marconi_work/eufus_gw/work/g2michal/imas-keplers/my_own_kepler/kepler Kepler.run going to run.setMain(org.kepler.Kepler) JVM Memory: min = 1G, max = 8G, stack = 20m, maxPermGen = default ... ...