Michal, Dejan,
if it is only possible, please do it very briefly, using e.g. "Cheat sheet" (example below) or some bullet list.
please indicate only >>differences<< between ITM and IMAS concerning particular lib!
6.1 ITM Types
- ITM types are not a separate library any longer
- Defined as a part of UAL
- Available for Fortran only
- defines:
- types:
ids_real
,ids_int
- values:
ids_int_invalid
,ids_real_invalid
- routines:
ids_is_valid
for: int, array of int, real, array of reals
- types:
...
- Available for Fortran and CPP
- Two separate libraries: imas-constants and imas-identifiers
CHEAT SHEET | ||||
ITM | IMAS (constants) | IMAS (identifiers) | ||
---|---|---|---|---|
module loading | shell> module load xmllibitm-constants | shell> module load imas-xmllib/2.0.0-imas-3.7.4-GCC-6.1.0 | shell> module load imas | -xmllib/2.0.0-imas-3.7.4-intel-17.0|
pkgconfig (Fortran) | pkg-config --libs --cflags itm-constants | pkgconfig (Fortran) | pkg-config --libs --cflags xmllibimas-<compiler> (<compiler>=ifort ,gfortran,...) | pkg-config --libs --cflags imas-constantsidentifiers-<compiler> (where <compiler>=ifort, gfortran,...) |
using library (Fortran) | use itm_constants | use imas_constants_module | use imas_ | constantsidentifiers_module |
6.3 XMLLib
CHEAT SHEET | ||||||||
ITM | IMAS | |||||||
---|---|---|---|---|---|---|---|---|
module loading | shell> module load xmllib | shell> module load imas | ||||||
pkgconfig (Fortran) | pkg-config --libs --cflags xmllib-<compiler>.pc | pkg-config --libs --cflags imas-constants-<compiler> (where <compiler>=ifort,gfortran,...)xmllib | ||||||
using library (Fortran) | classic:
xpath:
xml2eg wrapper:
| use imas_imas_constants |
Sample codes:
ITM | IMAS | ||||
---|---|---|---|---|---|
|
|
...