Table of Contents |
---|
Info |
---|
Installation described below uses system compiler (GCC 4.8.5), because of its advantage - it can be used by both: higher GCC versions and Intel compiled libraries |
Components to be installed
Fat-client setup
If we are using the fat-client set-up then following needs to be installed locally:
* UDA fat-client
* UDA plugins
Thin-client setup
If we are using the thin-client set-up then only the UDA client needs to be installed – though a UDA server will need to be running somewhere accessible with the UDA plugins running on that server.
UDA
Dependencies
DD & AL dependency
UDA is completely DD & AL independent.
A common uda server can be used for all IMAS versions to date and the IMAS backend calls this in fat mode.
Installation
...
Other dependencies:
module load cmake/3.5.2
module load itm-boost/1.78.0/gcc/4.8
Installation
- Cloning repository
- git clone ssh://git@git.iter.org/imas/uda.git
- cd uda
- git checkout tags/<tag_number>
- Building
- env UDA_INSTALL=/gw/swimas/extra/uda/<tag_number>/gcc/4.8.5 ./scripts/cmake-itm-marconi-gcc-4.sh
make -C build-gcc-4
Installation
make -C build-gcc-4 install
Setting system module (has to be done manually)
- copy existing module (e.g. cp -r /gw/modules/lib/itm-boost/1.78.0 /gw/modules/lib/itm-boost/<installed version>)
- update versions etc
- Setting pkg-config (has to be done manually)
- copy existing files (e.g. cp -r /gw/switm/boost/1.78.0/gcc/4.8/lib/pkgconfig /gw/swimas/extra/uda/<tag_number>/gcc/4.8.5/lib)
- update versions etc
UDA Plugins
Dependencies
DD & AL dependency
* UDA-plugins is IMAS LL dependent. There is no run-time dependency on the data-dictionary (only access layer), only on mapping files, that should be consistent with DD version. The inconsistency will not cause any runtime errors (crash etc) but the data retrieval will fail as the mappings do not yet comply with the latest DD updates. Procedurally, perhaps there should be a step to confirm DD compliance of the mappings at each release too.
...
In addition to the basic installation steps I believe a new module-file should be produced for the uda-plugins library produced in this process which should be named with the corresponding access layer version it’s valid for. I think Jonathan set something up to achieve this a couple of years ago but I don’t know if it will be executed in the default build. scripts/cmake-itm-marconi.sh seems to install to /gw/swimas/extra/uda/plugins/1.2.0/AL/$AL_VERSION so maybe this already works out of the box
Other dependencies:
libssh/0.9.6/gcc/4.8
module load itm-boost/1.78.0/gcc/4.8
module load uda/2.5.0/gcc/4.8.5
Installation
- Cloning repository
- git clone ssh://git@git.iter.org/imas/uda-plugins.git
- cd uda-plugins
- git checkout tags/<tag numer>
- Building
- env UDA_INSTALL=/gw/swimas/extra/uda/plugins/1.2.0/AL/4.9.2/gcc/7.3.0 ./scripts/cmake-itm-marconi.sh
- make -C build
...