This guide will describe the steps necessary to run AtRIS on the university clusters “caucluster” and “nesh-fe”.
module avail
We get to se what is currently available.
module load gcc5.3.0 module load cmake3.4.3 module load python2.7.11
wget http://ftp.halifax.rwth-aachen.de/apache//xerces/c/3/sources/xerces-c-3.2.2.tar.gz tar -xf xerces-c-3.2.2.tar.gz mv xerces-c-3.2.2 xerces-source mkdir xerces-install xerces-build cd xerces-build cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=../xerces-install -DCMAKE_BUILD_TYPE=Debug ../xerces-source make -j8 make test make install
cd ~/build/ cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DCMAKE_INSTALL_PREFIX=../install -DXERCESC_ROOT_DIR=../xerces-install -DGEANT4_USE_GDML=ON -DGEANT4_INSTALL_DATA=ON ../source/ make -j8 make install
which will tell the compiler to use the previously built xerces-c installation.
mkdir builddir cd builddir cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc .. make -j8
Unfortunately, the two systems use different batch frameworks, so we need to separate these instructions.