You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

or CPT's wonderful journey through the installer towards getting IMAS on new platforms.


Disclaimer: all example steps given below are assuming BASH being your shell of choice. 


1. Installing main dependencies

Follow the list of requirements/dependencies as stored in https://git.iter.org/projects/IMAS/repos/access-layer/browse/README.md

Add modules to set them up in the environment.



2. Installing IMAS

2.1. Getting the IMAS installer

Clone the installer using either master (recommended) or develop branch (at your own risk)

git clone ssh://git@git.iter.org/imas/installer.git

2.2. Preparing the configuration

Create target directory where all IMAS related tools will be deployed (will be referenced as IMAS_HOME from now on).

Adapt site-config/Makefile.default to the local configuration and needs. Look at tools/imas-config.in to try to guess how to name your own site-config file, and/or check which files are being targeted by running 

DEBUG=1 ./tools/imas-config.in


 


Run make help to check if the configuration generates the expected setting.


git clone https://g2bpalak@gforge6.eufus.eu/git/imasscripts



Example with real steps followed on IPP's tok cluster.












  • Updating tools/imas-config.in

    diff --git a/tools/imas-config.in b/tools/imas-config.in
    index 7d7cdc4..84c7f11 100755
    --- a/tools/imas-config.in
    +++ b/tools/imas-config.in
    @@ -126,6 +126,7 @@ getalias() {
       [[ "$1" =~ ^gpu(008|010).fusion.ccfe.ac.uk$ ]] && echo "UKAEA.GPU"
       [[ "$1" =~ ^ipp.mpg.de$ ]] && echo "IPP-Garching"
       [[ "$1" =~ ^mpcdf.mpg.de$ ]] && echo "IPP-Garching"
    +  [[ "$1" =~ ^bc.rzg.mpg.de$ ]] && echo "IPP-Garching"
       [[ "$1" =~ ^nakasvr17.naka.qst.go.jp ]] && echo "JT-60"
  • Creating site-config/Makefile.IPP-Garching.SLES-15







  • No labels