Versions Compared

Key

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

...

Releasing IMAS AL and IMAS libs when new DD version (x.y.z)  occurs

IMAS AL

Releasing Release new version of IMAS AL (described on other pages)

...

  1. Check, in which dir imasenv  modules are stored

    Code Block
    ~>module show imasenv
    -------------------------------------------------------------------
    /path/to/imasenv/a.b.c/:


  2. cd  /path/to/imasenv/ 
  3. cp -r a.b.c x.y.z-alpha
    1.  Assumption: a.b.c is (so far) the latest version of imasenv
    2. Version x.y.z will be (until all libraries will be ready) marked as -alpha to warn the users that it is "under construction"
  4. cd x.y.z-alpha 
  5. Contents of x.y.z-alpha dir: 

    Code Block
    x.y.z-alpha>ls -la
    drwxr-xr-x  gcc
    drwxr-xr-x  intel
    lrwxr-xr-x  rc -> intel/17.0/rc		# link to default module imasenv/x.y.z/rc
    -rw-r--r--  .version				# definition of default compiler of imasenv/x.y.z


    Code Block
    x.y.z-alpha>cat .version
    #%Module######################################################################
    # Default version
    set ModulesVersion  intel
    www
  6. Updating of imasenv module content
    1. all files x.y.z-alpha/<compiler>/<version>/rc (e.g. 3.26.0-alpha/gcc/7.3.0/rc) needs to be updated (rc is always the first published version, tagged on user demand)}}

    2. open these file using any editor
    3. updating IMAS AL versions 

      Code Block
      set imas_version x.y.z
      set al_version   a.b.c  


    4. Update all "submodules" versions (if needed/requested)
  7. imasenv  module is updated, but when loading, it reports several errors - no lib compiled for new DD versions are available - to compile them - see next point


Updating of IMAS libraries

DD dependent vs independent libraries

  1. There are two kinds of IMAS libraries:
    1. DD independent: BLAS, LAPACK, INTERPOS, XMLLIB . 
    2. DD dependent: GGD, LIBBDS, AMNS
  2. BLAS/LAPACK have to be installed only if there are no system-wide ones available 
  3. DD independent libraries don't have to be re-installed after DD update but only if users requests a new version
  4. DD dependent libraries needs to be re-installed after every DD update/change


Installation scripts