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-42d executable of MOCADI, linked static for 64bit
mocadi-40b-32 last executable of MOCADI linked static for 32bit
mocadiR-42d-64 with root tree output, requires dynamically linked root lib 608-02 for 64bit
gmocadi-40 GUI for mocadi, linked static
gmocadiR-40-32 GUI for ROOT mocadi, 32bit version, requires dynamically linked root lib 534-19 for 32bit
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_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-41h 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 Dr. Helmut Weick, 25th May 2018, contact h.weick(at)gsi.de,  Imprint (Impressum), Privacy Policy (Datenschutzerklärung)