Documentation #215
give advise on minimal ROOT compilation
Status: | Archived | Start date: | 12 Mar 2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | wuttke | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
In apps.jcns.fz-juelich.de/doku/sc/bornagain:installing_root we should describe how to compile ROOT with minimum prerequisites.
A full ROOT installation contains at least the following modules: asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_pcre, builtin_lzma, cintex, explicitlink, fftw3, genvector, mathmore, memstat, opengl, python, reflex, shadowpw, shared, ssl, tmva, x11, xft.
Which of them do we need? I am aware of minuit2, opengl, python; and I understand that fftw3 is definitely not needed. What about all the others.
The following libraries are required for a full ROOT installation.
$ grep Found config.log
Found file /usr/lib/x86_64-linux-gnu/libX11.so
Found file /usr/lib/x86_64-linux-gnu/libXpm.so
Found file /usr/lib/x86_64-linux-gnu/libXft.so
Found file /usr/lib/x86_64-linux-gnu/libXext.so
Found file /usr/lib/x86_64-linux-gnu/libz.so
Found file /usr/lib/x86_64-linux-gnu/libGL.so
Found file /usr/lib/x86_64-linux-gnu/libGLU.so
Found file /usr/lib/x86_64-linux-gnu/libGLEW.so
Found file /usr/lib/x86_64-linux-gnu/libfftw3.a
Found file /usr/lib/x86_64-linux-gnu/libexpat.so
Found file /usr/lib/x86_64-linux-gnu/libz.so
Found file /usr/lib/libpython2.7.so
Found file /usr/lib/x86_64-linux-gnu/libssl.so
Found file /usr/lib/x86_64-linux-gnu/libcrypto.so
Found file /usr/lib/libgsl.a
Found file /usr/lib/libgslcblas.a
Which of them are unnecessary for BornAgain compilation?
History
#1 Updated by wuttke almost 8 years ago
- Status changed from New to Archived
- Assignee set to wuttke
With new CMake built instructions, this is basically done. Most options can be switched OFF. At present, only the following options are advised to be switched ON:
-Dbuiltin_ftgl=ON \
-Dbuiltin_glew=ON \
-Dexceptions=ON \
-Dgviz=ON \
-Dgenvector=ON \
-Dmathmore=ON \
-Dmemstat=ON \
-Dminuit2=ON \
-Dpython=ON \
-Dqt=ON \
-Dshared=ON \
-Dxft=ON \
-Dx11=ON
Remaining question: can we still delete some from this list?