If you have access to the CERN AFS file system you can try to use
a version of Professor installed under
The base system for parametrisation requires:
- gcc >=4.6
- Compiler, C++11 compatible
- Eigen 3
- Linear algebra — headers only, version 3.26 and later recommended
In order to use the Professor tools you will need the following external packages:
The latest release of professor can always be found here.
Extract the tarball and compile as such:
CXXFLAGS="-I/LOCATION_OF_EIGEN_HEADERS -O4" make all
To make the Professor scripts and modules available you have several options:
Quick and dirty: Add the
bindirectory to your
export PATH="/path/to/bin:$PATH" export LD_LIBRARY_PATH="/path/to/lib:$LD_LIBRARY_PATH" export PYTHONPATH="/path/to/pyext/professor/:$PYTHONPATH"
in your shell (for C-shells the above commands must be modified). This should allow you to run the Professor scripts from the command line, e.g.:
To make this persistent between shell sessions you can add the above lines to your shell’s runtime configuration, e.g.
More systematic: Alternatively, you can use the setup.py script that is distributed with Professor and offers the usual options, try:
--prefixallows you to give a directory under which Professor is installed similar to the usual .configure && make && make install triple jump, e.g.:
./setup.py --prefix $HOME/local install
will install the scripts in
$HOME/local/binand the modules in
$HOME/local/lib/pythonXY/site-packages/where XY is the Python version available at this instance.