CopyrightMOCADI Program DownloadCopyright

Mocadi home  |   Manual  |   Download Area  |   Program  

You need the executable, the mass table, a MOCADI input file, and the spline files describing the interaction with matter. The file TEST.MAT serves as a test example for an optical system. atima and wedge are two smaller helpful programs using partly the same source code as MOCADI. For viewing the output you can use a ROOT tree or PAW ntuples.
WINDOWS users should not wonder what their system tries to do with these files. Just "save target as .." and use on LINUX.  

Important files:

mocadi-42g executable of MOCADI, linked static (Debian 10, 64bit)
mocadiR-42g with root tree output, requires dynamically linked root lib 624-04 (Debian 10, 64bit)
mocadiR-42g-Deb8 with root tree output, requires dynamically linked root lib 624-04 (Debian 8, 64bit)
mocadi-40b-32 last version for 32bit (Debian 8)
gmocadi-40 GUI for mocadi, linked static
gmocadiR-40f-64 GUI for ROOT mocadi, 64bit version, requires dynamically linked root lib 606-06 for 64bit
atima executable for energy-loss calculation
wedge executable for wedge angle calculation
splines_gz.tar all spline files for energy loss data  [1.5 GB]
mass.mas12 mass table, AME 2012 (default)
MASS_EXP.MAS03 mass table, AME 2003
masswbn older mass table
xfit-files.tar.gz cross section files for charge exchange, optional
gmocadi-12optional GUI, linked dynamically, more versions see gmocadi web page
test.in easy example of input file
TEST.MAT example matrix file for ion optics

Helpful additional programs:

gicosy2mocadif Fortran program to convert GICOSY output to a MOCADI input file
gicosy2mocadi-v2 Perl script to make all settings, run GICOSY and gicosy2mocadif

 How to install:

 1.) The executable is "mocadi-4x",
    "atima" and "wedge" are two smaller helpful programs
    made of the same subroutines as mocadi.
    The directory structure should be:
      /YourDir/mocadi/exe    (for the executables)
      /YourDir/mocadi/splines_gz   (for the ATIMA splines)
      /YourDir/mocadi/data    (for the other data files like mass tables)

2.) copy "splines_gz.tar" and untar it.
    >tar -xvf splines_gz.tar
    This creates a subdirectory /splines_gz
    with very many gzipped files, do not decompress them.

3.) make directory for data files
    >mkdir /YourDir/data
    copy mass tables and cross section files to this directory
    >cp MASS_EXP.MAS03 data/.

4.) Set pathnames with environment variables.
    In bash and korn shells the command is export (for others ?)
    directory for mass tables (MASS_EXP.MAS03, masswbn):
    >export MOCADI_DATA='/YourDir/data'
    directory for spline files (energy loss information):
    >export MOCADI_SPLINES_GZ='/YourDir/splines_gz'

5.) run mocadi
    >mocadi-42d test.in
    "test.in" is a very simple test example which reads spline files and the matrix file TEST.MAT.
    The output should be test.out and test.hbk
    To view ntuple files graphically you need PAW or ROOT.
    This directory contains some versions of "pawX11".
    >pawX11

6.) for more information (manual, examples, ion optics files)
    see http://web-docs.gsi.de/~weick/mocadi (this web page)
    and for information on paw
    http://wwwinfo.cern.ch/asd/paw

7.) From version 40c on GLOBAL is integrated into MOCADI directly. No extra cross section files are needed any more. The files with fitted polynomials may only be used to speed up calculation.
Here is a recipe to create more charge-changing cross section files (*.xfit), recipe and source code

 


This page was last modified by Helmut Weick, 12th May 2023, contact h.weick(at)gsi.de,  Imprint (Impressum), Privacy Policy (Datenschutzerklärung)