Releasing IMAS AL and IMAS libs when new DD version (x.y.z) occurs
1. IMAS AL
Release new version of IMAS AL (described on other pages)
2. imasenv/x.y.z
Check, in which dir imasenv modules are stored
~>module show imasenv ------------------------------------------------------------------- /path/to/imasenv/a.b.c/:
cd /path/to/imasenv/
cp -r a.b.c x.y.z-alpha
- Assumption:
a.b.c
is (so far) the latest version of imasenv - Version
x.y.z
will be (until all libraries will be ready) marked as -alpha to warn the users that it is "under construction"
- Assumption:
cd x.y.z-alpha
Contents of
x.y.z-alpha
dir: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
x.y.z-alpha>cat .version #%Module###################################################################### # Default version set ModulesVersion intel
- Updating of imasenv module content
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)}}
- open these file using any editor
updating IMAS AL versions
set imas_version x.y.z set al_version a.b.c
- Update all "submodules" versions (if needed/requested)
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
3. Updating of IMAS libraries
3.1. DD dependent vs independent libraries
- There are two kinds of IMAS libraries:
- DD independent: BLAS, LAPACK, INTERPOS, XMLLIB .
- DD dependent: GGD, LIBBDS, AMNS
- BLAS/LAPACK have to be installed only if there are no system-wide ones available
- DD independent libraries don't have to be re-installed after DD update but only if users requests a new version
- DD dependent libraries needs to be re-installed after every DD update/change