Mokka: The ILD Simulation Software

Using the Mokka on the Common CLIC AFS Space

Do (on sh-type shell): source /afs/cern.ch/eng/clic/software/x86_64-slc5-gcc41/Mokka/mokka-07-05/mokka_afs_0705.sh

Now Mokka should be ready to run!

Installing Mokka: THIS SECTION IS MOSTLY OUTDATED!

Required Software

  • Geant4 (9.3) (Xerces-C)
  • CLHEP (2.0.4.5)
  • mySQL
  • Gear
  • LCIO

ILCSoft

Gear, LCIO and CLHEP can be easily installed using IlcSoftInstall, if they are not already installed.

Mokka Source Code

  • Old Version: mokka-06-07-patch03-calice
  • Old Version: mokka-07-00
  • Current Version: mokka-07-05

Note: Mokka has moved to subversion, updated install information comming soon...

To obtain the Mokka source code from CVS do (See also on the Mokka Website): (on sh-type)

$ export CVSROOT=:pserver:anoncvs@pollin1.in2p3.fr:/home/flc/cvs
$ cvs login 
###password %ilc%
$ cvs checkout -r <tag> Mokka

Environment Variables

Before Compiling Mokka several environment variables have to be set. See my example file.

Compiling Mokka

Now Compile Mokka

$ mokka> gmake -C source/ 

After the compilation (n.b.: This might not be necessary depending on the way geant4 was compiled.) Create a folder "lib" or "lib64" in the the Mokka base directory and create a link to all the Mokka libraries, if this folder does not already exist:

$ mokka/lib> ln -s ../tmp/${G4System}/*/*.so .

Now Mokka should be ready to run!

-- AndreSailer - 04 Mar 2009

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2010-09-20 - ChristianGrefe
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback