TWiki> CLIC Web>Detector>IldSoftware (revision 5)EditAttachPDF

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/Mokka/mokka-06-07-patch03/mokka_sl4_environment.sh

Now Mokka should be ready to run!

Installing Mokka

Required Software

  • Geant4 (9.2)
  • CLHEP (2.0.4.2)
  • mySQL
  • Gear
  • LCIO

ILCSoft

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

Mokka Source Code

  • Current Version: mokka-06-07-patch03-calice

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 | Raw edit | More topic actions...
Topic revision: r5 - 2009-03-24 - AndreSailer
 
    • 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-2022 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