Versions Compared

Key

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

...

Installation scripts

  1. Fetching scripts
    1. git clone httpsclone https://<GW user login>@gforge6login>@gforge-next.eufus.eu/git/imasscripts

    2. Content of the cloned repo (branch master)

      Code Block
      imasscripts>ls -la
      drwxr-xr-x  2 g2bpalak g2itmdev 4096 Jan 24 11:39 amns
      drwxr-xr-x  3 g2bpalak g2itmdev 4096 Jan 24 11:40 blas
      drwxr-xr-x  2 g2bpalak g2itmdev 4096 Jan 24 11:43 ggd
      drwxr-xr-x  2 g2bpalak g2itmdev 4096 Jan 24 11:39 interpos
      drwxr-xr-x  3 g2bpalak g2itmdev 4096 Jan 24 11:40 lapack
      drwxr-xr-x  2 g2bpalak g2itmdev 4096 Jan 24 11:43 libbds
      drwxr-xr-x  2 g2bpalak g2itmdev 4096 Jan 24 11:43 xmllib


  2. Script structure 

...

  1. Set compiler:
    1. module load imasenv/x.y.z-alpha/<compiler vendor>/<compiler version> e.g.  imasenv/3.26.0-alpha/intel/17.0 
    2. pls ignore all errors related to libraries that are not compiled yet
  2. Set a proper version/tag 
    1. Check which version of given lib is the latest one
    2. edit build.sh  to set <LIBRARY>_VERSION="a.b.c"  (e.g AMNS_VERSION="1.3.0") 

  3. run ./build.sh 
  4. Usually after installation there are still few manual steps required (to be automatised in future) - see next point

Specific actions

to be automatised in future

AMNS

Modules need to be installed manually

  1. Create modulefiles 
    1. location: $IMAS_HOME/etc/modulefiles/amns/<amns_version>/<compiler>/<version>/imas/<DD version> (e.g. etc/modulefiles/amns/1.3.0/intel/17.0/imas/3.26.0)
    2. the best way is to copy modulefile describing previous version of AMNS

  2. Edit modulefiles:
    1. update prereq 
    2. update prefix  

GGD

No extra actions to be taken...

LIBBDS

...

IMASViz

TBD


THE END

Renaming imasenv/x.y.z-alpha to imasenv/x.y.z


Code Block
mv /path/to/imasenv/x.y.z-alpha /path/to/imasenv/x.y.z



Info
titleAcknowledgement

This work has been carried out within the framework of the EUROfusion Consortium and has received funding from the Euratom research and training programme 2014-2018 under grant agreement No 633053.The scientific work is published for the realization of the international project co-financed by Polish Ministry of Science and Higher Education in 2019 and 2020 from financial resources of the program entitled "PMW"; Agreement No. 5040/H2020/Euratom/2019/2 and 5142/H2020-Euratom/2020/2”.