Installing the Professor system¶Note If you have access to the CERN AFS file system you can try to use a version of Professor installed under /afs/cern.ch/sw/lcg/external/MCGenerators/professor. Required packages¶In order to use the Professor tools you will need the following external packages:
Except for PyMinuit, all current Linux distributions should come with recent enough versions of these packages. Make sure that you get the correct version of PyMinuit: PyMinuit2 is probably the version you want, which connects to a recent version of ROOT. You may have to persuade its build system to find your ROOT system’s header files if they are not in a standard location. Many Professor features also require the Python packages and plotting scripts which come with the Rivet MC validation toolkit. As Rivet is anyway the normal source of input data for Professor tuning, we highly recommend that you install Rivet. Detailed instructions are available on the Rivet website, and there is a handy bootstrapping script available to get everyting up and running as quickly as possible. Sorry, Professor doesn’t have a clever script like that! Installing Professor¶There is not currently a Professor release tarball: you should get the code from SVN by e.g.: svn checkout http://svn.hepforge.org/professor/tags/professor-1.0.1
or, if you want to get the development version: svn checkout http://svn.hepforge.org/professor/trunk/ professor-trunk
This will create a directory like professor-XXX, containing a bin and professor directory. The bin directory contains all scripts that come with Professor (and that are prefixed by prof-). The professor directory contains the library modules that are shared by the Professor scripts. To make the Professor scripts and modules available you have several options:
Programmable completion in bash¶Another useful installation detail is the prof-completion file in the Professor source directory. This provides more intelligent command-line tab-completion for the Professor scripts in bash shell terminals, with awareness of script option flags and arguments. prof-completion can be sourced explicitly with: source prof-completion
It will be installed into $prefix/etc/bash_completion.d by installation method number 2 above, from where it may be automatically picked up by the bash shell programmable command-line completion system. As with all shell configurations, unless it is automatically read at shell initialisation or added to your $HOME/.bashrc file, it will need to be explicitly sourced in each new terminal where you wish to get its benefits. |