You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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!

CHEAT SHEET
DB creationITMIMAS
DB creation
$ITMSCRIPTDIR/create_user_itm_dir <machine> <version>
imasdb <machine>
DB switching
source $ITMSCRIPTDIR/ITMv2 <machine> [<local_kepler_dir>]
imasdb <machine>
pulse file listing
itmdbs
imasdbs
pulse files
euitm_<shot><run>.datafile,
euitm_<shot><run>.tree,
euitm_<shot><run>.characteristics
ids_<shot><run>.datafile,
ids_<shot><run>.tree,
ids_<shot><run>.characteristics
 DB folder
 $HOME/public/itmdb/itm_trees/<machine>/<version>/mdsplus/0/

~g2bpalak/public/itmdb/itm_trees/test/4.10b/mdsplus/0/

$HOME/public/imasdb/<machine>/<version>/mdsplus/0/
~g2bpalak/public/imasdb/test/4.10b/mdsplus/0/
Contentcpodumpidsdump
Copycpocopyidscopy

1. 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_realids_int
    • values: ids_int_invalidids_real_invalid
    • routines: ids_is_valid for: int, array of int, real, array of reals

 

CHEAT SHEET
 ITMIMAS
module loading
shell> module load itmtypes
shell> module load imas
pkgconfigpkg-config --libs --cflags itmtypes-amd64_<compiler>_<compiler_version>.pc

pkg-config --libs --cflags imas-<compiler> (where <compiler>=ifort,gfortran,...)

using library (Fortran)
use itm_types
use ids_types

2. 6.2 ITM constants >>Bartek<<

 

3. 6.3 XMLLib >>Michal<<

4. 6.4. GGD >>Dejan<<

  • No labels