GIT resources
- [Update] AccessAccess-layer: branch improvement/develop_new_low_level
NOTE: this branch is a clean fork of develop where we imported sources from improvement/new_low_level (which was based on Access Layer Unified, so with a messy history). If you have things in improvement/new_low_level, or any other branch of it, please import them into this new branch by one of the following ways: if changes are in a very small number of commits, you can try to cherry-pick them, otherwise, I would simply advise (only this one time import) to do from improvement/develop/new_low_level a 'git checkout mybranch myfile' (for files which do not exist yet in improvement/new_low_level) or 'git checkout --patch mybranch myfile' (for existing files, allowing you do decide by hunks which part to keep or not).
- [Update] Data-dictionary: branch branch improvement/new_low_level_rebased_3.1618.0_structure_gen
NOTE: this branch of the DD (was previously improvement/all_in_utilities, and before that improvement/new_lowlevel) aims at improving IDSDef.xml so it contains needed info to build all automatically generated source codes, especially when it comes to sub-structure definition. It is also subject of some re-basing to keep it up to date with the last tagged version. This is subject to some changes as we discuss fixes and cleaning with Frederic.
Build notes
- History of versions previously in usage with the new AL is as follow:
- improvement/new_low_level_rebased_3.16.0_structure_gen
- improvement/new_low_level_rebased_3.16.0
- improvement/all_in_utilities
- improvement/new_lowlevel
Build notes
This version should be already installer compatible (see note below), but as the installer does not provide the best environment to develop/test the UAL, we are bypassing it and using our own script to set a compatible compilation environment. The core of the new lowlevel layer is developed in C++ and requires a compiler implementing some of the C++11 standards (Intel >= 13, and GCC >= 4.9). You will note that currently IFORT is disable from Makefile.common, as this version of the DD crashes ifort (typically when compiling edge_transport_put/get.f90): we hope to avoid this issue as soon as get/put modules have been implemented using subroutines at the sub-structure level (so far done only for copy_struct and deallocate_struct, will still require some update to IDSDef.xml, see DD note above).
...
To build everything (with Fortran HLI, but try to be reasonable with the number of parallel threads , and do understand that the fortran HLI might be not fully working as I have a few commits to be pushed and DD is being updated/fixed):
make -j16 install
Through the installer
Set the following environment before calling make (not tested recently):
, even if I usually don't ):
make -j16 install
Through the installer
Set the following environment before calling make (please adapt IMAS_HOME and SITEHOSTCONFIG to your local need):
export IMAS_HOME=/home/ITER/hoeneno/test-install
export IMAS_VERSION=improvement/new_low_level_rebased_3.18.0_structure_gen
export UAL_VERSION=improvement/develop_new_low_level
export IMAS_MAJOR=3
export SITEHOSTCONFIG=./site-config/Makefile.ITER.HPC.CentOS-5.5
export IMAS_CPP=no
export IMAS_JAVA=no
export IMAS_MATLAB=no
export IMAS_G95=no
export IMAS_IFORTexport IMAS_HOME=/home/ITER/hoeneno/test-install
export IMAS_VERSION=improvement/new_low_level_rebased_3.16.0
export UAL_VERSION=improvement/new_low_level
export IMAS_CPP=no
export IMAS_PYTHON=no
export IMAS_JAVAPYTHON2=no
export IMAS_MATLAB=no
export G95=no
export IFORT=no
export PYTHON=no
export PYTHON2=no
export PYTHON3=no
export JAVA=noIMAS_PYTHON3=no
And on the Gateway (UDA deployment is still work-in-progress at ITER) you need to load proper MDSplus and UDA versions:
module switch mdsplus/alpha
module use /afs/eufus.eu/user/g/g2jhollo/privatemodules
module load uda/develop
Building the tests
We have hand-made Fortran test programs
...