| <p>So, icemc has some needs (like Mathmore) and preferably root 6 that aren't installed on kingbeen and unity.</p>
<p>Here's what I did to get icecmc running on kingbee.</p>
<p>Throughout, $HOME=/home/clark.2668</p>
<ul>
<li>Try to install new version fo ROOT (6.08.06, which is the version Jacob uses on OSC) with CMAKE. Failed because Kingbee version of cmake is too old.</li>
<li>Downloaded new version of CMAKE (3.11.0), failed because kingbee doesn't have C++11 support.</li>
<li>Downloaded new version of gcc (7.33) and installed that in $HOME/QCtools/source/gcc-7.3. So I installed it "in place".</li>
<li>Then, compiled the new version of CMAKE, also in place, so it's in $HOME/QCtools/source/cmake-3.11.0.</li>
<li>Then, tried to compile ROOT, but it got upset because it couldn't find CXX11; so I added "export CC=$HOME/QCtools/source/gcc-7.3/bin/gcc" and then it could find it.</li>
<li>Then, tried to compile ROOT, but couldn't because ROOT needs >python 2.7, and kingbee has python 2.6.</li>
<li>So, downloaded latest bleeding edge version of python 3 (pyton 3.6.5), and installed that with optimiation flags. It's installed in $HOME/QCtools/tools/python-3.6.5-build.</li>
<li>Tried to compile ROOT, and realized that I need to also compile the shared library files for python. So went back and compiled with --enable-shared as an argument to ./configure.</li>
<li>Had to set the python binary, include, and library files custom in the CMakeCache.txt file.</li>
</ul> |